@pickk/pay
TypeScript icon, indicating that this package has built-in type declarations

1.5.2 • Public • Published

PICKK-PAY-SDK NPM Version NPM Downloads

Requirements

  • nodejs >= 0.12.x
  • not support browsers below IE 8

Installation

$ npm install --save @pickk/pay
# or
$ yarn add @pickk/pay

Usage

import Pay from '@pickk/pay';

function PayScreen() {
  useEffect(() => {
    Pay.init('YOUR_PAY_SERVICE_URL');
  }, []);

  const handleClick = () => {
    Pay.request(data, callback);
  };

  return <button onClick={handleClick}>Place Order</button>;
}

Author

Package Sidebar

Install

npm i @pickk/pay

Weekly Downloads

2

Version

1.5.2

License

MIT

Unpacked Size

66.5 kB

Total Files

33

Last publish

Collaborators

  • greatsumini
  • yamkee
  • s_young125