#stan_api

1 messages ¡ Page 1 of 1 (latest)

tidal prismBOT
#

👋 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/1465753004152983765

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

distant mortar
#

Hi there

#

So you want to influence the order in which payment methods are displayed when using dynamic payment methods, is that right?

simple prairie
#

correct. Documentation is clear when we know the type but not really when dealing with customer payment methods

distant mortar
simple prairie
#

yes, it is the one I queoted in the thread, however if you look at the step to add a customer payment method, one can create it without a type, as no such type exists in Stripe

#

as per above screen

#

in that scenario, what do we pass to paymentMethodOrder in order to define the order of that custom method?

distant mortar
#

Ah, Custom payment methods. You said "customer payment method" which confused me

simple prairie
#

sorry, typo. Custom payment methods is what I am after and defining their order

distant mortar
#

So you want to order multiple custom payment methods, not a single one? I would not be surprised if you can't do this

#

I would first try "custom" in paymentMethodOrder and seeing if that works or not

simple prairie
#

In a scenario where we have a number of standard one (known) and 1 or more custom ones. We want to be able to define their order. Ideally I should be able to put the custom once wherever I want

distant mortar
#

Can you try the suggestion above and see if it produces any results?

simple prairie
#

it will take me a while to prep a POC, was hoping for evidence in the documentation

distant mortar
#

okay I just tested this: you can use the id of the Custom Payment Method in paymentMethodOrder to place it where you want in the order