#cs.conforama-cloning-customers
1 messages · Page 1 of 1 (latest)
Hi there 👋 we have this flow for that scenario:
https://stripe.com/docs/connect/cloning-customers-across-accounts
hi toby, thanks. Yes I have followed that article already, however when I try to create a token, I receive the 400 error: "The customer must have an active payment source attached."
I have already linked the payment source for this customer with https://api.stripe.com/v1/setup_intents
I can verify this with the https://api.stripe.com/v1/payment_methods and passing it the customer ID
Do you have the request ID (req_XXX) from the request that encountered that error?
yes req_b69YrakQet2asS
Thanks, pulling that up and taking a closer look.
If you explicitly specify the payment method that you want to use, does that avoid the error you mentioned?
how can this be done with the https://api.stripe.com/v1/tokens api? it doesn't accept a payment_method
"Received unknown parameter: payment_method."
Apologies, I forgot that the flow is slightly different if you're using payment methods. Can you try this approach?
https://stripe.com/docs/payments/payment-methods/connect#cloning-payment-methods
thanks. Yes did that as well however even though the paymentmethod is cloned it doesn't clone the customer associated with it
"customer": null
request ID = req_2aloTKRNBfaQob
Yup, that's expected (the title of the first doc is a bit misleading as you only clone the source/payment method, not the customer). If you want a customer on the connected account to associate the payment method with, then you'll need to create that customer object. You can retrieve the customer object from your platform and just pass most of those fields when creating the customer on the connected account though.
ok thanks. Last question. If we create customers and charges directly on the connected accounts (with the Stripe-Account header), would we have access to order statistics/information in the platform account?
apologies for the delay
juggling between multiple threads
let me see if I can find some information on this
Following up on the above
still looking for more info on it but found this in the process
https://stripe.com/docs/connect/dashboard/viewing-all-accounts
https://stripe.com/docs/connect/dashboard/managing-individual-accounts#inspecting-accounts
thanks. And the only way for Stripe fees to be charged on the connected accounts is with direct charges on the connected accunt (with the Stripe-Account header) right?
Yup