0.0.16 • Published 6 years ago

occsn-checkout v0.0.16

Weekly downloads
2
License
MIT
Repository
-
Last release
6 years ago

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