#daugaard47

1 messages ยท Page 1 of 1 (latest)

smoky locust
#

Hello! To clarify, default_source works as intended for you, it's just not showing up in the Dashboard the way you want?

#

Can you give me the ID of the Subscription shown in your screenshot?

arctic cloud
#

Yes correct. I'm using the customers existing payment methods to update a subscription. Like this in the image

#

The cards work fine just not the Bank Account

smoky locust
#

Did you see my question about the Subscription ID? ๐Ÿ™‚

arctic cloud
#

Oh no.. Sorry.. sub_KBqAwzfcpi49P7

#

Should be card 4444 right now. I'm going to update it with my bank account now

smoky locust
#

Let me know when you're done so I can look at it in its current state.

arctic cloud
#

Okay just updated it to the bank account

#

no change

smoky locust
#

It looks like you left the default_payment_method intact. If you remove that does it show what you want in the Dashboard?

arctic cloud
#

I removed the default payment method and it reassigned another card to the default payment method.

#

Hmmm.. IDK. I'll mess around with it. I was just curious if there was something else I could use besides default_source

smoky locust
#

You need to pass in an empty string there instead of a different Payment Method ID.

#

For bank accounts, no, those use the older Sources API so you need to use default_source. We're working on support for bank accounts with Payment Methods, but no ETA for release at this time.

arctic cloud
#

Check out this subscription: sub_KBqCdAOt4jOxzm

#

This has the bank account as the specific payment method

#

That's what I'm going for

#

on Update

smoky locust
#

That Subscription has no default_payment_method set.

arctic cloud
#

I know

smoky locust
#

That's why the Dashboard falls back to showing default_source

#

Sorry, I think we're talking past each other.

#

For the other Subscription my recommendation was to remove the default_payment_method.

#

Leaving only the default_source.

#

Until you do that you won't see the default_source in the Dashboard.

arctic cloud
#

sub_KBqCdAOt4jOxzm

#

I need the bank account to update right there as shown in the image on Subscription Update.

smoky locust
#

Yes. That's what I'm telling you how to do.

#

Can you explain in detail what's blocking you or what you don't understand about my instructions above?

arctic cloud
#

Okay. lol sorry thought we were on different pages

smoky locust
#

Right now sub_KBqAwzfcpi49P7 has both a default_payment_method and a default_source. The Dashboard will display default_payment_method if there is one and only fall back to displaying default_source if there is no default_payment_method. If you want the Dashboard to display default_source you need to remove the default_payment_method from the Subscription.

arctic cloud
#

Okay I see. sub_KBqAwzfcpi49P7 I made the bank account the default source, now it shows correct.

smoky locust
#

Yep! Now that Subscription has no default_payment_method. ๐Ÿ™‚

arctic cloud
#

Okay I see. Thank you. I appreciate your time and help. I think I can figure it out now. Have a great day!