Module: SolidusBolt::SpreeCheckoutController::RefreshBoltPaymentSource

Defined in:
app/decorators/controllers/solidus_bolt/spree_checkout_controller/refresh_bolt_payment_source.rb

Instance Method Summary collapse

Instance Method Details

#before_paymentObject



6
7
8
9
10
11
12
# File 'app/decorators/controllers/solidus_bolt/spree_checkout_controller/refresh_bolt_payment_source.rb', line 6

def before_payment
  SolidusBolt::Users::SyncPaymentSourcesService.call(
    user: spree_current_user, access_token: SolidusBolt::Users::RefreshAccessTokenService.call(session: session)
  )

  super
end