UNPKG

occsn-checkout

Version:

Occasion checkout experience boilerplate component built using React-Redux and Mitragyna

30 lines (21 loc) 531 B
# 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: ```html <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: ```shell poi ``` To build changes to be merged into the production experience, run: ```shell poi build ```