occsn-checkout
v0.0.16
Published
Occasion checkout experience boilerplate component built using React-Redux and Mitragyna
Downloads
13
Readme
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