#steve1337
1 messages · Page 1 of 1 (latest)
Hi
When I programmatically create a subscription and use that payment method I'm greeted w/ a message notifying that the user needs to approve the 3D secure card payment.
In this step, the payment_intent should be inrequires_actionstate, one of the options is to call handle_next_action from stripe js, in order to let the customer complete their payment authentication:
https://stripe.com/docs/js/payment_intents/handle_next_action
Also, I think you can take advantage of this dashboard settings and send customer email with hosted link in order to confirm and complete their payment:
https://dashboard.stripe.com/settings/billing/automatic
Refer to section Manage payments that require confirmation
You mean this setting?
Send a Stripe-hosted link for customers to confirm their payments when required
That actually sounds exactly like what I want - a notification being send automatically to customers that used a 3DS enabled credit card to authorize the transaction
yes correct.
Okay so far so good.
Is there anyway for me to test this in the test environment?
(Once I can confirm this to work. I can make the setting changes in production and this is solved)
Is there anyway for me to test this in the test environment?
In most cases, Stripe doesn't send emails in test mode.
try setting your stripe account email as a custom email while testing and check if for that case you'll receive a test email.
Okay let me try
Alright when I try this locally in the test mode and use a test card number that always requires confirmation
4000002760003184
I can reproduce the same payment status in the dash board
Is this a recurring payment related to subscription ?
could you please share the PaymentInten id?
Our workflow is as follows
- Customer enters payment method: 3DS credit card
- Some time later we create a subscription using that payment method (programmatically via backend API)
You can check the payment and related test data here: https://dashboard.stripe.com/test/payments/pi_3NcQDgGocZcRFGWl1sM2OVve
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Nope but I assume that is due to the test mode not sending mails at all
Yes
Oh wait I didn't save the changed settings. I'll try one more time
okay I did not receive an email even if the setting enabled.
Is there any other possibility to test this use case? It's quite cumbersome to test this w/ our paying customers because sometimes emails will end up in spam or the customer won't reply immediately.
Is there any other possibility to test this use case? It's quite cumbersome to test this w/ our paying customers because sometimes emails will end up in spam or the customer won't reply immediately.
You can't test emails for that use case unfortunately,
You can implement those emails by your integration if you want, but I'm not sure if your emails also will not end up in customer's spam too.