
Security News
Risky Biz Podcast: Making Reachability Analysis Work in Real-World Codebases
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
echezona-pop
Advanced tools
A Javasript library for integrating with the Echezona Pop.
npm install echezona-pop
import EchezonaPayPop from "echezona-pop";
// Initialize echezona Pay pop up
const echezonaPay = new EchezonaPayPop();
// Example: Initialize Payment popup
echezonaPay.newTransaction({
onSuccess: (transaction) => {
// Payment complete! transactionId: transaction.transactionId
},
onError: (error) => {
// handleError
},
onCancel: () => {
// user closed popup
},
authorizeUrl: "https://checkout-echezona.vercel.app/******",
request: {
amount: "2000.00",
transactionId: Math.floor(Math.random() * 1000000),
firstname: "John",
lastname: "Doe",
email: "sample@mail.com",
apiKey: "xxxxxxxxxxxxxxxxxxxxxxxxxx",
currency: "NGN",
isLive: true,
productId: "1001",
applyConviniencyCharge: true,
productDescription: "MTN",
bodyColor: "#0000",
buttonColor: "#0000",
footerText: "Powered by Test Ltd",
footerLink: "http://test.com",
footerLogo: "http://test.com/test.png",
metadata: [
{
name: "sample",
value: "test",
},
],
},
});
If you want to implement initialize payment from backend, just pass authorizeUrl
and leave request
parameter blank
To initialize the transaction, on request
parameter you'll need to pass information such as email, first name, last name amount, apiKey, etc. Email and amount are required. You can also pass any other additional information in the metadata object field. Here is the full list of parameters you can pass:
Param | Type | Default | Required | Description |
---|---|---|---|---|
amount | string | undefined | true | Amount you want to debit customer e.g 1000.00, 10.00... |
transactionId | string | undefined | true | Unique case sensitive transaction identification |
firstname | string | undefined | true | First name of customer |
lastname | string | undefined | true | Last name of customer |
string | undefined | true | Email address of customer | |
apiKey | string | undefined | true | Your genral API key from echezona dashboard. |
currency | string | NGN | true | Currency charge should be performed in. Allowed only NGN . |
productId | string | undefined | false | unique identification number of the product your customer want to pay to. |
applyConviniencyCharge | boolean | undefined | false | specify whether to apply charge for this customer transaction. |
productDescription | string | undefined | false | description number of the product your customer want to pay to. |
mode | string | Debug | true | Allowed values are Debug or Live . |
callBackUrl | string | your current url page | false | CallbackUrl is the url you want your customer to be redirected to when payment is successful. The default url is the page url where customer intialized payment. |
bodyColor | string | null | false | your prefered customized color for the payment page body. |
buttonColor | string | null | false | your prefered customized color for the payment page buttons. |
footerText | string | null | false | your prefered customized text for the payment page footer. |
footerLogo | string | null | false | your prefered customized logo for the payment page footer. |
metadata | object | empty object | false | Object containing any extra information you want recorded with the transaction. |
FAQs
Echezona merchant payment page popup.
The npm package echezona-pop receives a total of 7 weekly downloads. As such, echezona-pop popularity was classified as not popular.
We found that echezona-pop demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
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.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.