fresha / capacitor-plugin-googlepay

Capacitor plugin for Google Pay payments
MIT License
8 stars 3 forks source link

Request Failed #5

Open csotiMatyas opened 1 year ago

csotiMatyas commented 1 year ago

Unexpected developer error, please try again later.

Took me some time to figure out, but adding cardNetworkParameters: [ { cardNetwork: "VISA" }, { cardNetwork: "MASTERCARD" }, ], to paymentDataRequest object broke the payment flow. On capacitor 3.6.0/3.9.0.

Edit: param cardNetworkParameters doesn't exist in the official docs: https://developers.google.com/pay/api/android/reference/request-objects

Amar0122 commented 1 year ago

Hi All,

But now allowedCardNetworks is not working. We are not able to disable card networks based on this parameter.