#daugaard47-bank-account

1 messages · Page 1 of 1 (latest)

vagrant orchid
#

what are you trying to do with that bank account?

#

and do you get an error when you try the request you sketched out here?

wheat bolt
#

Update a current subscription with my bank account

#

Only errors I get

[2021-09-08 15:24:04] local.INFO: New Payment Method Added  
[2021-09-08 15:24:04] local.ERROR: No such PaymentMethod: 'ba_xxxxxxxxxxxxxxxxxMzZ'  
[2021-09-08 15:24:04] local.ERROR: (Status 400) (Request req_MBv8RQ2L2RFyjF) No such PaymentMethod: 'ba_xxxxxxxxxxxxxxxxxMzZ'
#

It says there is No such PaymentMethod, but there is in my customer

vagrant orchid
#

right, so instead you need to create a source for the customer

#

bank accounts / ACH currently use the Sources API

wheat bolt
#

Okay thanks this is helpfull

#

Hey sorry, The problem here is I don't have the token. I'm not actually Creating the bank account

#

I need to switch the payment method to the bank account

#

This won't work:

$stripe->customers->createSource(
  'cus_JQcUL2RC0miIqT',
  ['source' => 'btok_1JXWkl4xg7hY5EX0riGSRH8L']
);
#

I need to Update the Subscription default_payment_method

vagrant orchid
#

Oh is the bank account already a customer source then?

wheat bolt
#

Yes

vagrant orchid