-
Notifications
You must be signed in to change notification settings - Fork 4
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 throws Unexpected Developer Error #1
Comments
@trocker did you fix it? |
I did. I had to change the library code (the java file in the plugin folder) to add additional keys (parameters) that google now accepts (gmerchantid, stripekey and something else). It then worked like a charm. You need to include the java file changes before you build it for android otherwise the android folder (under platforms folder) would contain the default (unchanged) code. I wish I could share the change with you but I am away from my code base. However, it's a relatively easy change to make. You just gotta fix the key/value string that's being prepared in the library. |
@trocker fixed sandbox, I use braintree. But it works only if I disabled 3d secure. |
Haven't tried 3d secure but I'd bet it's a Google pay issue and not a cordova library one. |
@trocker please feel free to raise a pull request with the fix, cheers |
@rareplanet1 Please check the pull request for the fix. |
Hello -
First off, thank you so much for this contribution. This is amazing work.
Secondly, for me, the Google Pay activity opens up with the test card details loaded but when I click on Pay, the fingerprint sceen pops up and after successful fingerprint recognition, the GPay throws an error "Request Failed. Unexpected developer error.". Did you face this error before? (or is everything still working smoothly for you?)
I tried to logcat into the device and search for "WalletMerchantError" as shown here - https://developers.google.com/pay/api/android/support/troubleshooting , but I do not see any "WalletMerchantError". I wonder if it is at all possible to get this to work?
The text was updated successfully, but these errors were encountered: