#bernardpaulet
1 messages · Page 1 of 1 (latest)
Hi there!
What type of connected account do you have (Standard, Express, Custom)? And what type of charge are you making (Direct Charge, Destination Charge, Separate Charge & Transfer)?
Hi, sorry, I hit enter before finishing my question...
I have standard accounts and my idea was the following:
- detach all the payment methods of the "target" customer (with a loop in the list of payment methods)
- loop the payment methods of the "origin" customer and for each iteration copy the payement method to the target customer.
Do you think it is a good approach?
I make direct charges
what is the "target" customer and the "origin" customer? Also you didn't answer one of my question:
And what type of charge are you making (Direct Charge, Destination Charge, Separate Charge & Transfer)?
If you are not sure about the differences, they are explained here: https://stripe.com/docs/connect/charges
I make direct charges.
First (before making the payment), the target customer is the customer on the connected account and the origin is the customer of the platform and then (after the payment) it is the opposite (to reflect possible new PM added at the moment of the payment to the platfomr customer).
This to keep the payment method of the platform customer always up to date and when a payment must be made the payment method of the customer of the connected account is updated.
The simplest option is to:
- Save all payment method on your platform account
- Whenever you need to make a payment, clone the payment method on the connected account with https://stripe.com/docs/payments/payment-methods/connect#cloning-payment-methods
So the platform account has all the payment methods.
But this will only clone the latest used payment method, no?
If the client has a Visa Card and a Master Card saved, il will only copy one of them, no?
Or I am wrong?
It's up to you! You copy the payment method you want to use. You keep all of them on the platform account, and when you want to use one of the card, you clone that specific card to the connected account every time you want to make a payment.
OK, I understand.
But to let the choice to the customer he must have all the payment methods "available" on his payment sheet...
True. Another (simpler) option is to directly store the payment method on the connected account. So no cloning, involved. But that completely depends on your use case.
Yes but in that case if today he buys at merchant 1 and tomorrow at merchant 2 , the payment methods shown won't be the same...
Yes agreed, that's why I said "that completely depends on your use case". So in your case yes you'll need to manually copy all the payment method on the connected account, and make sure they are synchronized.
OK, thank you very much !
Happy to help 🙂