#_code

1 messages ¡ Page 1 of 1 (latest)

ashen acornBOT
#

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

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

tired panther
#

Hi, let me help you with this.

#

Could you please share the Account ID? acct_xxx

#

Where did they disable it?

ashen acornBOT
boreal nacelle
#

hi! I'm taking over this thread. can you respond to the above questions?

dull escarp
#

Account ID: acct_1F91ygJ4FR86vx17

boreal nacelle
#

so you want to disable Google Pay from the PaymentRequestElement? that's not possible.

dull escarp
#

How do we know if a customer has enabled or disabled a payment method?

boreal nacelle
#

I'm sorry I don't understand your question. can you explain in more details what you are trying to do and what is the issue?

dull escarp
#

We are a website building platform. Users can bind stripe accounts on our platform. Users can turn off googlePay in stripe settings, but website visitors can still see the googlePay payment button. We hope that after users turn off the googlePay payment method, website visitors will not see the PaymentRequestButtonElement

boreal nacelle
#

if you are using the PaymentRequestButton, then both Apple Pay and Google Pay will work. it doesn't make sense to use the PaymentReuqestButton with Apple or Google Pay disabled.

dull escarp
#

So we need to change the implementation method?

boreal nacelle
#

but I still don't understand, why do you want to disable Apple or Google Pay?

#

if you are using the PaymentRequestButton, it means you want wallet payments, no?

dull escarp
#

The user has linked Stripe, but wants to disable Google Pay and only use Link payment method, because Google Pay cannot collect the custom information that the user wants.

boreal nacelle
#

If you want more control on which wallets are enabled/disabled, then you need to use ExpressCheckoutElement as mentioend above.

dull escarp
#

Ok,Thank u