#BruceWayne
1 messages · Page 1 of 1 (latest)
Hi there!
This ID starts with cs_test_ so it should be a test mode Checkout Session.
hi
However it looks like this specific ID doesn't exist.
cs_test_a1DjN25uA1tuagSygiJmWbBjBcFIN7EuVdW3R0H0outDLIW7xbdOOgAZvw
In real mode, what is it good for?
What do you mean "in real mode"?
real environment
This is a test mode Checkout Session, created with your test API keys.
If you want to create a livemode Checkout Session, you need to use your live API keys.
When I switch to the real environment, will there be such parameters? Checkout Session ID
Yes, when I switch over, will the Checkout Session ID still exist?
I don't understand your question.
Once you use your live API keys, and create a new Chekcout Session, the ID will look like cs_xxx (no test_)
Checkout Session allow you to accept payments from users. You can learn more about it here: https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=checkout
Where can I get the failure message if a customer payment fails
What are you using to accepet payments? Checkout Session or something else?
Checkout Session
For Checkout Session there's nothing to do for failed payment. The Checkout Session itself will display an error message and ask the user to try again.
I get it, it means only the user will receive the failure
Yes. But if you are interested to be notified about failures, you can listen to the webhook event payment_intent.payment_failed
OK,thanks
pi_3NOd2MILBklWVE7i14KCodXa
I will be given this parameter only if the customer pays successfully, right?
This is a PaymentIntent with status: "succeeded", so yes it was succesfull.
But it's possible to have a PaymentIntent object that is not succesful.
OK
HI
When the user pays successfully, I want to query the transaction in the stripe dashboard, how can I query
What do you mean by "query"?
You can view all payments here: https://dashboard.stripe.com/test/payments
pi_3NOd2MILBklWVE7i14KCodXa
How can I find this deal?
Is there anywhere to type it, and search?
I don't see a search function on this page
Yes there is a search bar at the very top of the Stripe dashboard, where you can type any ID
But for questions about the dashboard, you should ask Stripe support directly: https://support.stripe.com/contact
Happy to help 🙂