Class: Spree::PaywayV2CardPopupsController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- Spree::PaywayV2CardPopupsController
- Defined in:
- app/controllers/spree/payway_v2_card_popups_controller.rb
Instance Method Summary collapse
Instance Method Details
#load_payment ⇒ Object
16 17 18 |
# File 'app/controllers/spree/payway_v2_card_popups_controller.rb', line 16 def load_payment @payment = ::Spree::Payment.find_by(number: params[:payment_number]) end |
#show ⇒ Object
6 7 8 9 10 11 12 13 14 |
# File 'app/controllers/spree/payway_v2_card_popups_controller.rb', line 6 def show if @payment.present? = { app_checkout: true } @client_redirect = ::Vpago::PaywayV2::Checkout.new(@payment, ) end end |