#[LBG] India-cloning payment method
1 messages · Page 1 of 1 (latest)
Hi, just to make sure I totally understand your use case, could you please explain what do you mean by will be consumed? And is your platform charging directly customers?
Ok I see now, this means that once you attach it to the Connected Account's customer you won't be able to use it anymore or attach it to your Platform's customer
Our workflow : we have a Platform Customer with a payment_method (1) attached that needs to create a direct charge to a Standard Account. We clone the Platform Customer on the Standard Account (if it has not been cloned before), then we clone the payment_method (1) to create a new one (2), then we create a payment intent using the Standard Account, Standard Account's Customer, the clone payment_method (2)
And confirm the paymentIntent with Stripe JS confirmCardPayment
My problem is that the cloned payment_method (2) is attached to the Standard Account's Customer
And I don't want that
evt_1KokKJPwEydAYQyUAdyDNZfS
I would like to avoid this
when you clone the payment_method to the Connected Account customer you are attaching it to the customer
We stopped our workflow juste after the clone, and nothing was attached
This call does not attached the pm
I'm taking a look
So to summarize your issue, what you're trying to achieve is basically cloning a payment method from your platform to the Connect Account without attaching it to the customer right?
Yes
If a pm was attached to a customer, and we detach it, what happens ? Is it definitively deleted ?
It is not deleted but you can't use it or reattach it to a customer
Where is it ? Should we delete it then ?
I'm trying to find the best solution for you, I'm testing a couple of stuff and would get back to you in a few
Ok so it is possible to do your scenario without having to attach the payment_method to the Connected Account's customer
I will give you the steps to reproduce
Great
1- Create a Payment Method on the Platform Account (It doesn't really matter how)
2- Clone the Payment Method on the Connect Account without specifying the customer
3- Create a Payment Intent for the Customer on the Connect Account
4- Confirm the Payment Intent and pass the clone Payment Method as a parameter
let me know if you need any more help
Let me run some tests on my side please