capacitor-community / stripe

Stripe Mobile SDK wrapper for Capacitor
MIT License
185 stars 74 forks source link

Apple pay not working #52

Closed JoshuvaGeorge03 closed 3 years ago

JoshuvaGeorge03 commented 3 years ago

Thanks for the Plugin.

Current Behaviour

When I do pay with apple pay I am getting the below error. 2021-01-18

Expected Behavior

The error should be more meaningful. rather than just an unable to parse apple pay options, it should say what is the error? and I am doing everything the same as told in the documentation. So it should works well.

My project Details

` capacitor-community/stripe: 1.1.0

Ionic:

Ionic CLI : 6.12.3 (/home/joshuva/.nvm/versions/node/v12.20.0/lib/node_modules/@ionic/cli) Ionic Framework : @ionic/angular 5.5.2 @angular-devkit/build-angular : 0.1100.7 @angular-devkit/schematics : 11.0.7 @angular/cli : 11.0.7 @ionic/angular-toolkit : 3.0.0

Capacitor:

Capacitor CLI : 2.4.6 @capacitor/core : 2.4.6

Utility:

cordova-res : not installed native-run : not installed

System:

NodeJS : v12.20.0 (/home/joshuva/.nvm/versions/node/v12.20.0/bin/node) npm : 6.14.10 OS : Linux 5.8

`

JoshuvaGeorge03 commented 3 years ago

I was using this plugin from the initial capcitor-stripe version.

Before the merchant Id is passed as merchantIdentifier, now it was changed to merchantId. Hence it caused this issue. It would be nice if the error message was a bit clearer.

Anyway, I am closing this issue, as it was fixed.