1.1.6 • Published 9 months ago

cake-capital-checkout v1.1.6

Weekly downloads
-
License
ISC
Repository
-
Last release
9 months ago

Welcome to Cake Capital Checkout Node Library

The Cake Capital Checkout library provides convenient way to collect payments from your customers by providing built in checkout page, with very easy and minimal code implementation.

Installation

Install the package with:

npm i cake-capital-checkout
# or
npm install cake-capital-checkout

Usage

const cakeCapitalCheckout = require("cake-capital-checkout");
YOUR_DOMAIN = "https://..........";

var sessionUrl = await cakeCapitalCheckout.createSession({
    token: YOUR_MERCHANT_TOKEN,
    amount: 50.99,
    order_id: "dd_98765redfgy7........", // your unique order id
    cancel_url: YOUR_DOMAIN + "/cancel",
    success_url: YOUR_DOMAIN + "/success",
});

redirect(sessionUrl);

Token can be found in your Cake Capital Portal account.

1.1.6

9 months ago

1.1.5

9 months ago

1.1.4

9 months ago

1.1.3

9 months ago

1.1.2

9 months ago

1.1.1

9 months ago

1.1.0

9 months ago

1.0.9

9 months ago

1.0.8

9 months ago

1.0.7

10 months ago

1.0.6

10 months ago

1.0.5

10 months ago

1.0.4

10 months ago

1.0.3

10 months ago

1.0.2

10 months ago

1.0.1

10 months ago

1.0.0

10 months ago