#ggmghoul
1 messages ยท Page 1 of 1 (latest)
Hi there!
So you created a subscription schedule, which created a subscription with a PaymentIntent, and you want to cancel the PaymentIntent? What's the status of the PaymentIntent?
hi
yes i created a subscription schedule
and i want to can cancel one of the payment intents in case it fails
for example my schedule contains 11 items
the first succeded that's fine
but the seconde failed for a reason
i want to cancel it and pass to the third when the time comes
What is "the first" and "the second"? Are you talking about invoices?
If the second invoice fail, why don't you retry the payment? We have plenty of settings in the dashbaord for this: https://dashboard.stripe.com/settings/billing/automatic
yes i know i can retry but in my case i sent an email to the user so he can pay per card for example
in case his payment goes well i need to skip that invoice as you mentionned and go to the next
i can't really describe every detail exactly cause appearently the stripe is so wide xD i'm still working on understanding the features
but i try to describe as much as i can
in case his payment goes well i need to skip that invoice as you mentionned and go to the next
I don't understand, if the payment of the second invoice worked, what do you want to skip that invoice?
Can you try to give me a concrete example, step-by-step, of what you want to achieve? Something like:
- Customer starts a $10 monthly subscription
- They pay the first invoice
- The second invoice fails so...
- ...
- Customer starts a $10 monthly subscription
- They pay the first invoice
- The second invoice fails so...
- i send him an email so he pays with card
5.the payement with card ends with success
6.i skip the seconde invoice in the schedule and pass to the third
In step 4, did the customer paid the second invoice?
And what does it mean to "skip the second invoice"?
okay i get it now why it's not clear to you
i'll explain
when step 3 happens
i generate a payment link and with the amount of the invoice
and send it to the client because mainly the schedule payment method is with IBAN
๐ taking over for my colleague. Let me catch up.
you shouldn't do it like this, instead you should be using the Hosted Invoice Page
please read more about this here https://stripe.com/docs/invoicing/hosted-invoice-page
and if you have any question feel free to come back ๐
okay thank you i'll check it out