#Th3FalleN
1 messages · Page 1 of 1 (latest)
Can you share an example payment intent id where you are seeing this?
Could be a number of factors
we're using a setup intent
Can you also share the frontend js code where you initialize the Payment Element?
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 });
}
} } />);```
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.
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
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.
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
same thing
Some PM's are country-restricted and that looks to be a US customer. Which ones are you expecting to see?
atm at the very least card and ach
but we have digital wallet methods enabled too which should show
Oh
It's because setupintents don't have a concept of automatic payment methods
It just defaults to card: https://stripe.com/docs/api/setup_intents/create#create_setup_intent-payment_method_types
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
So you'll need to manually pass in options
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?
No the ones that are valid will still show
perfect thanks so much
Oh you mean one that you haven't enabled in your account settings
That I'm not sure
yes
I would test it out in test mode to be sure