#sinduri_code
1 messages ¡ Page 1 of 1 (latest)
đ 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.
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
Yeah, using publishable key itself
https://demo26.wtdev.xyz/shop
Add any product to cart and go to checkout - https://demo26.wtdev.xyz/shop
eh-stripe-payment-request-button this is the container id
If you are using Connect with PayPal, you will need to reach out to support to submit an onboarding request [0]. Meanwhile I am looking into Amazon.
[0] https://docs.stripe.com/payments/paypal/connect-your-paypal-account
It looks like Amazon Pay is not enabled for your Connected Accounts: https://dashboard.stripe.com/settings/payment_methods/connected_accounts?config_id=pmc_1Q4yVeLdIlnHGLasng3VXXoG, which is why it's not appearing.
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
not using connect
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
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
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
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
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
Google Pay is enabled in https://dashboard.stripe.com/settings/payment_methods/connected_accounts?config_id=pmc_1Q4yVeLdIlnHGLasng3VXXoG
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Stripe app documentation need to use the oAuth publishable key
Could you share the doc link where you see this from?
What I understand is, payment methods should be enabled in Stripe account where our stripe app published, am i right?
This is not right. You should enable payment methods that are needed in the Dashboard for the Extension/Connect flow
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
https://docs.stripe.com/stripe-apps/api-authentication/oauth - this is the doc we followed for oAuth API authentication
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
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
I don't see Link enabled https://dashboard.stripe.com/test/settings/payment_methods/connected_accounts?config_id=pmc_1Q4zxKLdIlnHGLasVQnV2WwH for test mode integration
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
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"
Oh, Okay. Yes got it