#Zetsuman
1 messages · Page 1 of 1 (latest)
Hi! Can you share the request ID (req_xxx)? Here's how you can find it: 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.
req_Lv7LoTrF02OtZH
How about the request ID of "No such customer" error?
req_NiS2KLcO42b8it
OK. This customer was created in platform, and this request was made on a connected account, that's why you get a error about "customer not found"
You should create a new customer on connected account, and use that customer ID to try again.
There's no API for "cloning a customer", you should just create a new customer.
Ok, what is correct way to create customer on connected account?
Is stripe.create.customer({CUSTOMER_DATA}, {stripeAccount: stripeAccountId})
or the way described in this article https://stripe.com/docs/connect/cloning-customers-across-accounts?
{
customer: '{{CUSTOMER_ID}}',
},
{
stripeAccount: '{{CONNECTED_ACCOUNT_ID}}',
}
);```
Ok, when I try to use this api I have an error "The customer must have an active payment source attached."
Request ID?
req_Lv7LoTrF02OtZH
Sorry I sent the wrong code
it should be
{
name: "XYZ"
},
{
stripeAccount: '{{CONNECTED_ACCOUNT_ID}}',
}
);
let me try, I think I use this way and also have an error "No such customer"
I'll try and if have such error will send you request ID
Ok?
This request will create a customer, so I don't see why you'll get a 'No such customer" error.