Core Feature

Mirror World now allows users to easily buy NFTs (ERC-721) with their credit card.

How to integrate

  1. The following information needs to be provided by the project:
Category Information Provided
Blockchain - Which blockchain to deploy on
Smart Contract Address
Product Name
URL of your collection image - the image display to your users
Price of your NFT - By default the price is set to be USD. If you wanna use other cryptocurrency, you can mentioned here. (We can also support dynamic pricing method)
Amount
ABI documents
Error types and error messages might appear during minting process (not required, but recommended)
Other functions in Smart Contract (not required, but recommended)
  1. check the remain amount of NFT in contract
  2. Check current minting price (dynamic pricing) | |
  3. After finishing testing progress on testnet, Mirror World will generate an API-key for each project. (The API-key will be used on production)
  4. The project will need to carry the following information for calling our API

API: https://nft-checkout.mirrorworld.fun/?collection_address={collection_address}&address={wallet_address}&mint_amount={amount}

NFT Checkout Service Data Flow

  1. Access the payment service through the Mirror World payment service API call and create an order
  2. Order will be updated every 10 seconds to recalculate order price, gas, etc.
  3. When users enter the payment page, they need to the finish the payment process within 1 mins. Otherwise, the payment will be expired and the order will need to be recalculated.
  4. After the payment is successful, Stripe will send webhook information to Mirror World’s Fait checkout service.
  5. When Mirror World receives the success message, the service will trigger the NFT mint progress.
  6. If the minting process fails, Mirror World will retry up to three times. If Mirror World finds no NFTs that can be minted, we will terminate the retry and enter the refund process.

Untitled

Contract Template