#newtreyes

1 messages ยท Page 1 of 1 (latest)

simple frostBOT
wet vessel
#

Hi, @civic kelp

civic kelp
#

Hello again! No, not really, unless you're doing something unusual like using direct charges with Express accounts.

wet vessel
#

Got it

#

Mmmm

#

May I explain the issue we are facing?

civic kelp
#

In a typical scenario the Charge object that would be refunded exists on the platform account, not the connected account, so the connected account doesn't have access to it.

#

Sure.

wet vessel
#

There may be some alternative solution we are not aware of.

#

So, here's the thing: We have a custom connected account that may have some big charges (Ex. $500k charges)

#

In those cases, we won't have that amount in our platform account to be able to process the refund but they will have them in their connected account.

#

Maybe we should try reversing the charge transfer before processing the refund?

civic kelp
wet vessel
#

Right. And we do that. But as far as we understand, the order of the steps is the following:

  1. Money is taken out of the platform account.
  2. Money is reversed from the connected account to the platform account.
#

If that is the case, such refunds would fail.

#

If the order is the opposite, then things could work.

civic kelp
#

Not sure I understand... are you saying you did this and it failed? Can you share the request ID so I can take a look?

wet vessel
#

We haven't yet. We are saying we think it will if the order of the steps is 1 then 2. If the order is 2 then 1, then we should be fine.

#

But we wanted to double check with the experts before we actually try to refund such a charge.

civic kelp
#

I strongly recommend you test this in test mode first. You can try it over and over again there to make sure it does exacty what you expect before trying it in live mode.

wet vessel
#

Yeah, we can give that a shot.

civic kelp
#

But, even so, if you attempted it in live mode and the refund failed what would be the harm in attempting it?

wet vessel
#

We just thought it would be easier to ask

#

But, even so, if you attempted it in live mode and the refund failed what would be the harm in attempting it?

Nothing other than the fact that we would have the client waiting for the refund while we try to find a solution.

#

๐Ÿ™‚

civic kelp
#

It's almost always easier to try something like this in test mode. Your account might have a special configuration, old API version, or some other gotcha that we have no way of knowing about here. Test mode is there to answer these exact questions. ๐Ÿ™‚

wet vessel
#

Sounds good

#

will give it a shot then