#kylemarlin - incomplete subscriptions
1 messages · Page 1 of 1 (latest)
You'll generally want to use the 0341 test card for testing various subscription renewal failures, you can attach it to a customer but all payments will decline
How are you creating these subscriptions?
You need to make sure you confirm the payment for the invoice:
https://stripe.com/docs/billing/subscriptions/build-subscription?ui=elements#complete-payment
This is necessary to handle payment authentication
All cards payments for India-issued cards must be authenticated:
https://support.stripe.com/questions/rbi-regulations-affecting-payments-from-india-issued-cards
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
It would appear we create the customer via the API, and then create the subscription via the API (sending the customer, plan, quantity, cancel_at_period_end (false), default_tax_rates and proration_behavior).
Sure -- you still need to manage payment authentication for indian cards
You may want to use this flow for those customers instead
Is there any documentation to handle this from the backend? We handle all our communication with Stripe using the node.js API.
Handle what, exactly?
authentication need to be done client-side with the customer on session
Actually looks like I answered my own question. https://stripe.com/docs/api/subscriptions/create
It looks like we just should set allow_incomplete to error_if_incomplete.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
After reading more about the India changes, it sounds like we couldn't use our backend only solution, as the customer wouldn't be on the site, if I'm understanding this correctly.
Yes, error_if_incomplete should have the response error instead, if that's what you want, but I was trying to explain how you can go about resolving the incomplete status to get the subscription active
Correct - authentication is required by regulation, the customer must be online to authenticate payment in your client app, currently
Ah okay, that was the part I wasn't understanding. I'll pass along the information here to my higher-ups. You've been very helpful. Thanks so much!