#Ish-checkout-integration

1 messages · Page 1 of 1 (latest)

cunning rapidsBOT
latent hemlock
#

Hello 👋
The failed transaction is usually reflected on the PaymentIntent associated with the Checkout and not on the Checkout Session itself

#

so it shouldn't be any different than what you see for successful checkout

timid widget
#

I am not using PaymentIntent APIs any where

#

I am using "createCheckoutSession" and then redirect in FrontEnd . And then successURL is my serverside URL where in I call "retrieveCheckoutSession" API to see the payment status

#

In this flow how do I know if payment failed

#

payment_status values will be paid and unpaid only is it

latent hemlock
#

Oh you might be using legacy checkout
Let me take a look, can you share your account ID?

timid widget
#

is it advisable to use them ?

#

I am testing using test account only

#

I am in the implementation phase

latent hemlock
timid widget
#

There are 2 tabs . one is "PrebuiltCheckout Page" and another one is "Custom Payment Flow"

#

"Prebuilt Checkout Page" uses ld legacy ones

#

and Custom Payment Flow uses "Payment Intent" right

latent hemlock
#

"Prebuilt Checkout Page" also uses PaymentIntent underneath

The difference is that prebuilt checkout flow let's you integrate with Stripe hosted payment page vs "custom flow" where you use Stripe Elements and build your own page

#

Can you share your account ID so that I can make sure you're running the legacy checkout?

sleek marsh
#

Ish-checkout-integration

timid widget
#

ok

#

Where can I find the account id

#

in developer portal

#

I am in Test mode

sleek marsh
timid widget
#

I did not add any account details

#

So I dont think so I have one

#

because I couldnot see anything like that

sleek marsh
timid widget
#

req_o4DPP4JjEcCJmf

#

acct_1NDqHEFpZTwKYHJd

#

Hey sorry

#

I got the id

sleek marsh
#

Okay so yes you do use Checkout. I read the exchanges but I don't really understand what your exact question is and what problem(s) you are experiencing

timid widget
#

Am I using legacy one ?

#

I got a sessionId and sessionURL. I did the payment using 42424242424242 . Its all successful

#

When I retrieve the session, using sessionID , I got the paymentStatus as paid

#

How do I check error scenarios and what will "retrieveSession" error responses will be

sleek marsh
timid widget
#

ok Done

#

Am i using right API

#

will it be deprecated in future