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

medusa-payment-stripe

Package Overview
Dependencies
Maintainers
2
Versions
838
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

medusa-payment-stripe - npm Package Compare versions

Comparing version 1.1.3 to 1.1.4-next.9

4

package.json
{
"name": "medusa-payment-stripe",
"version": "1.1.3",
"version": "1.1.4-next.9+999e8053",
"description": "Stripe Payment provider for Meduas Commerce",

@@ -46,3 +46,3 @@ "main": "index.js",

},
"gitHead": "c2a075a6b166250cd997dd3f0e8e3f07178f6f39"
"gitHead": "999e8053ea6948184afbaebbae86beee10c72cd9"
}

@@ -382,3 +382,3 @@ "use strict";

intentRequest = {
amount: amount,
amount: Math.round(amount),
currency: currency_code,

@@ -649,3 +649,3 @@ setup_future_usage: "on_session",

case 6:
if (!(cart.total && sessionData.amount === cart.total)) {
if (!(cart.total && sessionData.amount === Math.round(cart.total))) {
_context10.next = 8;

@@ -659,3 +659,3 @@ break;

return _context10.abrupt("return", this.stripe_.paymentIntents.update(sessionData.id, {
amount: cart.total
amount: Math.round(cart.total)
}));

@@ -829,3 +829,3 @@

return this.stripe_.refunds.create({
amount: amountToRefund,
amount: Math.round(amountToRefund),
payment_intent: id

@@ -832,0 +832,0 @@ });

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