#joshandrews43

1 messages ยท Page 1 of 1 (latest)

faint bridgeBOT
tidal spear
foggy cosmos
#

Is there a way to avoid the ACH credit transfer issue all together?

#

Or on the webhook when they pay i just update the subscription -- thatll work

tidal spear
#

How are you creating the ACH credit transfer payment method? Can you send me a sample ID where this happened?

foggy cosmos
#

cus_MIFMM2xahassDQ

#

pi_3LzPsrC7t6MTuEUX11jOWMiQ

#

the first payment always fails since ACH credit transfer is the default payment method

#

but i never created that, it was automaticly generated

#

I spoke with support and they said i have to manually swap the default payment method to the credit card entered, but that can't be the best option

tidal spear
#

Ah ok. So what happened is the ach credit transfer was the first source created for the customer so it's assigned to: https://stripe.com/docs/api/customers/object#customer_object-default_source. The default payment method for a subscription can be pulled from a couple different places (we mention this here: https://stripe.com/docs/api/subscriptions/update#update_subscription-default_payment_method). The default payment method on the subscription (link above) is what takes priority. We recommend setting that for subscriptions.

foggy cosmos
#

Is there a way to just never create the ACH credit transfer

#

We've never used it and never will

#

then the first payment method they add will be the default

tidal spear
foggy cosmos
#

No log found with that ID

#

We also dont have a ruby server

#

Is that my log?

#

Maybe its too old

tidal spear
#

That's the default source for cus_MIFMM2xahassDQ

#

Are you logged into your account?

foggy cosmos
#

yeah I am

#

it says it might be past the retention period for that log

tidal spear
#

Hm it shouldn't it was created in live mode in august. It's a 15 month retention

#

Oh

#

I see what's wrong

#

One sec

foggy cosmos
#

Does it say ruby? We dont have a ruby server at all

tidal spear
#

I was looking at it wrong. It was generated by Stripe automatically. I'm not that familiar with the ACH credit transfer payment method, so let me rope in a colleague who can help

foggy cosmos
#

No problem. It just seems backwards to me that stripe wouldn't handle that automatically

#

E.g customer starts paying for subscription, i shouldnt have to code or manually do anything to have them continue paying

tidal spear
#

It was auto created as a result of setting ach credit transfer as a supported payment method when creating the subscription from the dashboard

foggy cosmos
#

I see

tidal spear
#

I will ask a colleague why this is done, but either way you'll need to set the default payment method

#

On the subcription

foggy cosmos
#

sounds good, thank you!

molten mesa
#

Hello ๐Ÿ‘‹
Taking over as codename_duchess needs to step away

#

So it looks like the source becomes the default if the customer doesn't have any sources already.
This won't affect customers that already have sources but I don't think this can be configured away unfortunately.

An alternative is that you can listen to customer.updated webhook events and blank out the default_source if it gets set like this.

#

The source needs to be generated for the Invoice to have it as a supported payment method type and to also be supported on the Hosted Invoice Page (there has to be details of where to push funds to)