# onlypass-capacitor-plugin

> The Onlpass API provides the ability to open an in-app browser and subscribe to payment gateways.

Latest version **1.0.0** (published 2022-02-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install onlypass-capacitor-plugin
pnpm add onlypass-capacitor-plugin
yarn add onlypass-capacitor-plugin
bun add onlypass-capacitor-plugin
```

## 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.0 |
| Published | 2022-02-06 |
| First published | 2022-02-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 41.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Marshalsoft |
| Maintainers | marshalsoft |
| Keywords | capacitor, plugin, native |

## Links

- npm: https://www.npmjs.com/package/onlypass-capacitor-plugin
- Repository: https://github.com/marshalsoft/onlypass-capacitor-plugin
- Homepage: https://github.com/marshalsoft/onlypass-capacitor-plugin#readme
- Issues: https://github.com/marshalsoft/onlypass-capacitor-plugin/issues
- npm.io page: https://npm.io/package/onlypass-capacitor-plugin

## Recent versions

- 1.0.0 (latest) — 2022-02-06

## README

# onlypass-capacitor-plugin

The Onlypass API provides One platform to access all payment and fintech services across Africa.

## Install

```bash
npm install onlypass-capacitor-plugin
npx cap sync
```

## Android

### Variables

This plugin will use the following project variables:
* amount:string;
*gateway:string; // (payment getways e.g paysack,flutterwave,monnify,voguepay) seperated by comma
* apikey:string;
* memo:string;

## Example

```typescript
import { Onlypass } from 'onlypass-capacitor-plugin';

const Payment = async () => {
  await Onlypass.PayNow({
    amount:"5000",
    gateway:"paysack,flutterwave,monnify,voguepay",
    memo:"Payment for shoe item",
    apikey:"onlypass-test"
  });
};
```

## API
<docgen-index>

* [`PayNow(...)`](#PayNow)
* [Interfaces](#interfaces)

</docgen-index>

<docgen-api>
<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->

### PayNow(...)

```typescript
PayNow(options: OpenOptions) => Promise<void>
```

</docgen-api>

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