#M Adil
1 messages · Page 1 of 1 (latest)
that generally means you are not making the request on the right account
so for example here you probably need to pass stripe_account when creating the ephemeral key as well since you're using Connect.
const ephemeralKey = await stripe.ephemeralKeys.create(
{ customer: customer.id },
{ stripeAccount:"acct_xxx", apiVersion: "2022-11-15" },
);
thank you so much @ionic cedar I think I was missing this property.. Lemme try
And one thing I want to charge app_fee also. How i can charge the fee and send to other stripe account @ionic cedar Kindly help me
Thanks @ionic cedar No Such Customer error resolved, but I am getting new error now
{"error": {"code": "Failed", "declineCode": null, "localizedMessage": "No such payment_intent: 'pi_3MjLU3Q8ujbEf2kC16Gw9JIH'", "message": "No such payment_intent: 'pi_3MjLU3Q8ujbEf2kC16Gw9JIH'", "stripeErrorCode": "resource_missing", "type": "invalid_request_error"}}
Can you share the ID (req_xxx) of the failing API request? https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.