Class: NoCheckout::Stripe::CheckoutSessionsController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- NoCheckout::Stripe::CheckoutSessionsController
- Defined in:
- app/controllers/nocheckout/stripe/checkout_sessions_controller.rb
Constant Summary collapse
- CHECKOUT_SESSION_ID_KEY =
Name of the URL parameter stripe uses for the Checkout Session ID.
:checkout_session_id
Instance Method Summary collapse
Instance Method Details
#new ⇒ Object
6 7 8 |
# File 'app/controllers/nocheckout/stripe/checkout_sessions_controller.rb', line 6 def new redirect_to checkout_session.url, allow_other_host: true end |