#Ammar - charge
1 messages · Page 1 of 1 (latest)
Sure 1 sec
Kinda want to know how to see whether the stripe connect account headers were set correctly.
Can you double check that request ID? Not seeing any results
Sorry in many threads
Looking
Oh
You're using the wrong endpoint
For PI, use: https://stripe.com/docs/api/payment_intents/retrieve
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
No way! I was told that it was backwards compatible.
It's possible I'm wrong
I guess, I would need to store the charge_id instead of the payment_intent_id....
Let me check
Please do thanks.
I think the endpoint you sent is to retrieve a payment intent.
I am trying to retrieve a charge with a payment_intent_id
Yeah based off of testing this isn't possible
You'll have to store the charge then
Or retrieve the PaymentIntent
And get the charge(s) from there
Is it possible to refund a payment_intent from the payment_intent object directly.
With the PHP SDK like $paymentIntent->refund(['reason' => 'Requested by customer']);
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
@old moon I am getting an error "This Transaction has not been reconciled by Stripe and cannot be refunded" what does that mean.
Hi @quiet zenith, I'm stepping in for @old moon as he had to step away. Can you provide the request ID where you are seeing that error?
I can't find the request in my stripe dashboard
Hmm, okay do you have the object ID (either charge or paymentintent) that you are trying to refund that I can look at?
Nevermind. Sorry for bothering you. The issue was on my end.