capacitor-stripe-terminal
capacitor-stripe-terminal copied to clipboard
Tap to Pay for Android
Stripe now offers tap to pay for Android devices and was wondering if this could be added like you have for iOS. Also any idea when a stable v3 will be out? Thanks!
There is WiP pull request apparently #123.
For my use case I made the modification necessary to make it work on top of the version 3.0.0-beta.8 available from npm.
If you want to do the same, just extract patches.tar.gz in the root of your project, then run
npm install [email protected]
npm install --save-dev patch-package
npx patch-package
For the moment I tested only with Capacitor 5.2.2 and it's working fine.
In your app when you discover readers you should set discoveryMethod: DiscoveryMethod.LocalMobile
.
Also, if you want to test the real production UI, with simulated: false
, you have to compile your app as 'non-debuggable' (i.e, "release" variant on Android Studio).
While testing with simulated: false
I faced a weird issue with the Stripe backend server, I was continously getting a "Attestation Error/Invalid request" from the Stripe API. I solved removing my app data, then uninstalling and reinstalling my app.
@zolfariot since you got it working could you please review PR #123 ? An additional endorsement may help with the merge.
Also @nprail any update on this or Capacitor v6 support?