1.2.15 • Published 5 months ago

react-epaygames-button v1.2.15

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

react-epaygames-button

Epaygames Payment Gateway Button

How to use?

  1. Install the package using npm install react-epaygames-button or yarn add react-epaygames-button.
  2. Import the EpaygamesButton component from the package in your React component file using import EpaygamesButton from 'react-epaygames-button';
  3. Use the EpaygamesButton component in your JSX code to render a EpaygamesButton with the specified props. For example:
import React from 'react';
import EpaygamesButton from 'react-epaygames-button';

function MyComponent() {
  return (
    <EpaygamesButton
      payment_link="yourpaymentlink"
      disabled={false}
      callBackFunc: () => {
        setIsSuccess(true)
      }
    />
  );
}

The EpaygamesButton component accepts the following props:

  • window_width: optional type number the window width of Epaygames Browser.
  • window_height: optional type number the window height of Epaygames Browser.
  • payment_link: required type string the window url of Epaygames Browser.
  • btn_title: optional type string the button title url the default is MAKE PAYMENT.
  • btn_classname: optional type string the button className.
  • disabled: required type boolean the disabled attribute of button.
  • overlay_classname: optional type string the overlay className.
  • modal_classname: optional type string the modal className.
  • modal_btn_classname: optional type string the modal button className.
  • success_url: optional type string If provided, the payment window will redirect to the URL specified by this parameter after a successful payment.
  • failed_url: optional type string If provided, the payment window will redirect to the URL specified by this parameter after a failure payment.
  • onSuccess: optional type function function will be executed before closing the payment gateway.
  • onStart: optional type function If provided, this function will be called when the window is started.
  • onClose: optional type function If provided, this function will be called when the window is closed.
1.2.15

5 months ago

1.2.12

11 months ago

1.2.13

11 months ago

1.2.10

11 months ago

1.2.11

11 months ago

1.2.14

11 months ago

1.2.9

1 year ago

1.2.8

1 year ago

1.2.7

1 year ago

1.2.6

1 year ago

1.2.5

1 year ago

1.2.4

1 year ago

1.2.3

1 year ago

1.2.2

1 year ago

1.2.1

1 year ago

1.1.44

1 year ago

1.1.43

1 year ago

1.1.42

1 year ago

1.1.41

1 year ago

1.1.40

1 year ago

1.1.39

1 year ago

1.1.38

1 year ago

1.1.37

1 year ago

1.1.36

1 year ago

1.1.35

1 year ago

1.1.34

1 year ago

1.1.33

1 year ago

1.1.32

1 year ago

1.1.31

1 year ago

1.1.30

1 year ago

1.1.29

1 year ago

1.1.28

1 year ago

1.1.27

1 year ago

1.1.26

1 year ago

1.1.25

1 year ago

1.1.24

1 year ago

1.1.23

1 year ago

1.1.22

1 year ago

1.1.21

1 year ago

1.1.20

1 year ago

1.1.19

1 year ago

1.1.18

1 year ago

1.1.17

1 year ago

1.1.16

1 year ago

1.1.15

1 year ago

1.1.14

1 year ago

1.1.13

1 year ago

1.1.12

1 year ago

1.1.11

1 year ago

1.1.10

1 year ago

1.1.9

1 year ago

1.1.8

1 year ago

1.1.7

1 year ago

1.1.6

1 year ago

1.1.5

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago