winter-marketplace-checkout

1.1.20 • Public • Published

marketplace-npm-package

🚀🚀 React package to integrate Winter checkout 🚀🚀

🚨Note: Depending on your marketplace's smart contracts, this integration may differ. Please contact us at marketplaces@usewinter.com and we can help you!

Installation

npm i winter-marketplace-checkout

OR

yarn add winter-marketplace-checkout

Usage in your react app

import WinterCheckout from 'winter-marketplace-checkout/lib/WinterCheckout'

<WinterCheckout
    showModal={showWinterModal}
    contractAddress={"0xef2d92168835eb485d79733a0274fc5866025c17"}
    tokenId={"134"}
    production={true}
    language={'chinese'}
    // Will only source orders from this marketplace - Don't pass in this var if you are an aggregator
    orderSource={'{{MARKETPLACE_URL}}'}
    // For analytics purposes this will show us which marketplace the purchase came through
    fillSource={'{{MARKETPLACE_URL}}'}
    onClose={() => {
      setShowWinterModal(false);
    }}
/>

Readme

Keywords

none

Package Sidebar

Install

npm i winter-marketplace-checkout

Weekly Downloads

10

Version

1.1.20

License

ISC

Unpacked Size

5.92 kB

Total Files

4

Last publish

Collaborators

  • azianmike