occsn-checkout

0.0.16 • Public • Published

occsn-checkout

An importable boilerplate Occasion checkout experience using React, the Occasion SDK, and Mitragyna

Development

First, modify index.html with your merchant API login and product ID:

<script>
  window.OCCSN = {
    api_key: 'YOUR_API_LOGIN',
    host_url: 'https://occ.sn',
    product_id: 'YOUR_PRODUCT_ID'
  };
</script> 

Then, run poi to start a local webpack hot-reloading build:

poi

To build changes to be merged into the production experience, run:

poi build

Dependents (0)

Package Sidebar

Install

npm i occsn-checkout

Weekly Downloads

14

Version

0.0.16

License

MIT

Unpacked Size

7.98 MB

Total Files

139

Last publish

Collaborators

  • nicklandgrebe
  • kieranklaassen