One instance of Stripe Checkout works, the other gives a Preflight response code of 403
Advertisements I am implementing another instance of the Checkout Session in my app. In my donations controller, the following create action works fine: def create @donation = Donation.create(create_params) if @donation.save if Rails.env.development? success_url = "http://localhost:3000/donations_success?session_id={CHECKOUT_SESSION_ID}" cancel_url = "http://localhost:3000/" elsif Rails.env.production? success_url = "https://www.dbsan.org/donations_success?session_id={CHECKOUT_SESSION_ID}" cancel_url = "https://www.dbsan.org/" end data = { line_items: [{ price_data: { currency:… Read More One instance of Stripe Checkout works, the other gives a Preflight response code of 403