#arden-malikb_error

1 messages · Page 1 of 1 (latest)

undone tangleBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1408359832968233020

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

low echo
#

👋
Let's narrow this step by step.

twin wadi
#

The process is like.

I load the Instant Payouts promotion component initially when the login in the manager panel. We are showing it initially. I have done the code in a sperate componet. From the backend I get rhe publishable key and the client sectet key. Based on it.

  1. I load the stripe js dynamically.
  2. Then I load the stripe connect js dynamically.

After the successfull load Iinit the stripe connet.
like this.

const stripeConnect = (window as any).StripeConnect.init({
publishableKey: this.stripeAppId,
clientSecret,
});

Then i create from the stripe connect.

this is all from the front end side but when I see in the network. It calls https://api.stripe.com/v1/account_sessions/claim
And this API fails from the stripe giveing message like
message: "Connected account impersonation is not allowed on this endpoint."
type: "invalid_request_error"

twin wadi
low echo
#

Just to make sure I'm following you correctly, what guide are you following exactly ?

low echo
#

Can you share your platform Account Id and your connect account Id ?

twin wadi
#

Give me a minute please

low echo
#

Sure!

twin wadi
#

Thanks

#

The Account that is connected is in the US

#

Can you help me test this Instant Payouts promotion on the localhost with the sandbox account, where I do not need to check the availability for the country and balance?

low echo
twin wadi
#

Do you want sankbox account Id or live ?

low echo
#

The accounts that you are facing an issue with

twin wadi
#

acct_14qsRtCSWuqAS4eo

here is the connected Account ID

low echo
#

And this is your platform account: acct_2MLFJTJPX8ytdQCISACY ?

#

These both accounts are in the samee country US, wich is a supported country for instant payouts

twin wadi
#

Yes this is our platform account id

twin wadi
twin wadi
#

We have checked using the balance API and we have verified from the InstantAvailable which the balance API returns

low echo
#

Checking...

twin wadi
#

For the testing purpose can you please help me how can I test this in my local

#

So that i can implement this perfectly

#

Using the testing keys

#

Or the sandbox account

#

Without considering the eligibility just for the testing purpose

low echo
#

You should create a connected Account in the same country as your platform Account (US)

#

Then once, the instant_available.net_available is the connected account’s instant balance is >0, then you can initiate the instant payout following one of these options

twin wadi
#

But the one which I gave was the live connected account in US itself....

#

But still I am unable to render the instant payouts

#

It had available funds in it

low echo
#

Yeah, for some reason, the platform account isn't allowed to initate an instant payout on behalf of the Connected Account

twin wadi
#

Where should I check it?

#

Weather to allow or not

low echo
#

I'm suspecting that the Oauth connection, was established a long time ago (back to 2018), but I'm not sure honestly

twin wadi
low echo
twin wadi
low echo
#

This issue with the Connected Account acct_14qsRtCSWuqAS4eo, will require an in-depth investigation from our team in order to figure out the root cause. Can we ask that you write in to us via https://support.stripe.com/contact, providing as much detail and context as possible (you can also reference this thread and the request Id req_eZR0RNbsBd5xhl).

low echo
twin wadi
#

Can you transfer this thread to one of your developers ??

#

So that I can get some more information regarding the implementation and the errors

low echo
#

I'm afraid that my team isn't able to assist you further regarding the issue with your Connected Account acct_14qsRtCSWuqAS4eo, our Support team needs to investigate further and see why your platform account doesn't have enough permission to request instant payout on behalf of your Connected Account

twin wadi
#

yes please and give any guidance or next steps that your team can provide

low echo
twin wadi
#

Ok thank you for your help