1.0.84 • Published 4 years ago

react-kalpay v1.0.84

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

react-kalpay

A customizable component for kalpay built with React.

To install the latest stable version:

npm install --save react-kalpay

Basic usage (KalPay Checkout Button)

import React, { Component } from 'react';
import { KalPayCheckout } from 'react-kalpay';

export default class App extends Component {

  render() {
    return (
      <KalPayCheckout
        theme={"dark"} 
        borderRadius={"0px"} 
        merchantId={"02AjE5rGV0D1khhJUy8wDsluC59xddKC"}
        mode={"test"}
        callbackUrl={'https://kalpayfinancials.com'}
        totalBillAmount={1200}
        deliveryCharges={200}
      />
    );
  }
}

API

KalPay Info Popup

import React, { Component } from 'react';
import { KalPayInfoPopup } from 'react-kalpay';

const App = props => {

	const [open,setOpen] = React.useState(false)
	const  closeModal = () => setOpen(false)

    return (
      <KalPayInfoPopup
		open={open}
		closeModal={closeModal}
	  />
    );
}

export default App
1.0.84

4 years ago

1.0.83

4 years ago

1.0.82

4 years ago

1.0.80

4 years ago

1.0.81

4 years ago

1.0.79

4 years ago

1.0.7

4 years ago

1.0.73

4 years ago

1.0.72

4 years ago

1.0.71

4 years ago

1.0.77

4 years ago

1.0.76

4 years ago

1.0.75

4 years ago

1.0.74

4 years ago

1.0.78

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago