Name | Last Update |
Last Commit
history
|
|
---|---|---|---|
src | |||
www | |||
.gitignore | |||
LICENSE | |||
README.md | |||
package.json | |||
plugin.xml |
README.md
active8me cordova stripe payment webview
This is simple plugin that wrap an Webview for payment with https://stripe.com/docs/checkout#integration-simple.
Supported Platforms
- Android
- iOS
Installation
The plugin can be installed via [Cordova-CLI][CLI] and is publicly available on [NPM][npm].
Install the latest head version:
$ cordova plugin add http://git.dev.gkxim.com/170802-active8me/active8me-cordova-stripe-payment-webview.git
Usage:
cordova.plugins.a8meStripePayment.open(
{
apiKey: "xxxxx",
amount: "2000",
marchantName: "Active8me Pte Ltd",
description: "2 widgets",
itemImage:"https://stripe.com/img/documentation/checkout/marketplace.png",
currency: "sgd",
}).then(function(event) {
// success payment
}).catch(function(event) {
// error payment
});