
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
node-instapago
Advanced tools
Simple promise based Instapago (payment service http://instapago.com/ ) Client for NodeJs.
npm install node-instapago
constructor(String: apiKey, String:publicKey)createPayment(Payment: paymentParameters, Bool: ispreAuthorized) : PromisecompletePayment(Payment: paPaymentParameters) : PromisegetPaymentDetails(String: paymentId) : PromisecancelPayment(String: paymentId) : PromisePayMent = {
amount,
description,
cardHolder,
cardHolderId,
cardNumber,
cvc,
expirationDate,
ip,
orderNumber,
address,
city,
zipCode,
state
}
var instapago = require("instapago");
var _instaPago = new instapago("[YOUR_API_KEY]", "[YOUR_PUBLIC_KEY]");
var paymentPAHandler = function(params) {
//_instaPago.completePayment(params).then(res=>console.log("res.data")).catch(err=>console.log(err, "completePayment error"));
_instaPago.getPaymentDetails(params).then(res => console.log("res.data")).catch(err => console.log(err, "completePayment error"));
_instaPago.cancelPayment(params).then(res => console.log(res, "resputa cancelPayment")).catch(err => console.log(err, "completePayment error"));
}
eventEmitter.on('paymentPA', paymentPAHandler);
var payment = {
"amount": 100,
"description": "Test payment",
"cardHolder": "John Doe",
"cardHolderId": "105682414",
"cardNumber": "4111111111111111",
"cvc": 621,
"expirationDate": "07/2020",
"statusId": 2,
"ip": "[YOUR_SERVER_IP]",
"orderNumber": 1256,
"address": "Test Address",
"city": "caracas",
"zipCode": 1010,
"state": "DC"
}
_instaPago.createPayment(payment, true)
.then(response => eventEmitter.emit('paymentPA', { "Id": response.data.id, "amount": response.data.amount }))
.catch(err => console.log(err, "error"));
FAQs
Simple Instapago Client for NodeJs
We found that node-instapago demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.