Skip to content
This repository has been archived by the owner on Apr 10, 2019. It is now read-only.

Latest commit

 

History

History
39 lines (27 loc) · 721 Bytes

README.md

File metadata and controls

39 lines (27 loc) · 721 Bytes

code style: prettier

occsn-checkout

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

Install

$ yarn

Develop

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:

$ yarn poi

Build

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

$ yarn build