Sha256: 573bfb13635a90cd2204fe3b77bc2b017a24b7542896e4bf6c3ab87f32be10a5

Contents?: true

Size: 582 Bytes

Versions: 5

Compression:

Stored size: 582 Bytes

Contents

# frozen_string_literal: true

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

5 entries across 5 versions & 1 rubygems

Version Path
solidus_stripe-4.4.1 config/routes.rb
solidus_stripe-4.4.0 config/routes.rb
solidus_stripe-4.3.0 config/routes.rb
solidus_stripe-4.2.0 config/routes.rb
solidus_stripe-4.1.0 config/routes.rb