#ryancwalsh

1 messages · Page 1 of 1 (latest)

torpid trenchBOT
tiny skiff
#

Yes, those should be available when cards are enabled, as those wallet payments behave like cards

limber reef
tiny skiff
#

I don't think you should need to do anything. Have you tried visiting an invoice payment page in a browser with one of thoe wallet cards set up?

limber reef
tiny skiff
limber reef
#

ok, so your hypothesis is that if I create a page using Elements right now, Google Pay will appear. I'll try that soon. Thanks.

#

It's unexpected that your customer portal wouldn't support all of the payment methods that you actually support.

tiny skiff
#

We're working on expanding that coverage quickly!

#

Note that not all payment methods that can be used for one-off invoice payments support recurring subscription payments

#

And the portal is focused on those recurring payments

limber reef
#

Cool, thanks.

torpid trenchBOT
limber reef
#

Unhandled Runtime Error
IntegrationError: In order to create a payment element, you must pass a clientSecret or mode when creating the Elements group.

e.g. stripe.elements({clientSecret: "{{CLIENT_SECRET}}"})

stuck maple
limber reef
#

The title sounds like what I'm looking for. I'll check it out. Thanks!

#

Cool.

  mode: "setup",
  currency: "usd",
};```

was helpful, so now the form renders.

Unfortunately, I still only see Card and Cash App options and not Google Pay (even though Google Pay says "On" at https://dashboard.stripe.com/test/settings/payment_methods).
#

Then when I tried adding this:

  mode: "setup",
  currency: "usd",
  paymentMethodTypes: ["card", "google_pay"],
};

I get:

Uncaught IntegrationError: Invalid value for elements(): paymentMethodTypes.1 should be one of the following strings: alipay, affirm, afterpay_clearpay, au_becs_debit, acss_debit, bacs_debit, bancontact, blik, boleto, card, cashapp, customer_balance, eps, fpx, giropay, grabpay, ideal, klarna, konbini, mobilepay, nz_bank_account, oxxo, p24, pay_by_bank, paypal, sepa_debit, sofort, south_korea_market, swish, three_d_secure, upi, us_bank_account, wechat_pay, paynow, pix, promptpay, revolut_pay, netbanking, id_bank_transfer, link, demo_pay, zip. You specified: google_pay.

stuck maple
#

Apologies I missed that first reply. Google pay isn't its own payment method, it should show up as long as you have card enabled

#

Is this on a localhost page? GPay requires https to show

limber reef
#

Interesting. I just set up a (real world) card at https://payments.google.com/payments/home#paymentMethods but now that page says:

Sensitive action blocked

Because you’re attempting a highly sensitive action, we need to be sure it’s really you. At the moment, we can’t. Try again from a device you normally use (like your phone or laptop) or from the location you usually sign in from.
If you continue to have problems verifying it’s you, contact your administrator.

https://stripe.com/docs/stripe-js/elements/payment-request-button still does not show a clickable Google Pay.

And yes, I have been using localhost without https.

I'll be sure to use something like ngrok once I figure out how to get Google Pay working at all.

torpid trenchBOT
limber reef
valid pendant
#

@limber reef try rebooting first

#

Sometimes things are cached and can be finicky

#

But ultimately if you don't see the button on those docs it's because something is not properly configured with your Google Pay account

#

load chrome://settings/payments?search=payment+method this and check if you see the Google Pay icon next to your payment method too

limber reef
#

Yes, I do see it at chrome://settings/payments?search=payment+method

I will reboot. Then I'll try again tomorrow. I need to run for now.

We can continue exploring tomorrow.

Thanks so much for your help so far!!