#Carlos Mascarenhas-subscription-renewal

1 messages · Page 1 of 1 (latest)

weary lion
silent pier
#

I have set up my dashboard to unsubscribe immediately whenever payment fails

#

Statuses are requiring user action, but shouldn't you unsubscribe anyway?

weary lion
#

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?

silent pier
#

yes

#

sub_1KHSmGANR34g5yeQx9KkGdVY

weary lion
#

Thanks, I'm pulling that up on my end.

silent pier
#

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"
                }
            },
weary lion
#

Ah, those values in the next_action field indicate that the customer will need to complete a 3DS flow.

silent pier
#

in that case which library would i use?

#

confirmCardPayment?

weary lion
silent pier
#

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

weary lion
#

Based on your account settings, those payments will try to get the user to complete the authentication for 15 days before failing.

silent pier
#

What happens if I activate 3D Secure?

#

I'm already using it when I call confirmCardPayment

weary lion
#

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

silent pier
#

ok

#

Thanks Meeseeks, you completed your task hahah

weary lion
#

Hehe, Hooray!!!