#Davaogoods

1 messages · Page 1 of 1 (latest)

tawdry roostBOT
rapid harbor
#

do i need to pass the connect account?

icy flower
#

Sorry don't really follow the question. Do you have an example request id? req_xxxx

rapid harbor
#

this transaction is for a connect account

#

not the main account

#

in short , I need to make a refund to a customer from a connect account

#

is this the one?

icy flower
#

Yes that charge belongs to an express connected account. Probably you are calling this Refund API from your platform account?

#

You would want to use stripe-account header

rapid harbor
#

can u send me the link for the stripe-account

#

thanks

#

I still cant process it

#

heres is my code

icy flower
#

Okie, can you find the request on your request log in Dashboard?

rapid harbor
#

hold on

#

req_hszrnwwv40MKzE

icy flower
#

That's a Get accounts/ request. I thought you had a failed Refund request?

rapid harbor
#

isnt this correct?

icy flower
#

That's req_kjpQ9ch6XlhWXZ

#

okie I still see it hasn't used the stripe account header

#

it is stilled fired from your platform account

rapid harbor
#

its not this header?

icy flower
#

no it isn't. You need to pass in a different block

#

Look at the example here

\Stripe\Customer::create(
  ["email" => "person@example.edu"],
  ["stripe_account" => "{{CONNECTED_STRIPE_ACCOUNT_ID}}"]
);
#

that's different []

rapid harbor
#

hold on

#

ok im getting a different message now

icy flower
#

Yep the error is straighforward isn't it 🙂 The Charge didn't have any Transfer

rapid harbor
#

req_xtlmCfnsHNvsfB

#

so how do i refund?

icy flower
#

remove the reverse_transfer: true

rapid harbor
#

oh

#

finaly

#

Thank you so much

icy flower
#

Sure np!

rapid harbor
#

can we refund only part of the amount?

grim garnet
#

Hi! I'm taking over this thread.

rapid harbor
#

thanks