#M Adil

1 messages · Page 1 of 1 (latest)

vapid orioleBOT
ionic cedar
#

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" },
        );
bold oak
#

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

bold oak
#

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"}}

west oriole