Fake web store — a Payment Request API demo
Clone the repository and
cdinto its main directory.
Install Node which comes with
npmif you haven’t already.
A PayPal sandbox account is also needed. Retrieve the credentials from the sandbox account, edit
index.js, and fill in
Run the test server:
Start a browser on an Android phone, browse to the test server, and click on “Download Opera” to download and install
opera_android_braintree.apkon the phone.
Run the demo using the Opera Beta. Note that you don't have to fill in any real PayPal or credit card credentials. Click on the PayPal icon to use a fake PayPal account instead of a credit card.
An Opera version with payment request support can be found at
/MerchantPublic/opera_android_braintree.apk, and can also be downloaded from the test server.