#ggmghoul

1 messages ยท Page 1 of 1 (latest)

strange turtleBOT
onyx kraken
#

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?

stiff hinge
#

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

onyx kraken
#

What is "the first" and "the second"? Are you talking about invoices?

stiff hinge
#

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

onyx kraken
#

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:

  1. Customer starts a $10 monthly subscription
  2. They pay the first invoice
  3. The second invoice fails so...
  4. ...
stiff hinge
#
  1. Customer starts a $10 monthly subscription
  2. They pay the first invoice
  3. The second invoice fails so...
  4. 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
onyx kraken
#

In step 4, did the customer paid the second invoice?

#

And what does it mean to "skip the second invoice"?

stiff hinge
#

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

magic forge
#

๐Ÿ‘‹ taking over for my colleague. Let me catch up.

stiff hinge
#

hello

#

i'm having some internet issues brb

magic forge
#

you shouldn't do it like this, instead you should be using the Hosted Invoice Page

#

and if you have any question feel free to come back ๐Ÿ™‚

stiff hinge
#

okay thank you i'll check it out