#birdy247 - cloning payment methods

1 messages ยท Page 1 of 1 (latest)

manic dock
#

Hello! Just starting a thread for you -- I'll review and respond as soon as I can ๐Ÿ™‚

twilit lava
#

How we can we remove this text:
By providing your card information, you allow xxxxx to charge your card for future payments in accordance with their terms.

#

Is this the terms?

manic dock
#

What do you mean? Can you share more details about waht you're trying to do and what is not working?

twilit lava
#

Dont worry, I have done it ๐Ÿ˜„

manic dock
#

Or what is not happening as you expect

twilit lava
#

Solved

manic dock
#

Ah, great!

#

Sorry for the delay, many people showed up at once ๐Ÿ™‚

#

@twilit lava can you ask you other question in here please?

#

Let's keep to one thread

twilit lava
#

Assuming we have created a customer and a confirmed setup intent on our platform, how do we clone a customer on a connected account?

manic dock
#

You can't really clone the customer -- you make a shared copy of the payment method only, then attach it to a new customer on the connected account

#

And customer info you want to copy over you need to do yourself

twilit lava
#

Can we just make a payment intent and use the cloned payment method or do we need to create a customer as well?

manic dock
#

You can do that, yes, but then the cloned payment method is one-time-use only

#

To be able to use it multiple times you must attach to a customer

twilit lava
#

Thats fine. Our use case is one time use

manic dock
#

Then no problem, sure!

twilit lava
#

Presumably we can clone on multiple accounts and use just once on each account?

manic dock
#

Yep!

twilit lava
#

Do you have any stats on the following

#

1/ we create a customer with a setup intent on our platform (future usage set to true)

#

2/ We then clone the payment method as soon as the setup intent is confirmed and create a payment_intent and confirm it staright away

#

what are the chances of no SCA being required on point 1 but it is required on point 2

manic dock
#

We don't know that, no. Ideally it will be less than without setup, but that's never a guarantee. The bank can request re-authentication any time at their discretion.

#

birdy247 - cloning payment methods

twilit lava
#

Got it

#

Another quick question

#

We use the php lib

#

Is it "better" to use the $stripe->payment_intent->create(xxx

#

or Stripe/PaymentIntents::create

#

I notice the docs switch between the 2 approaches

#

I get the impression the client is the newer of the two?

wraith patrol
#

Hi there ๐Ÿ‘‹ taking over for @manic dock. I can't say which is best, it will kind of just depend on your integration specifics and the approach you prefer. FWIW $stripe->payment_intent->create(xxx) is the way I'd do it