#chau_api

1 messages ¡ Page 1 of 1 (latest)

bronze dawnBOT
deep pantherBOT
#

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.

bronze dawnBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1253342587213971527

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

balmy shale
#

Hi

keen pecan
#

Hello

#

What's your question exactly?

balmy shale
#

If I don't want to display 'see more' and want to show both completely, what should I do?

keen pecan
#

This is for Express Checkout Element?

balmy shale
#

Yes, It worked

#

If we want to change the position of google pay to the top, is it possible?

balmy shale
#

How can I use paymentMethodOrder

keen pecan
#

Ah wait that may not work here

#

Since both of these are technically card payment method types

#

I'm not sure this is actually possible, checking.

#

Can you test it to make sure though?

#

If you set paymentMethodOrder: ['googlePay', 'applePay'] then do they switch?

balmy shale
#

Yes, I test it now

#

this.expressCheckoutElement = this.stripeElements.create('expressCheckout', {
buttonType: {
googlePay: 'buy',
applePay: 'buy',
},
buttonTheme: {
googlePay: 'white'
},
paymentMethods: {
applePay: 'always',
googlePay: 'always'
},
layout: {
maxColumns: 1,
maxRows: 0,
overflow: 'never'
},
paymentMethodOrder: ['googlePay', 'applePay']
});

#

Could this be true?

keen pecan
#

What do you mean by true?

#

And when you tested it didn't change, correct?

balmy shale
#

It worked. Thanks a lot.

keen pecan
#

Yay!