New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

node-pagseguro2

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-pagseguro2 - npm Package Compare versions

Comparing version 0.2.2 to 0.3.0

2

package.json
{
"name": "node-pagseguro2",
"version": "0.2.2",
"version": "0.3.0",
"main": "index.js",

@@ -5,0 +5,0 @@ "description": "Integração PagSeguro UOL com checkout transparente para servidores backend",

@@ -118,3 +118,4 @@ # pagseguro-node2

reference: String, //opcional, padrão vazio - string identificadora do pedido
hash: String //senderHash gerado pela biblioteca do PagSeguro
hash: String, //senderHash gerado pela biblioteca do PagSeguro
noInterestInstallmentQuantity: Number //opcional, nº de parcelas s/ juros oferecido ao pagador (juros serão cobrados ao vendedor)
}, function(err, data) {

@@ -121,0 +122,0 @@

@@ -98,6 +98,7 @@ const request = require('request');

if (transaction.installments && transaction.installments > 1) {
this.checkoutData.noInterestInstallmentQuantity = transaction.installments;
if (transaction.noInterestInstallmentQuantity && transaction.noInterestInstallmentQuantity > 1) {
this.checkoutData.noInterestInstallmentQuantity = transation.noInterestInstallmentQuantity;
}
if (this.checkoutData.paymentMethod === 'creditCard') {

@@ -104,0 +105,0 @@ this.checkoutData.creditCardToken = transaction.credit_card_token;

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