#predeep-si

1 messages · Page 1 of 1 (latest)

fresh patrol
#

Hi there, looking at the screenshot, this is a SetupIntent, this is used to collect the customer's PaymentMethod intended for future payment.

What are you trying to achieve?

toxic prism
#

hi, thanks for the response

some customers are reporting seeing 0 amount in the SCA modal after they add their card info when purchasing a plan from our webapp

fresh patrol
#

This is because for SetupIntent, it only authenticates with $0 during the setup (and if prompted for 3DS, hence why the screen is shown), there is no charge being made at the time.

toxic prism
#

the payment is also made for 0 amount

fresh patrol
toxic prism
fresh patrol
toxic prism
#

one user recently made a successful transaction for the same flow

#

let me share my current implementation flow

#
  • create customer
  • setup intent
  • attach payment method
  • charge the intent

note: we're not using stripe subscriptions in our app

this problem only happening for a few customers

  • after creating intent customer, we're getting the message setup_intent.setup_failed in stripe
shy sorrel
#

yes that can happen, not all 3D Secure attempts succeed, maybe the user failed to complete the challenge. Normal.

toxic prism
#

actually I'm trying to understand the reason behind 0 amount shown in the SCA modal

shy sorrel
#

makoto explained it

#

that's what a SetupIntent is

#

if you use a SetupIntent, the 3D Secure page will have a zero-amount in it

#

so probably what you do is create SetupIntent -> then create PaymentIntent immediatly

toxic prism
#

one user recently bought the plan successfully, using the same flow and the card was a 3D secure one