#waleed.bin.khalid
1 messages · Page 1 of 1 (latest)
Hello! Do you have an example customer ID or request ID I can take a look at?
Hmm yeah as far as I can see I don't see the Stripe-Account header being passed in - what does your code look like for this?
await stripe.customers.create({
name: req.name,
email: req.email,
payment_method: req.paymentIntent?.id,
invoice_settings: {
default_payment_method: req.paymentIntent?.id
}
},{stripeAccount: "acct_1O0oiwHCR4nrhHsG"});
Are you 100% sure that's the code you're running? Looking at the creation request for cus_OoStQDiVCIUs4J it's passing in an email and a source. - completely different from the code you've sent over
👍