#JLuis-Connect
1 messages · Page 1 of 1 (latest)
thanks orakaro
first that all, I created a connect account and added the others accounts
I can already see the accounts connected to each other
then
I did the first step of this guide: https://stripe.com/docs/connect/cloning-customers-across-accounts#creating-tokens
using the secret api key of platform account.
then I tried to create a paymentIntent trying to add the customer param but I get "No such customer: 'customerId'"
Hi, that guide is a bit old and isn't tailored to PaymentIntent... You mentioned you have completed Step 1, right?
In its flow, you would need to create Customer/PaymentMethod on Platform, then clone to Connected Account then create PaymentIntent on Connected Account, using the cloned Customer and PaymentMethod
can you indicate to me the link or something related to the documentation of this part, please ?
ok, I understand, but, I do not now how to clone the customer to the connected account.
I am going to make a zoom in the first step that you wrote.
For create an user I am using the platform secret api key and fill email, name parameters
it is necessary specify also this object:
var requestOptions = new RequestOptions();
requestOptions.StripeAccount = "acct_1JgsmRFf13vCVNh9";
and pass as second parameter: Customer customer = service.Create(options, requestOptions);
?
No you don't specify that StripeAccount. That's the Stripe Account header to create objects on behalf of that account
You are talking about step 1 right? Just create a normal Customer on your Platform
test, in the step 1.
ok, done, I have already created the client on the platform, for this I just have to create it using the platform's private key, right?
- secret key, yes
yes, secret key. ok.
in step two is where I have the doubt, how can I clone that customer into the other accounts?
Step 2 in the doc saying you need to clone the Token, and the Customer to Connected Account. However I recommend to create a PaymentMethod on Platform, and clone that PaymentMethod + Customer to Connected account instead
ok, we are very close ! !
"and clone that PaymentMethod + Customer to Connected account instead" is clear for me.
"create a PaymentMethod on Platform" is missing, how can i create this part in my client ? I am using android.
Um, on your integration with android, you may already created it. Do you have any PaymentMethod with id pm_xxx ?
This thread has been archived. If you need help with anything else please ask in #dev-help or contact Stripe Support: https://support.stripe.com/contact
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.