#khris22963

1 messages ยท Page 1 of 1 (latest)

full micaBOT
grave hill
#

Hi there!

#

Can you share the Subscription ID (sub_xxx)?

floral horizon
#

Sure. It'll take me a few moments, as I need to switch BACS back on and rerun the test!

#

sub_1NM5llBRcLdcM5pSFoPOvlWG

grave hill
#

Thanks! Give me a few minutes to look into this.

floral horizon
#

Sure no rush.

grave hill
floral horizon
#

I'll look...

#

I can't see anything on that page about payment methods... it's titled "Configure invoice template"

#

Ah my bad..

grave hill
#

Near the bottom

floral horizon
#

Yes just found it sorry

#

They're the only ones

pseudo ledge
#

Hi! I'm taking over from my colleague. Please, give me a moment to catch up.

floral horizon
#

Sure!

pseudo ledge
#

Currently we don't support automatic_payment_methods when creating a Subscription, unfortunately.

floral horizon
#

Ok, so how do I specify payment methods for my subscription?

#

And how come PayPal was there - that was really odd.

pseudo ledge
#

Please try to set payment_method_types: ['bacs_debit'] and see if this works

pseudo ledge
floral horizon
#

๐Ÿ™‚

#

I did think it might be ๐Ÿ™‚

#

One supplementary q if I may...

#

Currently I'm creating a SubscriptionPaymentSettingsOptions, and setting its .SaveDefaultPaymentMethod = "on_subscription"

#

and adding the PaymentSettings to the SubscriptionCreateOptions when I create the subscription

#

is that right?

#

(as well as setting the PaymentMethodTypes as you suggest)

pseudo ledge
#

Yes

floral horizon
#

Ok thank you, I'll give it a go. Thanks for your time.

#

Actually just changing the code now, one sec...

#

Hmm..

#

paymentSettings.PaymentMethodTypes = New List(Of String)
paymentSettings.PaymentMethodTypes.Add("card")
paymentSettings.PaymentMethodTypes.Add("bacs_debit")

#

is how I've added the payment methods...

#

Only getting 'card'

#

Bacs Direct Debit is definitely switched on in my test console

#

(not getting PayPal any more though)

#

Subscription Id is:

sub_1NM6ULBRcLdcM5pS3iLJTE4T

if that helps at all

pseudo ledge
floral horizon
#

No...

#

Isn't that the live settings?

#

I'm not using anythingin Live yet

pseudo ledge
#

No, that's Billing settings

floral horizon
#

Can't see Bacs DD in the list at all

pseudo ledge
#

I see. Sorry, please give me a moment.

shadow pivot
#

Can you help me understand the issue?

floral horizon
#

Sure, what do you need to know?

shadow pivot
#

I'm struggling to understand what the problem is. You say 'only getting card'. Only getting card where?

floral horizon
#

as an available Payment Method in the Payments element

#

I was expecting both Card and BACS Direct Debit

shadow pivot
floral horizon
#

Ah ok.

shadow pivot
#

But because your account doesn't have BACS Setup Intents enabled (like we spoke about yesterday), the Payment Element won't surface it even though it's configured on the Subscription/Invoice

floral horizon
#

Ok. Sorry, that wasn't obvious as the failure mode was completely different.