#batz_api
1 messages ¡ Page 1 of 1 (latest)
đ 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/1435313120947081447
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- batz_api, 21 minutes ago, 45 messages
Hi there
It sounds like you are trying to do a "grandchild" flow.
Which is prohibitted.
You can only create charges on your Connected Accounts -- not your Connected Accounts' Connected Accounts.
Sorry i dont fully follow on that
Can you provide the request ID for the error you are seeing?
Apologies where can i find that
You can look in the logs in your Dashboard (https://support.stripe.com/questions/finding-the-id-for-an-api-request) or it is in the response header when you make the API request
It looks like req_xxxxx
All good
so
its actually not even reaching
because the payment intent fails to create
so its stopped before the request is sent fully
Unless you are throwing that error from your own code then it is coming from our API (which it is).
And that error is occurring on the attempted PaymentIntent creation
If you provide your account ID I can also help locate the request
well actually heres the problem i suppose. I am using a plugin used for most woocommerce stores Stripe Woocommerce Payment Gateway and I am actually trying to edit the headers of the request before its sent fully to a connect account id not our main account ID as the plugin doesnt natively support connect accounts.
Yeah that won't work
This is the connect account ID: acct_1SNDjgPJuTutPjzn and this is the main account id acct_1CDWVwA7kW3XX0IW
As I said above... grandchild access isn't allowed.
What you are trying to do right now is have WooCommerce make a request on your Connected Accounts
That's not possible as WooCommerce is your platform.
You need to do it directly in your own API request
okay understood so i would need to ditch the plugin and when the woocommerce checkout process happens some how take over and do my own payment intents ?
Or how do you think you would do that ?
Yep pretty much. I'm not intimately familiar with how the WooCommerce flow works but mostly at the point where your customer is paying you need to control the collection of the payment method and the creation of the PaymentIntent via your own integration (using your API keys directly).
Sure thing
have a great day.