#bachir_code

1 messages ¡ Page 1 of 1 (latest)

vapid matrixBOT
#

👋 Welcome to your new thread!

⏱️ We automatically close idle threads, which makes them read-only. Make sure you stick around to chat in realtime!

🔗 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/1212325033394053150

📝 Have more to share? You can add more detail below, including code, screenshots, videos, etc.

⏲️ 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. Thank you for your patience!

lone meteorBOT
#

Hello! We'll be with you shortly. 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.

open cove
#

Desktop:

lone meteorBOT
open cove
#

onReady -> availablePaymentMethods {googlePay: true, applePay: false, link: false}

#

Mobile size:

#

onReady -> availablePaymentMethods: undefined

#

GPay is included though in the Card section, but I'd like it to be a standalone button like the desktop version

#

(I set wallet: false when instantiating the PaymentElement)

#
  const options = {
    mode: stripeRecurrenceInterval ? ("subscription" as const) : ("payment" as const),
    amount: displayedFormAmountWithTip,
    currency,
    appearance: {},
    paymentMethodTypes: stripePaymentMethodTypes,
    card: {
      wallet: false,
    },
    // setupFutureUsage: "off_session" as const,
    paymentMethodOptions: {
      us_bank_account: {
        financial_connections: { permissions: ["payment_method" as const] },
      },
    },
    paymentMethodCreation: "manual" as const,
  };

...

        <Elements key={locale} stripe={stripeInstance} options={options}>
          {children}
        </Elements>

rotund temple
#

hi! hmm I tried quickly and can't replicate that on my end. Do you have a link to your integration where I can try it?

#

what is this card:{wallet:false} ?

open cove
open cove
#

I removed that option and set wallets: { applePay: "never", googlePay: "never" } on the StripePaymentElements option, but no change.

Do you mean that on your side, the onReady event returns the availablePaymentMethods with GooglePay: true regardless of screen size ?

rotund temple
#

yes

#

anyway I'm trying to do more testing but my dev environment decided to break this morning so let me see if I can find anything. But as of right now I think I need a repro from you to go further