Marco De Rossi said about 3 years ago on 3D Secure 2 Credit Cards and Stripe Checkout :
  I finally made it work. I created a new attribute in the user table called plan_price and update it when the customer is created with the amount_total from the session object. So the price will determine your subscription plan. I don't know if there are any security concerns with this approach. I am just a Newbie  with ruby on rails