#-cypher_checkout-3ds

1 messages ¡ Page 1 of 1 (latest)

weary aspenBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1434939821393969202

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

hardy wolf
sick moat
#

Hi there, looking into this now

#

The request you shared is for creating a payment method. Can you share a request ID for one for creating one of the Checkout Sessions?

hardy wolf
#

thank you very much nobs, yes this is the one right before that payment method one "req_Vxl6x6ZeXhGDUl"

sick moat
#

Also, is there a specific guide that you are following to build your integration?

hardy wolf
#

not really, my agent build it based on the stripe docs, but i tried everything

#

one thing that weird i dont know if matter but my post isnt properly in json but the line items look like ```

{
"allow_promotion_codes":
"true",
"cancel_url":
"https://percify.io/dashboard?modal=open",
"customer_email":
"olorunpomig4@gmail.com",
"line_items": {
"0": {
"price":
"price_1SK1AKD5euO8UD6nq2N4rVWL"
,
"quantity":
"1",
},
},
"metadata": {
"isYearly":
"true",
"tier":
"starter",
"userId":
"eb38be1e-332f-449c-9ffb-d925ea30b98d",
},
"mode":
"subscription",
"payment_method_collection":
"always",
"subscription_data": {
"metadata": {
"billingCycle":
"yearly",
"isYearly":
"true",
"tier":
"starter",
"userId":
"eb38be1e-332f-449c-9ffb-d925ea30b98d",
},
},
"success_url":
"https://percify.io/dashboard?upgrade=success&tier=starter",
}

#

these are the events that got fired for the request ids

sick moat
#

Right, I'm seeing those events as well. The payment_intent.requires_action implies that the payment required authentication but was never completed, which resulted in the Checkout Session expiring. You would have to look at how your integration is built to determine if you're handling authentication properly.

Can you explain what kind of flow you are trying to accomplish? You mentioned you were using ui mode hosted, so I imagine your integration would follow closely to this guide
https://docs.stripe.com/payments/checkout/how-checkout-works?payment-ui=stripe-hosted

hardy wolf
#

thats what i was following

#

is there any blueprint for what events should fire in what order, or how to determine if its really just abandoned carts or smth is wrong with maybe payment method attachement

sick moat
#

In this case, if you're seeing the payment_intent.requires_action then it has to be handled in order for the Checkout to complete

hardy wolf
#

and we tried it, in production with promo code

#

and everything is fine

#

handlers / success urls everything works

#

can there be any problem with the actual payment in the 3ds secure or paypal/amazonpay link , on ui mode hosted checkout

#

or would i see that as charge fail event, payment intent fail event

sick moat
#

This way you can make sure your integration is handling everything properly (other test cards can be used to test failures, declines, etc.)

hardy wolf
#

thank you very much

sick moat
#

Of couse, glad to help!

weary aspenBOT