#chargeauto_error
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/1304083548873166879
đ 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.
- charge_checkout-embedded, 13 hours ago, 12 messages
Hi there
For context we use stripe connect and also use both card element and stripe embedded form. When we use card elements, we have no issues loading up the iframe and using stripe connect to collect funds on behalf of our clients. But when we use embedded form, we are facing permissions errors.
Endpoint: \Stripe\Checkout\Session::create($session_data, $this->optionsParam);
Data (data is passed as array, below is just json encode of it.):
Session_data
{"line_items":[[{"price_data":{"currency":"USD","product_data":{"name":"Payment Request ID: 9"},"unit_amount":1000},"quantity":1}]],"mode":"payment","ui_mode":"embedded","customer_creation":"always","redirect_on_completion":"never","payment_intent_data":{"setup_future_usage":"off_session"},"metadata":{"model":"PaymentRequestAuthCharge","model_id":"yCkBz5","user_account_id":2186,"conversion_data":"[]","transactions":"{"id":9,"payment_type":"C","currency_symbol":"$","amount":10,"customer_email":"mma.test.ca+s3@gmail.com","is_3ds":0,"payment_status":"Pending"}"},"customer_email":"mma.test.ca+s3@gmail.com"}
Options:
{"stripe_account":"acct_1E377gBaTF4iUNXP"}
{
"error": {
"code": "more_permissions_required_for_application",
"message": "This application does not have the required permissions for this endpoint on account 'acct_1E377gBaTF4iUNXP'. Having the 'read_write' scope would allow this request to continue.",
"request_log_url": "https://dashboard.stripe.com/acct_1E377gBaTF4iUNXP/logs/req_ikk1xDs1H3IcXw?t=1730986767",
"type": "invalid_request_error"
}
}
We need help urgently with this.
hi! to be clear you're building a Stripe App?
like you say you're using Stripe Connect but this seems to be an App instead I think(and Apps can't take payments for accounts, it's Connect platforms that do that)
yes we are a connect platform called ChargeAutomation
but in this example you shared, you're not, you're a Stripe App installed on that account, trying to use your access to create a CheckoutSession, which is not something that's possible.