Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google Pay - unexpected developer issue #92

Open
spycedev opened this issue May 15, 2023 · 1 comment
Open

Google Pay - unexpected developer issue #92

spycedev opened this issue May 15, 2023 · 1 comment

Comments

@spycedev
Copy link

spycedev commented May 15, 2023

Describe the bug

When clicking the Google Pay button, a new window is opened and google asks me to login, after logging in I get the "unexpected developer error". After clicking "Retry" i'm redirected to a localhost/?somedata url.

I'm using the plugin currently in another webview app without issues, but in this Ionic React app running on a physical android device.

Your Example Website or App

N/A

Steps to Reproduce the Bug or Issue

I will create an example app and update the ticket

Expected behavior

A google pay window opens within the webview to login and choose card, once selected to cardtoken is passed

Screenshots or Videos

No response

Platform

  • OS: [Android]
  • Browser: [Ionic Webview]
  • Version:

Additional context

No response

@spycedev
Copy link
Author

spycedev commented Jun 9, 2023

It looks like the reason for the developer error is because popup's aren't allowed in capacitor.

I've tried adding *.google to the allowed url's for capacitor in the config file. It's able to redirect to the Google pay login screen but hangs on loading after you type in your email address, and it's not a popup, its actually redirected.

Any ideas ? It works fine outside of the capacitor app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant