0.2.6 • Published 3 years ago

lunarpay-react v0.2.6

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

Lunar Pay React

Integrate LunarPay into your frontend easily.

Installation

Install the package with npm or yarn with either of the following commands.

npm i lunarpay-react
yarn add lunarpay-react

Make sure to import the LunarPay component from the library after it is installed

import LunarPay from 'lunarpay-react'

Usage

import './App.css'

import LunarPay from 'lunarpay-react'

import React from 'react'

function App() {
  return (
    <div className='App'>
      <LunarPay
        productId='PgpaIh55jUWSaptdh0arGfus' // Get the Product ID from the Lunar Dashboard
        email='customer@gmail.com' // Email of the customer
      />
    </div>
  )
}

export default App

Options

productId (required) Get the product ID from the Lunar Dashboard.

email (required) Email of the customer.

License

MIT

0.2.6

3 years ago

0.2.5

3 years ago

0.2.4

3 years ago

0.2.3

3 years ago

0.2.2

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.1.9

3 years ago

0.1.8

3 years ago

0.1.7

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

4 years ago

0.1.0

4 years ago