#steve1337

1 messages · Page 1 of 1 (latest)

tranquil shuttleBOT
magic moat
#

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 in requires_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

flint plinth
#

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

flint plinth
#

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)

magic moat
#

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.

flint plinth
#

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

magic moat
#

Is this a recurring payment related to subscription ?

#

could you please share the PaymentInten id?

flint plinth
#

Our workflow is as follows

  1. Customer enters payment method: 3DS credit card
  2. Some time later we create a subscription using that payment method (programmatically via backend API)
magic moat
#

Thanks for sharing, checking...

#

And now you didn't received an email ?

flint plinth
#

Nope but I assume that is due to the test mode not sending mails at all

magic moat
#

Yes

flint plinth
#

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.

magic moat
#

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.

tranquil shuttleBOT
flint plinth
#

Okay I'll reach out to my accountant to check if there is anything else that we can do that would not require us to check this on our live env w/ paying customers.

#

Thx for now