@banked/rn-banked-checkout
React Native Banked checkout
Last updated 20 days ago by kristinasl .
Banked · Bugs · Original npm · Tarball · package.json
$ cnpm install @banked/rn-banked-checkout 
SYNC missed versions from official npm registry.

rn-banked-checkout

Version

The Banked React Native component that offers an interface for processing a payment session created using the Banked API.

Installation

Install the package with

npm install @banked/rn-banked-checkout
# or
yarn add @banked/rn-banked-checkout

Link the dependencies

react-native link @banked/rn-banked-checkout
# or
yarn add @banked/rn-banked-checkout

Usage

Import the Checkout component

import Checkout from '@banked/rn-banked-checkout';

Add the Checkout component to your code

<Checkout paymentId = {YOUR_PAYMENT_ID}
                  apiKey = {YOUR_CLIENT_KEY}
                  onCancel={YOUR_CANCEL_HANDLER}/>

YOUR_PAYMENT_ID is the id you received when creating the payment (see https://developer.banked.com/reference#getting-started-with-your-api)
YOUR_CLIENT_KEY is the key you can retrieve from the console: https://console.banked.com/client_keys

License

Banked

Current Tags

  • 0.1.11                                ...           latest (20 days ago)

12 Versions

  • 0.1.11                                ...           20 days ago
  • 0.1.10                                ...           a month ago
  • 0.1.9                                ...           a month ago
  • 0.1.8                                ...           a month ago
  • 0.1.7                                ...           a month ago
  • 0.1.6                                ...           a month ago
  • 0.1.5                                ...           a month ago
  • 0.1.4                                ...           2 months ago
  • 0.1.3                                ...           2 months ago
  • 0.1.2                                ...           2 months ago
  • 0.1.1                                ...           2 months ago
  • 0.1.0                                ...           2 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 10
Last Day 0
Last Week 0
Last Month 94
Dev Dependencies (10)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |