Socket
Socket
Sign inDemoInstall

ghost-payment-service

Package Overview
Dependencies
Maintainers
2
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ghost-payment-service - npm Package Compare versions

Comparing version 1.1.6 to 1.1.7

15

lib/stripe/stripeService.js

@@ -203,2 +203,17 @@ 'use strict';

* @param {object} data
* @param {string} data.planId
* @return Promise
*/
getPlan (data) {
return new Promise((resolve, reject) => {
this._stripe.plans.retrieve(data.planId, (err, plan) => {
if (err) reject(err);
else resolve(plan);
}
);
})
}
/**
* @param {object} data
* @param {string} data.cardId

@@ -205,0 +220,0 @@ * @param {string} data.customerId

2

package.json
{
"name": "ghost-payment-service",
"version": "1.1.6",
"version": "1.1.7",
"description": "nodejs client to interact with the authorize.net & stripe apis",

@@ -5,0 +5,0 @@ "main": "index.js",

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