FEATURE: Add support for 3D Secure payments (#19)

Adds an additional checkout flow to support authentication of payment methods.
This commit is contained in:
Justin DiRose
2020-07-24 15:07:18 -05:00
committed by GitHub
parent 587661fafb
commit 9491f558ea
6 changed files with 153 additions and 37 deletions
+2
View File
@@ -24,6 +24,8 @@ DiscourseSubscriptions::Engine.routes.draw do
resources :products, only: [:index, :show]
resources :subscriptions, only: [:create]
post '/subscriptions/finalize' => 'subscriptions#finalize'
get '/' => 'subscriptions#index', constraints: SubscriptionsUserConstraint.new
get '/:id' => 'subscriptions#index', constraints: SubscriptionsUserConstraint.new
end