#Djordje

1 messages · Page 1 of 1 (latest)

rustic lodgeBOT
slender leaf
#

Hello 👋
What issue are you having?

pallid lichen
#

Hi .. let me explain the situation it self first ... we creating payment through Stripe Dashboard and then we want to use webhook to catch up one of the events ... (and I believe chrage.succeed could help with that) ... and then we want to transfer that money to connected account ..so I created code like this:

var connectedAccount = charge.Currency.ToLower() == "usd"
? ConfigurationManager.AppSettings["StripeCOD:ConnectedAccount:US"]
: charge.Currency.ToLower() == "cad"
? ConfigurationManager.AppSettings["StripeCOD:ConnectedAccount:CA"]
: string.Empty;

        if (connectedAccount == string.Empty) throw new ArgumentException("Wrong currency");

        var options = new TransferCreateOptions
        {
            Amount = charge.Amount,
            Currency = charge.Currency,
            SourceTransaction = charge.Id,
            Destination = connectedAccount,
        };
        var service = new TransferService(_stripeClient);
        await service.CreateAsync(options);

and I believe .. it should work but when I run it I got this message from stripe:

"Message: Funds can't be sent to accounts located in US because it's restricted outside of your platform's region; please contact us via https://support.stripe.com/contact for details. | ErrorCode: transfers_not_allowed | Decline Code: "

what we should do to fix this issue ?

slender leaf
#

The error code is quite clear, no?
Transfers are not allowed to US which is outside your platform region.

What country is your account located in?

pallid lichen
#

US

#

eventId: evt_3NhxakAzfKxAhBOW2leIX0R7

#

where I can see my platform region in Stripe ?

slender leaf
#

Your platform account is based in canada
acct_1M9ZrLAzfKxAhBOW

pallid lichen
#

where do you see that that account is based in canada ?

#

I just see login session : Serbia

slender leaf
#

Are you sure you're logged into the right account?
The request you shared was made from the account acct_1M9ZrLAzfKxAhBOW

pallid lichen
#

yes

#

Livingston COD ...

slender leaf
#

The request was made from livingston cod yes

#

On my end it shows the account is registered in canada

pallid lichen
#

I'm not the owner of that stripe account (Livingston) .. I'm just programmer ... so what we should do in order to make it work ?