#aasdfasa-connect-bnpl

1 messages ยท Page 1 of 1 (latest)

foggy meteorBOT
restive tangle
#

aasdfasa-connect-bnpl

livid stratus
#

Considering our platform is live, would changing this capability affect anything related to their current account? Most are processing payments already, with our custom UI. The main concern would BNPL popping up in production before we are ready to handle it.

#

Also, is there a webhook that will be received if the BNPL availability on an account changes? We are also building out a custom UI for BNPL, so we need to determine dynamically which BNPL providers are available for each account, when their shop pages get rendered.

restive tangle
#

you can use this to see what would happen I think

#

Sorry I only grasp 50% of what you are trying to do

foggy meteorBOT
livid stratus
#

I'm trying to determine at runtime (when a person uses the account's shop page) if the account can do BNPL with any of the 3 providers that we are using.

I know the Payment Element does this UI for us, but we need to have our custom UI and show BNPL availability before items are added to the cart, as well as when in the cart.

open brook
#

like what koopajah mentioned, you should be able to retrieve the capabilities of the connected account to determine if they can do BNPL - but maybe test it out to verify that it works too

livid stratus
#

OK. Would the API response time be a concern though? I could do it with AJAX I suppose, so the page rendering does not wait for the Stripe API.

open brook
#

no matter what you do, you're going to need to make a request to find out whether the account supports BNPL (Whether you're making a request to Stripe or to your own DB), so you're going to need to manage your page appropriately anyway

livid stratus
#

True, but we can ensure our DB queries are faster than a 3rd party API, no offense ๐Ÿ˜… Which is why I was originally asking if the MCC code could be used, as we can keep as a simple query in that case.

open brook
#

no worries, i personally wouldn't use the MCC code, what if you forgot to request for the capability, or for some other reason, the capability was disabled?

#

Ideally maybe you can listen for the account.updated event and save the account object to your own DB to query for?

livid stratus
#

That begs the question... Would the disabling of a capability come from the Stripe team?

open brook
#

sometimes yes

livid stratus
#

OK, then capability api it is

#

thanks for your help, and koopajah too

livid stratus
#

Bringing this thread back to life... is there an API to get the details of a BNPL provider's payment options? I know the Payment Element is the recommended method, but does Stripe have an API that we can call directly?

open brook
#

not really an API as per what you're looking for, but a component that will show what options are available

livid stratus
#

Pretty much, but we have our own UI requirements so I'm not sure if I can wrangle the appearance API to be exact in what we need. I was hoping for a JSON response of this data.

open brook
#

hmmm, gimme a second to take a look

#

pretty certain we don't have such a feature at the moment. if you would like to see support for this feature, I'd suggest writing to https://support.stripe.com/contact/email to explain your use cases/feature request as that helps the product team capture demand for prioritisation

livid stratus
#

OK.. probably won't help to request this, as we are supposed to release next month.

I presume the iOS and Android SDKs have a similar element available?

open brook
#

unfortunately it doesn't have an equivalent element ๐Ÿ˜…

#

oh hey sorry, it looks like it does

livid stratus
#

great! I'll check those now