Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@clickpesa/checkout-link-widget

Package Overview
Dependencies
Maintainers
0
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@clickpesa/checkout-link-widget

[![npm](https://img.shields.io/npm/v/@clickpesa/checkout-link-widget)](https://www.npmjs.com/package/@clickpesa/checkout-link-widget) [![NPM](https://img.shields.io/npm/l/@clickpesa/checkout-link-widget)](https://www.npmjs.com/package/@clickpesa/checkout-

  • 1.0.6
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
4
decreased by-42.86%
Maintainers
0
Weekly downloads
 
Created
Source

npm NPM

Descriptions

  • Helps ClickPesa users to create checkout link to receive payments

Installation

npm install @clickpesa/checkout-link-widget

or

yarn add @clickpesa/checkout-link-widget

Usage

import CheckoutLinkWidget from "@clickpesa/checkout-link-widget";

<CheckoutLinkWidget
  clientId=""
  theme={{
    primaryColor: "primary color";
    fontFamily: "font-family";
    mode: "dark"
  }}
  orderDetails={{
    orderReference: "1234";
    orderCurrency: "TZS"
  }}
  close={(checkoutLink: string) => {
    console.log(checkoutLink)
  }}
/>;

## Props

| Name          | Type       | Default | Required | Description                    |
| ------------- | ---------- | ------- | -------- | ------------------------------ |
| clientId      | `string`   | ``      | `true`   | ClickPesa application clientId |
| theme         | `object`   | ``      | `false`  | Custom Theme                   |
| orderDetails | `object`   | ``      | `false`  | Initial Payout Details         |
| close         | `function` | ``      | `false`  | Callback onclose               |

Learn More

FAQs

Package last updated on 12 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc