#mmm2-ach
1 messages ยท Page 1 of 1 (latest)
hi there, wanted to check if you're using ACH with sources? or ACH with PaymentIntents?
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
aaaah
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.
@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
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.