#prasun3663
1 messages · Page 1 of 1 (latest)
Hello @granite perch
I am a developer and I have integrated few Stripe APIs with the application for one of our client.
do you have the request ID that failed?
No
Will it be helpful if the customer ID and card ID are shared?
customer ID is fine
but it would be better to get the request ID
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
or the PI ID
pi_xxxx
Let me check.
Since the payment was failed hence no PI ID was created.
Customer ID: cus_PLpE0Jj81rIIc0
is this a Checkout Session then?
then the request ID would be fine
We are using the following code snippet described in the API document https://docs.stripe.com/api/payment_intents/create
"amount" => $amount * 100,
"automatic_payment_methods" => [
"enabled" => true,
],
"confirm" => true,
"currency" => "usd",
"customer" => $this->customer->id,
"description" => $paymentIntentdescription,
'payment_method' => $this->cardToken->card->id,
"return_url" => url("/return_url")
]);```
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
but this is an off_session PI
you need to follow this doc and in particular the section I linked to https://docs.stripe.com/payments/save-during-payment?platform=web#charge-saved-payment-method
How the said issue will be resolved for this customer?
Yes, correct.
but this means it's an issue with the customer and their bank
basically they must have changed their billing address on file with the bank but not with you
so you have the old billing address which doesn't correspond to the one they have with their issuing bank
But the customer made a payment with the same zip code and other billing details on 10th Jan 2024 without any error.
PI ID was pi_3OX7ZcDmHBYnaTDQ41RcDDfy
But from Feb onwards they are facing the issue while making payment.