#jitendra

1 messages · Page 1 of 1 (latest)

hot harnessBOT
fleet bay
stiff cove
#

this is my payment flow for off_session payment

  1. Search customer by email and if not exist then create customer
  2. Search customer payment methods and if not exist then create a new payment method
  3. Create new paymentIntent with above customer id and payment method id
  4. For SEPA payment i am sending mandate_data, so Stripe will create new mandate for this payment method
  5. Now suppose next year when i try to do payment and follow same steps 1 to 4 then i not want to create a new mandate i want to use same mandate id which is created on step 4
#

i am taking sepa mandate offline through signed form from customer

fleet bay
#

Ok, so you are not collecting mandate online?

stiff cove
#

No

fleet bay
#

Ok. you can listen to the mandate.updated event to get the mandate object ID. You should save it in your own DB and use when it creating a new off-session PaymentIntent.