# test-reactjs-caleb

> paylode ReactJS Wrapper for quick integration

Latest version **1.0.8** (published 2023-09-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install test-reactjs-caleb
pnpm add test-reactjs-caleb
yarn add test-reactjs-caleb
bun add test-reactjs-caleb
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.8 |
| Published | 2023-09-14 |
| First published | 2023-08-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 254.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | caleb |
| Maintainers | kaileb |
| Keywords | palode, react, reactjs, paymentgateway |

## Links

- npm: https://www.npmjs.com/package/test-reactjs-caleb
- Repository: https://github.com/ogundelecaleb/checkout-sample
- Homepage: https://github.com/seerbit/seerbit-reactjs#readme
- Issues: https://github.com/seerbit/seerbit-reactjs/issues
- npm.io page: https://npm.io/package/test-reactjs-caleb

## Dependencies (1)

- [prop-types](https://npm.io/package/prop-types.md) ^15.5.4

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.0.8 (latest) — 2023-09-14
- 1.0.7 — 2023-08-21
- 1.0.6 — 2023-08-08
- 1.0.5 — 2023-08-07
- 1.0.4 — 2023-08-05
- 1.0.3 — 2023-08-05
- 1.0.2 — 2023-08-05
- 1.0.1 — 2023-08-05
- 1.0.0 — 2023-08-05

## README

<div align="center">
<img width="400" valign="top" src="https://i.ibb.co/XznNWXw/paylodelogo.png" alt="paylodelogo" border="0">
</div>

<h1 align="center">
  <img width="60" valign="bottom" src="https://reactnative.dev/img/header_logo.svg" alt="ReactJS">
   Paylode
</h1>

# Paylode Checkout Wrapper for ReactJS

# Requirements

This module was built and tested using React 15.0.0 - 18.0.0

## Get Started

Steps to add Paylode checkout to your React application

[![NPM](https://img.shields.io/npm/v/react-seerbit.svg)](https://www.npmjs.com/package/seerbit-reactjs) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

## Install

```bash
npm install --save paylode-reactjs
```

## Usage

```jsx
import React, { Component } from "react";
import PaylodeButton from "paylode-reactjs";

const App = () => {
  const close = (close) => {
    console.log(close);
  };
  const callback = (response) => {
    console.log(response);
  };

  const checkProgress = (progress) => {
    console.log(progress);
  };

  const options = {
    publicKey: "PLPK_**************",
    phoneNumber: "0900000000",
    email: "test@gmail.com",
    amount: total,
    currency: "NGN",
    onClose: function(data) {
      // alert("iFRAME CLOSED Now");
      // console.log("Returned data:", data);
    },
    onSuccess: function(data) {
      console.log("Returned data:", data);
    },
  };

  return (
    <PaylodeButton
     
      type="div"
      currency={options.currency}
      country={"NG"}
      publicKey={options.publicKey}
      onClose={options.onClose}
      scriptStatus={checkProgress}
      amount={options.amount}
      tag={"button"}
      firstname={options.firstname}
      lastname={options.lastname}
      email={options.lastname}
      phoneNumber={options.phoneNumber}
      title={"Pay with paylode"}
    />
  );
};

export default App;
```

Please checkout <a href='https://doc.paylode.com'>Paylode Developer Documentation</a> for other available options you can add to the tag

## License

MIT © [paylode](https://github.com/seerbit)

---
_Source: https://npm.io/package/test-reactjs-caleb · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
