#Kasuni
1 messages ยท Page 1 of 1 (latest)
Hello ๐
We have some test cards here that can be used to trigger 3DS
https://stripe.com/docs/testing#authentication-and-setup
Hi i used a payment method which used this card - 4000002500003155 , but after payment submit , i couldn't see the payment intent succeeded event.it is showing payment_intent.requires_action event lastly.
what i want to do is record the event after charge is received from the card
can you help me with this?
Can you share the PaymentIntent ID?
Ah gotcha. How exactly did you store the PaymentMethod?
Looks like you created a SetupIntent first and then generated a PaymentMethod
And then used the PaymentMethod (pm_xxx) to create another PaymentMethod?
1.firstly i create a customer
2. then create a setup intent to that customer
3. after that confirm setup intent and go the payment method
yes while i am paying from stored card i am cloning payment method
to connect platfrom
Gotcha. Also looks like you're not passing off_session: true when creating the PaymentIntnet
oh is that required?
Is your customer on-session for this payment? If not, then yes that's required
does that help @umbral oriole ?
Hey i am checking
๐
Hi it was worked ,after putting off_session true
can you bit explain what has happend if customer is on sesion?
If you don't specify on-session/off-session then we default to customer being on-session which means that if 3DS was triggered then customer would be around to complete the authentication.
If you set off-session that means customer isn't around so we mark this payment as merchant-initiated transaction which tells the issuers/networks to not trigger 3DS auth if not required.
More info here
https://stripe.com/docs/payments/setup-intents#:~:text=For users impacted,and your customer.
can we test on session customer payment with 3d secure ?
Can you share the PaymentIntent ID for this one?
Ah so in this case, you're setting off_session: true but the PaymentMethod does need 3DS auth to complete the transaction but since you're performing server-side confirmation, there's no way for your customers to authenticate really. So the payment method is getting declined.
You'll need to bring your customers back on-session and confirm the PaymentIntent client-side so that they can perform 3DS auth
You can
You'll return the PaymentIntent's clientSecret to your client-side code and then use Stripe.js to confirm the Payment
Thank you i will check ๐
๐