#Carlos Mascarenhas-subscription-renewal
1 messages · Page 1 of 1 (latest)
Hi there 👋 have you looked at the associated invoice and payment intent, what status are they in right now?
Also in your dashboard, what do you have your subscription settings configured as for failed payments?
https://dashboard.stripe.com/settings/billing/automatic
I have set up my dashboard to unsubscribe immediately whenever payment fails
Statuses are requiring user action, but shouldn't you unsubscribe anyway?
Probably, just wanted to make sure the payment hadn't some how succeeded. Do you have the Subscription ID (sub_XXX) of a subscription where you saw this?
Thanks, I'm pulling that up on my end.
I already solve
Thank you for your help
What is it for?
"next_action": {
"type": "use_stripe_sdk",
"use_stripe_sdk": {
"source": "src_1KHUIDANR34g5yeQi3H9d7Iy",
"stripe_js": "https://hooks.stripe.com/redirect/authenticate/src_1KHUIDANR34g5yeQi3H9d7Iy?client_secret=src_client_secret_vU5jmEPFdkgD2lLd3FtqpvnA&source_redirect_slug=test_YWNjdF8xSnljRllBTlIzNGc1eWVRLF9LeFA2WVhTaHpWRnF1cmJEMmJ1M1FQelBjM2kzRGJV0100Q6SnoDdP",
"type": "three_d_secure_redirect"
}
},
Ah, those values in the next_action field indicate that the customer will need to complete a 3DS flow.
Yes, you'll want to bring your user on-session, and then use stripe.confirmCardPayment to allow our Stripe JS library to handle the 3DS flow.
https://stripe.com/docs/js/payment_intents/confirm_card_payment
ok
Can you take a look at this invoice?
in_1KHSn7ANR34g5yeQCkZXS2qG
The image says:
Reminder to complete payment will be sent within 3 days.
A payment of BRL 100.00 has been initiated that requires another action from the user.
The invoice has been finalized.
.
If the user does nothing, the subscription cancels after how long? On my dashboard I set it to not have new payment attempts
Based on your account settings, those payments will try to get the user to complete the authentication for 15 days before failing.
That is controlled by these settings in your dashboard:
https://dashboard.stripe.com/settings/billing/automatic
What happens if I activate 3D Secure?
I'm already using it when I call confirmCardPayment
That top toggle there doesn't exactly enable 3DS (the label can be a bit confusing) it starts requesting 3DS explicitly based on the configuration of radar rules. 3DS is always enabled and we request the user complete it whenever the bank requires it.
I just took a closer look at the test card that you're using for that last invoice you provided, and it's a card that will always require authentication, ends in 3184:
https://stripe.com/docs/testing#regulatory-cards
Hehe, Hooray!!!