#James Salcedo

1 messages · Page 1 of 1 (latest)

sonic shoalBOT
void pewter
#

👋 How can I help?

chilly ice
#

Hello! So I am trying to work with Stripe's prebuilt checkout page. I am building a shopping cart app, and would like to integrate it with Ruby on Rails instead of Sinatra, and React.js on the front end. If I am creating some models, how would those models interact with the Checkout code? For example, would I be able to make a Product model that would link with the products I create on the Stripe page?

void pewter
#

Thanks for waiting! Discord is busy now

#

Ruby on Rails and Sinatra are just different frameworks and it shouldn't affect Stripe integration.

Your server will create the product and prices via API or Dashboard first and store the price ID that maps to your own product information in your database. When the customer selects the product to purchase, your system will find the corresponding Stripe price ID, which can then be used to create a Checkout Session

chilly ice
#

Thanks for the help and resources, I appreciate it! I will go through all of this and if I am still having issues I will reach back out!