#ggmghoul
1 messages · Page 1 of 1 (latest)
hi! what's the use case here exactly, what are you trying to accomplish at a higher level?
hello
i want to trigger a sub_sched paiement with a fail status
so i can test the webhook functionality i did
which is in case of a fail i send the url situated in the invoice so the client is able to pay that invoice
later i receive a payment intent with success status and i check if the status of the timeline has changed in my db or not
the best option would be to use a Test Clock to advance time for the given customer so that you can progress through the phases of the schedule https://stripe.com/docs/billing/testing/test-clocks
you could add the 4000000000000341 card to the customer, https://stripe.com/docs/testing#declined-payments , and then advance the clock
i'm initially using sepa_debit
does the external url of the invoice trigger a checkout session btw ?
and would the paymentintent.succeeded event from that payment still have the same infos like the failed ?
i mean it's the same invoice so logically it's an update
on the status
no, it's the hosted invoice page which is not the same thing as Checkout