#cs.conforama-cloning-customers

1 messages · Page 1 of 1 (latest)

ashen fjord
carmine onyx
#

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."

ashen fjord
#

Do you have the request ID (req_XXX) from the request that encountered that error?

carmine onyx
#

yes req_b69YrakQet2asS

ashen fjord
#

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?

carmine onyx
#

"Received unknown parameter: payment_method."

ashen fjord
carmine onyx
#

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

ashen fjord
#

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.

carmine onyx
#

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?

peak mulch
#

apologies for the delay
juggling between multiple threads
let me see if I can find some information on this

peak mulch
carmine onyx
#

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?

peak mulch
#

Yup