1.0.0 • Published 3 years ago

beemsandbox-checkout v1.0.0

Weekly downloads
50
License
ISC
Repository
-
Last release
3 years ago

Installation

npm install beemsandbox-checkout

or 

yarn add beemsandbox-checkout

usage

  • add the following html content to there respect postion on your page
    <div id="beem-button" data-price='2000 data-mobile='260740434567' data-productid='1'></div>
    <div id="beem-page" class="beem-page"></div>
    • data-price - The price of the item (required)
    • data-mobile- Mobile number of the client who is purcahsing the item (optional)
    • data-productid - if you wish to integrate collection you can add this (optional)
      • you can obtain it on the app
  • after adding those to there respective places just initialize the library

       import initializeBeem from 'beemsandbox-checkout';
       useEffect(() => {
           initializeBeem()
       }, [])
1.0.0

3 years ago