we are getting when we transfer amout on stripe conncted account
-
hello We have a WooCommerce website, and we are currently using your plugin to accept payments. Now, we would like to transfer a certain amount to our connected Stripe account when capturing a charge. We have done some code for the transfer you can see the below code. $stripe = new \Stripe\StripeClient('sk_test.....'); $transfer = $stripe->transfers->create([ 'amount' => 400, 'currency' => 'usd', 'destination' => 'acct_1NzCDyIIpGG4h0j7', 'transfer_group' => 'ORDER_95', ]);
This is the code for creating a transfer to a connected account. However, when attempting to capture, we encounter the 'not_allowed_on_standard_account' error. It's important to note that our connected account is a custom account, not a standard account. Please review the response provided below. Array
(
[error] => Array
(
[code] => not_allowed_on_standard_account
[doc_url] => https://stripe.com/docs/error-codes/not-allowed-on-standard-account
[message] => Cannot create transfers on behalf of a Standard connected account.
[request_log_url] => https://dashboard.stripe.com/acct_1NxYGfIG8nRx0ZlR/test/logs/req_MkRP3yhVCR7c1v?t=1709098315
[type] => invalid_request_error
)
)
We are encountering the 'not_allowed_on_standard_account' error despite using a custom account for our connected account. Could you please investigate from your end and assist us in resolving this issue?"
I have contacted Stripe support, and they indicated that the issue is not on their end. According to their response: 'As mentioned earlier, I checked the logs on the account, and the reason why the transaction is not going through is due to the Platform being considered a Standard account by your plugin.' Therefore, I am reaching out to you for assistance with resolving this matter.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘we are getting when we transfer amout on stripe conncted account’ is closed to new replies.