#Jérôme-subscription
1 messages · Page 1 of 1 (latest)
Hi 👋 do you have the subscription ID (sub_XXX) of the subscription that went into the incomplete status?
Thank you so much, yes I do, you need it ?
Yes please, I'll pull it up on my end and take a closer look.
Ok : sub_1Jya2JAuZCAu2YyVc9wQrzY1
Thanks, still digging.
What I'm seeing so far, is that the subscription was created. An invoice was then created for the first payment, but that invoice expired before payment was completed so the subscription ended.
Yes it was created, but the subscription should be active as usual, I don't understand why payment is not complete ?
Apologies for the delay, I'm still looking into this.
No problem 😀 thank you
Based on what I'm seeing, the payment needed to go through 3DS verification, but I'm not seeing that this was actually completed.
It's strange because 3DS verification has been done successfully, this problem happened twice with two different accounts
@round lagoon I'm taking over for @silver saffron here who has to step away
The invoice in_1Jya2JAuZCAu2YyV75qSlBcU associated with the subscription you shared was never paid
When you create a subscription, the first invoice needs to be paid within 24h or the incomplete subscription expires
Hi and thank you, I understand but in my request the default param for a subscription is charge_automatically, when I subscribe a customer his default card should be debited and the subscription should switch to active
Sorry, I mixed up questions here, one sec
no problem 😉
Sorry about that @round lagoon -- confused myself 😅
Ok so looking at this i do see you have the PM setup with a setup intent that succeeded
But the payment for the subscription's first invoice went to requires_action
Ha, and where I can change this param requires_action, in my subscription request or my dashboard ? I would like to check this param on online doc but stripe.com is down 😕
Well in the subscriptions creation response you can see it in incomplete -- if you expand the latest invoice and payment intent you can inspect the payment intent status and use it to complete the payment, as described here:
Since you did have the payment method set up for off session payments, you can also try creating the subscription as off session:
https://stripe.com/docs/api/subscriptions/create#create_subscription-off_session
but you need to make sure to handle these authenticate requirements regardless, as the issuer can always ask for it at their discretion.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
What I don't understand is that the 3D secure window opened and worked, if this is the action that was required. What I could do is change the invoice to "Paid" just after the request to force the debit, otherwise try this off_session parameter
hello, catching up here, one second
ok let's reset a bit
What I don't understand is that the 3D secure window opened and worked, if this is the action that was required.
where did this happen? On the first SetupIntent that you used on the PaymentMethod?
Hi, thank you
my customer got a default credit card, and no subscription
and when i subscribed this customer as usual, the subscription become incomplete instead of Active
but i think I should try this param : off_session because my customer can record a credit card and subscribe the next week
well lets take a step back again
how did you do this:
my customer got a default credit card, and no subscription
I imagine you did this through a SetupIntent, right?
and you did the whole 3DS authentication then too, right?
Yes of course, he record a card throw checkout/sessions with Setup param
then 3D secure is calling, and work fine
the subscription is a next step
ok I'm following on, so when is the Subscription created? Do you create that immediately after Checkout is completed by the customer?
no he can be later, several days for example, it's never immediately
ah ok following along still, do they arrive in your payment page to do it? or do you automatically create the Subscription for them n days later, like automated?
They have a button "Subscribe", they can push it when they are ready to paid
and they are ready to engage, so it's not automatic
got it so
technically that qualifies as an "on session" Subscription
in which case, the 3155 card or any other 3DS card would still prompt for authentication in test mode, as the 3155 card only works for "off_session" payments, i.e. it won't require 3DS if it was previously set up
so you can use the "off_session: true" param when creating the Subscription in your case and it should NOT ask for authentication and paymetn should succeed
but really, in your scenario is technically on_session and not off_session
OK, so when a customer get subscribe using a record credit card, I have to add on_session: true in my subscribe request