#sinduri_code

1 messages ¡ Page 1 of 1 (latest)

untold sentinelBOT
#

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

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

fluid wadi
#

For Express Checkout Element integration, publishable key (pk_xxx) should be used. Could you share what payment methods that you expect to show, but not showing? It will be helpful to share your development website, so that I can look into why the expected payment methods aren't shown

tranquil fox
#

Yeah, using publishable key itself

#

eh-stripe-payment-request-button this is the container id

untold sentinelBOT
sullen goblet
tranquil fox
#

Not using Stripe connect

#

When I inspect the container eh-stripe-payment-request-button , it visible that Stripe render the iframe inside it..but not showing the button

#

You can check the same in my demo site shared

fluid wadi
#

The publishable key is the OAuth publishable key created from the platform, so it will be considered as Connect integration. It's not a publishable key of the direct account. If you wish to use the publishable key for the direct integration, this can be found here: https://dashboard.stripe.com/test/apikeys - ending with pk_test_...HqKPe

tranquil fox
#

Stripe authentication used is oAuth, so as per the Stripe app documentation need to use the oAuth publishable key..

#

Anyway GPay button is visible..rest of the buttons not appears

#

so I think there is no issue with publishable key, if any issue GPay will not render right

fluid wadi
#

When using the OAuth publishable key for Stripe app integration, it will use the Payment Method configuration for Extensions (a form of Connect). As what Sam shared, Amazon Pay is not enabled and PayPal requires onboarding request

#

Stripe app documentation need to use the oAuth publishable key
Could you share the doc link where you see this from?

tranquil fox
#

What I understand is, payment methods should be enabled in Stripe account where our stripe app published, am i right?

fluid wadi
#

This is not right. You should enable payment methods that are needed in the Dashboard for the Extension/Connect flow

tranquil fox
#

Let me explain, what our integration really does
acct_1K1hojLH31CIZTIp - This. is the account ID where we create a Stripe app

Our plugin lets the customers to install this app to their Stripe account to connect using oAuth authentication method.
So here I installed the app in my Stripe account - acct_1K1hojLH31CIZTIp
In this account gpay, link and paypal is enabled- But only gpay buttons is visible

fluid wadi
#

The issue here is with publishable key used. The publishable key used the Extensions/Connect which will read the payment method configuration from the platform acct_1Oqk92LdIlnHGLas, not from the connected account acct_1K1hojLH31CIZTIp

#

You should enable Google Pay, Amazon Pay and PayPal on the platform acct_1Oqk92LdIlnHGLas, not connected account acct_1K1hojLH31CIZTIp when using OAuth publishable key

tranquil fox
#

Ok, understood. I've checked and found that GPay and link is enabled in platform acct_1Oqk92LdIlnHGLas, but Link buttons is not visible, only GPay is visible

fluid wadi
tranquil fox
#

Above screenshot is the platform account acct_1Oqk92LdIlnHGLas

fluid wadi
#

This is the payment method configuration for your own platform account. Have you clicked on the Dashboard link I shared earlier for the connected account payment method configuration on your platform account?

#

It can be found in Settings > Extensions > Payment methods > Edit settings under "Your connected accounts"

tranquil fox
#

Oh, Okay. Yes got it