#coraelstraze_api

1 messages · Page 1 of 1 (latest)

woeful dragonBOT
#

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

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

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

radiant acorn
#

hi there!

#

Express Checkout Element is different. you can always show the button, so canMakePayment is not needed.

sullen ridge
#

But for me right now only Link is showing. Google Chrome account is in test mode for Google Pay, but it is not showing. How do I know that from Stripe account side everything is configured correctly?

radiant acorn
#

can you share a link to your page so I can test?

radiant acorn
#

what should I do to see the Express Checkout Element?

sullen ridge
#

Just wait

radiant acorn
#

oh, I see it there:

#

if you don't see it, it means you are not using a compatible device, or don't have a card saved in your Google Wallet.

sullen ridge
#

I don't have a card but why doesn't it work in test Google Pay mode?

radiant acorn
#

note that you can set paymentMethods.googlePay to always is you always want to show the Google Pay button.

#

I don't have a card but why doesn't it work in test Google Pay mode?
by default we only show the button if you have a card saved in your google wallet.

sullen ridge
#

Could this be reconfigured somehow?

#

and all test cartd

radiant acorn
#

I already explained to you how to view the Google Pay button:

  • either add a card to your google wallet
  • or set paymentMethods.googlePay to always wo you always want to show the Google Pay button.
sullen ridge
#

if it is set to always, then it will show also even it is disabled on stripe side, right?

radiant acorn
#

if you disable Google Pay on Stripe, then no it's won't be shown in the Express Checkout Element.

sullen ridge
#

thanks.

I had another question: if I want to show only Google Pay button, I have to manually configure all other to "never"? Or there is another way?

For example right now there are at least 5 payment buttons, if I turn them off on ECE init, and after that you add another payment button to API, I suppose it will be shown by default.

I want to find out is there a functionality in ECE to "show ONLY"

radiant acorn
#

if I want to show only Google Pay button, I have to manually configure all other to "never"?
correct

sullen ridge
#

"after that you add another payment button to API, I suppose it will be shown by default. "

so how do I deal with this? paymentRequest had the opportunity, so how do I migrate then if ECE does not

radiant acorn
#

I don't understand your question. can you clarify what you are tryihng to do and what is the issue?

sullen ridge
#

right now ECE has only these methods

#

what if you add one?

#

It will show on my page without me even khowing that

#

because by default every method is "auto"

radiant acorn
#

when that happens, you can update your code to add an additional never.

sullen ridge
#

ok that what I wanted to hear from you, thanks