#rooter

1 messages ยท Page 1 of 1 (latest)

rocky lagoonBOT
lone lake
#

Hi ๐Ÿ‘‹ the key driver for whether Google Pay is displayed, is whether the browser being meets all of our pre-requisites for using Google Pay. The presence of a card in the associated Google Pay wallet is typically the driver that I see impact whether Google Pay is displayed most frequently.

slender musk
lone lake
#

I don't know if Google Pay allows test accounts. To test you can use an existing Google account, add any card to your Google Pay wallet, and then run the payments in test mode on the Stripe side. Test mode wallet payments are not charged to the card displayed, they are instead charged to our 4242 test card behind the scenes. Just make sure your flow is using your test mode API keys while testing.

slender musk
#

Is the same true for Apple Pay?

lone lake
#

Yes

slender musk
#

I'll give it a shot. Thanks

lone lake
#

Any time, happy to take a look if it any of it gives you troubles.

slender musk
lone lake
#

Can you articulate what the problem(s) is(are)?

slender musk
#

Sometimes Google Play shows up. Sometimes it doesn't. When it does show up, I get that error message: "Another step will appear to securely submit your payment information." No step ever appears.

lone lake
#

That isn't an error message.

#

That is saying that when the request to confirm the payment is made, another step will appear to finalize the payment.

#

The provided screenshot is too heavily cropped for me to see what you have around the Payment Element, do you have a submit button of some sort that triggers the confirmation of the payment? What behavior do you see when that is clicked?

slender musk
#

Well, when I hit submit, it does open Google Pay and I see my CC, but it says it is paying $0, which I guess is because it is test mode.

#

This is super annoying. There is no way to test locally where I can use a debugger.

lone lake
#

Are you using a Setup Intent?

slender musk
#

yes

#

We take the users info and charge them later.

lone lake
#

So the $0 amount being displayed is expected, because Setup Intents do not process payments.

slender musk
#

Can I see setup intents in the dashboard?

#

or I am going to have to copy the id from the dev server and make a util to view them locally with the API?

lone lake
#

We aren't as familiar with the dashboard functionality in this forum, we primarily focus on the API side of building integrations, but I don't believe you can see those in the dashboard.

#

I'm going to delete your above message as that is a Setup Intent's client secret, those are sensitive and should not be shared.

slender musk
#

It's from the test server

#

When I tried a second time, I got this:

lone lake
#

Were any errors thrown to the browser console? What is the state of the related intent?

rocky lagoonBOT
slender musk
#

Nope, that was it. I tried again and it said it worked, but I'm getting unexpected data or something because it didn't save on my end. I'm trying to debug it now.

#

You can find a setup intent in the dashboard if you just paste it into the search, btw.

#

I can see it in the dashboard and everything worked, but it just returns my credit card number. It doesn't show that anything was done with Google Pay.

#

I have no idea what happens if you use a google pay balance instead of a card.

lone lake
slender musk
#

Will do. Sec. Thanks

#

Okay, I can find that data, thanks. Still no idea why it works randomly for me and never at all for another tester. Are there payment amount limits that determine if Google Pay will show up or not?

simple quiver
#

Hi taking over for toby as they have to step out

#

There shouldn't be amount restrictions

slender musk
#

Also, for Alipay, Cash App Pay, WeChat Pay, and Link, none of them are showing. When I set the payment methods of the setup intent, I am allowed to send these enums: card, acss_debit, boleto, giropay, fpx, grabpay, ideal, klarna, konbini, oxxo, p24, paynow, pix, promptpay, sepa_debit, us_bank_account. Which of those map to which enum?

#

thanks

simple quiver
#

Have you enabled those payment methods in your account settings?

slender musk
#

yes, they are all enabled

simple quiver
#

Ah

slender musk
#

I'm not passing all the payment methods, though because there is no way to know which is which.

simple quiver
#

You said SetupIntent

#

Not every payment method type is supported

#

Only the enum you listed is

slender musk
#

Well, it's super hard to know what is what because Wallets are in "cards" for some reason.

#

So there is no way to save the information for Alipay, Cash App Pay, WeChat Pay, and Link and charge them later?

#

We run multiday events and our users add many things to their registrations over those days and we just charge them once at the end.

simple quiver
#

Give me a min