#Zetsuman

1 messages · Page 1 of 1 (latest)

broken ridgeBOT
trim laurel
robust crest
#

req_Lv7LoTrF02OtZH

trim laurel
#

How about the request ID of "No such customer" error?

robust crest
#

req_NiS2KLcO42b8it

trim laurel
#

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.

robust crest
trim laurel
#
  {
    customer: '{{CUSTOMER_ID}}',
  },
  {
    stripeAccount: '{{CONNECTED_ACCOUNT_ID}}',
  }
);```
robust crest
#

Ok, when I try to use this api I have an error "The customer must have an active payment source attached."

trim laurel
#

Request ID?

robust crest
#

req_Lv7LoTrF02OtZH

trim laurel
#

Sorry I sent the wrong code

#

it should be

  {
    name: "XYZ"
  },
  {
    stripeAccount: '{{CONNECTED_ACCOUNT_ID}}',
  }
);
robust crest
#

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?

trim laurel
#

This request will create a customer, so I don't see why you'll get a 'No such customer" error.

robust crest
#

Oh, I found!
I forgot to pass a stripeAccount to stripe.charges.update to update py_ object

#

Thank you for your time!