#mmm2-ach

1 messages ยท Page 1 of 1 (latest)

lime pilot
lime pilot
#

hi there, wanted to check if you're using ACH with sources? or ACH with PaymentIntents?

steel vigil
#

I'm using "source" field when calling /v1/invoices/{INVOICE_ID}/pay so I assume the answer is sources? ๐Ÿ™‚

#

bank account was also added using sources API in connection with plaid

lime pilot
#

aaaah

soft stream
#

Hi! I found this in the documentation covering how to clone customers with a source. I haven't tried this, but it may work in this case.

steel vigil
#

@soft stream can I get an url of the docs you are referring to so I can give it a try? most of the docs I saw so far is stating that cloning is only supported for card sources

soft stream
#

Sorry I forgot to paste the link ๐Ÿ˜…

steel vigil
#

thank you for the link ๐Ÿ™‚
I already tried to follow this instructions but without any luck..
so far I tried:

1. clone the source with:

$token = \Stripe\Source::create([
  'customer' => 'cus_,,,',
  'original_source' => 'ba_...',
  'usage' => 'reusable',
], [
  'stripe_account' => 'acct_...'
]);

where I get "Source sharing for type ach_debit is not supported." - which is kind of expected based on docs.

2. clone the payment method with:

$payment_method = \Stripe\PaymentMethod::create([
  'customer' => 'cus_...',
  'payment_method' => 'ba_...',
], [
  'stripe_account' => 'acct_...',
]);

and then

$customer = \Stripe\Customer::create([
  'payment_method' => $payment_method->id,
], [
  'stripe_account' => 'acct_...',
]);

which actually creates a customer on connected account without an error, but payment method is not transferred (new customer has no payment method at all)

I don't know if this is of any help to you, but I'm kind of stuck right now.

sudden oxide
#

you can't clone any payment methods except cards

#

so no, there's no solution here except re-collecting the bank details on the connected account, or doing the payment on the platform instead