#geimsdin-payment-intent
1 messages · Page 1 of 1 (latest)
You can enable this and we will send email to them
otherwise you will need to build a client-side confirmation page and get your customer online to that page
The client insert the data live already but because of the subscription I have to confirm few minutes later by API
If I create that page, how can I link the payment to my scheduled subscription?
Well yes, you can do anything with the your page I guess?
I guess too... but how to create the payment object in my page so it automatically charges that specific subscription? I use the same secret?
Yes using the same Payment Intent secret
I create a setupintent and I have that secret
If I check the attached payment Intent it has no secret stored
No sorry
it is client_secret
So I create a payment object from that client secret and automatically will charge the subscription
right?
I believe you can use the client secret directly to supply to client side
Client side always expect client secret
When a subscription schedule tries to pay a second or third phase, which event and object I receive in webhook in case of payment succesful or not?
When the start_date of a phase is reached, subscription schedule will update the subscription and generate the invoice. When the payment of the invoice is made successfully, invoice.paid will be sent