#Ammar - charge

1 messages · Page 1 of 1 (latest)

old moon
#

Can you share the request ID?

quiet zenith
#

Sure 1 sec

#

Kinda want to know how to see whether the stripe connect account headers were set correctly.

old moon
#

Can you double check that request ID? Not seeing any results

quiet zenith
#

req_MLs8dnvOdrRprC

#

apoligies it was an O instead of a 0

#

Did you find it?

old moon
#

Sorry in many threads

#

Looking

#

Oh

#

You're using the wrong endpoint

quiet zenith
#

No way! I was told that it was backwards compatible.

old moon
#

It's possible I'm wrong

quiet zenith
#

I guess, I would need to store the charge_id instead of the payment_intent_id....

old moon
#

Let me check

quiet zenith
#

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

old moon
#

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

quiet zenith
#

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']);

old moon
quiet zenith
#

@old moon I am getting an error "This Transaction has not been reconciled by Stripe and cannot be refunded" what does that mean.

manic wyvern
#

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?

quiet zenith
#

I can't find the request in my stripe dashboard

manic wyvern
#

Hmm, okay do you have the object ID (either charge or paymentintent) that you are trying to refund that I can look at?

quiet zenith
#

Nevermind. Sorry for bothering you. The issue was on my end.