#chau_google-pay
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.
👋 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/1252623063363747900
📝 Have more to share? Add details, code, screenshots, videos, etc. below.
Hi
could you please help me
I want to test some case error for google pay.
pm_card_visa_chargeDeclined
We use payment method for payment_method, right?
Google Pay generally requires you to have a real card in your wallet
and will always succeed in that case in test mode, without charging you
If you want to test other outcomes, you should use Google's test card suite:
https://developers.google.com/pay/api/android/guides/resources/test-card-suite
I want to change the black background to white, is it possible?
See here for details about the support styles/theming for each payment method on ECE:
https://docs.stripe.com/elements/express-checkout-element#appearance
chau_google-pay
const expressCheckoutOptions = {
buttonHeight: '50',
buttonTheme: {
googlePay: 'white'
}
}
I use this, right?
Yep
this.stripeElements = this.$stripe.elements(options);
this.paymentElement = this.stripeElements.create('payment');
this.paymentElement.mount('#payment-element');
const express = {
wallets: {
applePay: 'always',
googlePay : 'always'
}
}
this.expressCheckoutElement = this.stripeElements.create('expressCheckout', {options: express});
this is my code
How can I add this code?