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

@paystack/inline-js

Package Overview
Dependencies
Maintainers
0
Versions
143
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@paystack/inline-js - npm Package Compare versions

Comparing version 2.22.1-dev.1 to 2.22.1-dev.2

2

package.json
{
"name": "@paystack/inline-js",
"version": "2.22.1-dev.1",
"version": "2.22.1-dev.2",
"description": "Client-side library to load the Paystack checkout form",

@@ -5,0 +5,0 @@ "main": "lib/inline.js",

@@ -116,8 +116,8 @@ Public Docs

| Event Name | Description | Response Properties |
| Function Name | Description | Function Parameters |
| -------------------- | ----------------------------------------------------| ---------------------------------------------------------- |
| onError | Called when the transaction was not successfully loaded | `{ message: error message from API }` |
| onError | Called when the transaction was not successfully loaded | `{ message: "error message from API" }` |
| onCancel | Called when the customer cancels the transaction | |
| onLoad | Called when the transaction is successful loaded and the customer can see the checkout form | `{ id: transaction id from API, customer: customer object from API, accessCode: transaction access code }` |
| onSuccess | Called when the customer successfully completes a transaction | `{ id: transaction id from API, reference: transaction reference, message: message from API }` |
| onLoad | Called when the transaction is successfully loaded and the customer can see the checkout form | `{ id: "transaction id from API", customer: "customer object from API", accessCode: "transaction access code" }` |
| onSuccess | Called when the customer successfully completes a transaction | `{ id: "transaction id from API", reference: "transaction reference", message: "message from API" }` |

@@ -190,8 +190,8 @@

| Function Name | Description | Response Properties |
| -------------------- | ----------------------------------------------------| ---------------------------------------------------------- |
| onError | Called when the transaction was not successfully loaded | `{ message: error message from API }` |
| onCancel | Called when the customer cancels the transaction | |
| onLoad | Called when the transaction is successful loaded and the customer can see the checkout form | `{ id: transaction id from API, customer: customer object from API, accessCode: transaction access code }` |
| onSuccess | Called when the customer successfully completes a transaction | `{ id: transaction id from API, reference: transaction reference, message: message from API }` |
| Function Name | Description | Callback Parameters |
| -------------------------- | ----------------------------------------------------| ---------------------------------------------------------- |
| onError | Called when the transaction was not successfully loaded | `{ message: "error message from API" }` |
| onCancel | Called when the customer cancels the transaction | |
| onLoad | Called when the transaction is successfully loaded and the customer can see the checkout form | `{ id: "transaction id from API", customer: "customer object from API", accessCode: "transaction access code" }` |
| onSuccess | Called when the customer successfully completes a transaction | `{ id: "transaction id from API", reference: "transaction reference", message: "message from API" }` |

@@ -198,0 +198,0 @@ ## Method Response

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