Sha256: 4416b401a0d15df6e398fc972a1e95190a6ea5f16803e130f8f338dfbc0b765f

Contents?: true

Size: 551 Bytes

Versions: 1

Compression:

Stored size: 551 Bytes

Contents

Spree::Core::Engine.routes.draw do
  # route to a deprecated controller, will be removed in the future:
  post '/stripe/confirm_payment', to: 'stripe#confirm_payment'

  # payment intents routes:
  post '/stripe/create_intent', to: '/solidus_stripe/intents#create_intent'
  post '/stripe/create_payment', to: '/solidus_stripe/intents#create_payment'

  # payment request routes:
  post '/stripe/shipping_rates', to: '/solidus_stripe/payment_request#shipping_rates'
  post '/stripe/update_order', to: '/solidus_stripe/payment_request#update_order'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
solidus_stripe-4.0.0 config/routes.rb