#-cypher_checkout-3ds
1 messages ¡ Page 1 of 1 (latest)
đ 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.
- -cypher_api, 3 days ago, 83 messages
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?
thank you very much nobs, yes this is the one right before that payment method one "req_Vxl6x6ZeXhGDUl"
Also, is there a specific guide that you are following to build your integration?
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
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
Sorry, this guide
https://docs.stripe.com/checkout/quickstart
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
This is a diagram of how events get triggered from a payment flow
https://docs.stripe.com/payments/paymentintents/lifecycle
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
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
I think the best thing to do here is to test your integration in a test/sandbox environment, using a test card that simulated 3DS
https://docs.stripe.com/testing#authentication-and-setup
This way you can make sure your integration is handling everything properly (other test cards can be used to test failures, declines, etc.)
thank you very much
Of couse, glad to help!