#mattiaferrari_docs

1 messages ยท Page 1 of 1 (latest)

gleaming totemBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1413524214664790029

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

weak bone
#

Hi there, looking into this now!

Can you explain a little more about the context of what you're trying to accomplish?

gleaming totemBOT
abstract mortar
#

On my website i have multiple payment providers

#

N providers with M payment methods

#

I want to show every payment method in a single list so that my users can't tell which provider they are using

#

So if a user presses on paypal will be redirected to the paypal provider, and if it presses on card or satispay or sepa it will be redirected to a checkout session with that payment method already selected

#

So is there a way to list via API the payment methods available on the checkout session of my account? I don't want to hardcode them

agile coral
#

Hi, taking over as my teammate needs to step away. Let me catch up.

abstract mortar
#

No

#

This will display the saved payments method for a customer

#

I want to fetch the payment methods available on my stripe account

agile coral
#

It will show you shat payment methods are enabled

abstract mortar
#

Ok this will do

#

And i can pre select one when displaying the checkout session or a payment element?

agile coral
#

Yes, you can specify which payment methods to allow

abstract mortar
#

Does payment sheet has some type of limitations?

#

Like can i use satispay with payment sheet?

agile coral
abstract mortar
#

Ok i'm trying right now, i enabled satispay but it doesnt show up in the payment sheet

agile coral
#

Can you share more?

abstract mortar
agile coral
#

Are you able to disable Link and try again?

abstract mortar
#

I disabled link and i dont see it anymore

agile coral
#

you don't see Satispay either?

gleaming totemBOT
sharp breach
#

๐Ÿ‘‹ stepping in here as pgskc needs to step away

#

What version of the Stripe React Native SDK are you using?

abstract mortar
#

latest

#

It seems that i dont have any particular rule

sharp breach
#

Hmm actually I'm not sure Satispay has been added to the React Native SDK yet

#

Let me check

abstract mortar
#

lets try klarna if its better

#

It should be active but i dont see it in the payment sheet

sharp breach
#

Hmm yeah Klarna is definitely supported. What country is your account?

#

Do you have a urlScheme set in your StripeProvider?

abstract mortar
#

Yes

sharp breach
#

Oh actually in this case you need to set the returnUrl when you initPaymentSheet()

#

Since Klarna requires a redirect

abstract mortar
#

Ahhhh ok

#

Now i see everything

sharp breach
#

๐ŸŽ‰

abstract mortar
#

With the payment sheet i can also pre seleft a payment method?

sharp breach
#

Did Satispay show up too?

abstract mortar
#

Yes yes

sharp breach
#

You can't pre-select a single payment method unless you use the intent-first flow where you create a PaymentIntent first and pass the client secret to initPaymentSheet() -- this is the legacy flow which we generally don't recommend. But you can use paymentMethodOrder (see: https://stripe.dev/stripe-react-native/api-reference/types/PaymentSheet.SetupParamsBase.html) to set the order and then whatever Payment Method Type you indicate first will be "selected" by default as the initial choice however your customer could select something different.