Trying Chrome's implementation of W3C Payment Handler API spec
You can find out more details about Chrome's implementation here g.co/payappintegration.
- Make sure you have latest version of Chrome (At the time of writing, I tested on Chrome Dev 60.0.3107.3)
- Download the app-debug.apk to your Android device
- Open https://oceanhuang.github.io/bankoo/test-checkout.html on Chrome
- You should see a
Buy
button - Tapping the
Buy
button should bring up the Bankoo app. You should also see some info passed in as part of the JS - Tapping the
Continue
button should navigate user back to Chrome. You should also see some info passed back from the app
You can find the source code I used under bankoo-android
and bankoo-backend
folders