#Th3FalleN

1 messages · Page 1 of 1 (latest)

livid ermineBOT
blazing spoke
#

Can you share an example payment intent id where you are seeing this?

#

Could be a number of factors

spark oar
#

we're using a setup intent

blazing spoke
#

yeah that's fine

#

Can you share an example setupintent id

spark oar
#

yep one sec

#

seti_1MjmQGKjI0M1O6BOQcjZedvO

blazing spoke
#

Can you also share the frontend js code where you initialize the Payment Element?

spark oar
#
      options={ {
        defaultValues: {
          billingDetails: {
            name: customer.billingName(),
            email: customer.billingEmail(),
            address: customer.billingAddress(),
          },
        },
        fields: {

          billingDetails: {
            address: 'never',
          },
        },
      } }
      onChange={ event => {
        if (event.complete) {
          setPaymentType({ type: event.value.type, changed: true });
        }
      } } />);```
blazing spoke
#

Thanks

#

One sec

#

So you can see in the response for the setup intent: https://dashboard.stripe.com/test/logs/req_oI6BjTzMMX8yE6 that the only payment method type available for this setup intent is card. That's why no other tabs are showing. Now let me try to track down why only card is showing as an available option.

spark oar
#

hmmm

#

now to figure out how to get the others to show....

#

i suppose i could just read.... You are in test mode Customers will not see payment methods until they are turned on in live mode.

blazing spoke
#

Ah yeah try that first

#

You'll need to create a new SetupIntent

spark oar
#

same thing

blazing spoke
#

Some PM's are country-restricted and that looks to be a US customer. Which ones are you expecting to see?

spark oar
#

atm at the very least card and ach

#

but we have digital wallet methods enabled too which should show

blazing spoke
#

Oh

#

It's because setupintents don't have a concept of automatic payment methods

#

So you'll need to manually pass in options

spark oar
#

in the back of my mind i KNEW you were going to say something about the setup intent

#

if i pass all the options and one of them is not enabled will it shit the bed?

blazing spoke
#

No the ones that are valid will still show

spark oar
#

perfect thanks so much

blazing spoke
#

Oh you mean one that you haven't enabled in your account settings

#

That I'm not sure

spark oar
#

yes

blazing spoke
#

I would test it out in test mode to be sure

spark oar
#

i'll find out

#

thanks so much as always