#napolean_solo
1 messages · Page 1 of 1 (latest)
HI
- What happens if user removes payment method when a user is on trial? Is there any updation in subscription object?
No if there is no direct update on the subscription
- What happens if payment method is charged but fails? Does it get paused? I know there's a parameter to control end behaviour but i have found this only applies if user has not provided the payment method, what about when user already has payment method provided?
Check the Subscription lifecycle:
https://stripe.com/docs/billing/subscriptions/overview#subscription-lifecycle
- When a user's transaction fails does it redirect to the cancel_url?
In what context exactly ? Are you using Stripe Checkout ?
You can build a webhook integration in order to listen and monitore all these events, betwee:
https://stripe.com/docs/billing/subscriptions/webhooks
in both checkout and customer portal
no cancel_url is just when the customer cancels the session
and not for failure payments
I invite you do these tests using Stripe testing card :
https://stripe.com/docs/testing
so where is the user redirected in cases where the payment fails?
it won't, if they are using Checkout Session they'll just have a failure message
I invite you to do some tests and check this behavior
okay and I am still unclear about the 1st question. If a payment method is added initially to begin trial and then a cheeky customer removes it, what happens?
because nothing is mentioned about it elsewhere in your docs.
during the trial period nothing happens, but after the trial period ends Stripe will attempt to charge the customer if there is no payment method then the subscription status will become incomplete
I invite you to do some tests using Stripe test clocks
okay thanks!