#chau_api
1 messages ¡ Page 1 of 1 (latest)
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.
- chau_api, 1 hour ago, 100 messages
- chau_api, 4 hours ago, 12 messages
- chau_api, 1 day ago, 12 messages
- chau_doc-googlepay, 1 day ago, 13 messages
- chau_google-pay, 1 day ago, 21 messages
- chau_api, 2 days ago, 88 messages
and 2 more
đ 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.
Hi
If I don't want to display 'see more' and want to show both completely, what should I do?
This is for Express Checkout Element?
You want to set overFlow: 'never' (https://docs.stripe.com/js/elements_object/create_express_checkout_element#express_checkout_element_create-options-layout-overflow) in that case when you create your Express Checkout Element
Yes, It worked
If we want to change the position of google pay to the top, is it possible?
How can I use paymentMethodOrder
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?
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?
It worked. Thanks a lot.
Yay!