jaroslavhorak PRO said 9 months ago on Embedding Stripe Checkout :
Hi,
shouldn't be in checkouts_controller.rb
Order.create(session_id: @session.id, stripe_checkout_id: @session.id)
instead of
Order.create(session_id: session.id, stripe_checkout_id: @session.id)