#S60-Cosminacho-installments
1 messages ยท Page 1 of 1 (latest)
Hi there!
How are you managing the instalments plans with Stripe? Are you using our buy now pay later payment method (https://stripe.com/docs/payments/buy-now-pay-later) or using subscriptions?
subscriptions
Got it! Then you should listen to webhook events, for example customer.subscription.updated (to know when the subscription status change) and/or invoice.paid (to know when a subscription invoice is paid).
ok.
what if the use decides to use a different payment method ,(other than the card one )
the one with IBAN for example
is your question how to change the payment method of an existing subscription?
give me a sec,
I will show you an example.
This is card
This is Sepa
how do I know for example if a user wants a refund in the SEPA ? or if the he/she does not have enough money?
will this be triggered by "customer.subscription.updated"
how do I know for example if a user wants a refund in the SEPA ?
What do you mean? If the customer wants a refund, they will probably contact you directly.
or if the he/she does not have enough money?
If there's not enough money the payment will fail, so you will receive ainvoice.payment_failedwebhook event and Stripe will automatically retry the payment based on your settings there: https://dashboard.stripe.com/settings/billing/automatic
Happy to help ๐
you mean the next payment of a subscription?
yes
the best option is to use our new feature called Test Clocks: https://stripe.com/docs/billing/testing/test-clocks
this lets you move subscription forward in time.
yes! what's your question?
so, I started using the test clock function
I like it, but there is an issue with it somehow
so, I made a customer & subscription to test a second payment.
What I am seeing is that as soon as the payment is done, there are other events getting triggered such as "payment_intent.succeeded"
is there a way we can differentiate between them ? ๐
Left is, customer subscription updated
Right is payment_intent.succeded.
there are other events getting triggered such as "payment_intent.succeeded"
that's completely normal. you can see all events that can be triggered for subscription here: https://stripe.com/docs/billing/subscriptions/webhooks#events