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

ccashcow-server

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ccashcow-server - npm Package Compare versions

Comparing version 2.0.0-beta.1 to 2.0.0

5

dist/lib/payment/coinbase-commerce/start.js

@@ -22,3 +22,6 @@ "use strict";

name: process.enve.NAME,
local_price: { amount: payment.amount / 100, currency: 'USD' },
local_price: {
currency: process.enve.CURRENCY,
amount: payment.amount * process.enve.CURRENCY_MODIFIER
},
redirect_url: `${process.enve.CCASHCOW_WEB_URL}?jwt=${jwt}`,

@@ -25,0 +28,0 @@ pricing_type: 'fixed_price'

4

dist/lib/payment/square/start.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const storage = require("node-persist");
const sign_1 = require("lib/jwt/sign");
const axios_1 = require("axios");
const sign_1 = require("lib/jwt/sign");
async function startSquarePayment(paymentId) {

@@ -27,3 +27,3 @@ // Get payment

base_price_money: {
currency: 'USD',
currency: process.enve.CURRENCY,
amount: payment.amount

@@ -30,0 +30,0 @@ }

@@ -28,3 +28,6 @@ import * as storage from 'node-persist';

name: process.enve.NAME,
local_price: { amount: payment.amount / 100, currency: 'USD' },
local_price: {
currency: process.enve.CURRENCY,
amount: payment.amount * process.enve.CURRENCY_MODIFIER
},
redirect_url: `${process.enve.CCASHCOW_WEB_URL}?jwt=${jwt}`,

@@ -31,0 +34,0 @@ pricing_type: 'fixed_price'

import * as storage from 'node-persist';
import { CCashCow } from 'types/ccashcow';
import { signJWT } from 'lib/jwt/sign';
import axios from 'axios';
import { signJWT } from 'lib/jwt/sign';

@@ -34,3 +34,3 @@ export async function startSquarePayment(

base_price_money: {
currency: 'USD',
currency: process.enve.CURRENCY,
amount: payment.amount

@@ -37,0 +37,0 @@ }

{
"name": "ccashcow-server",
"version": "2.0.0-beta.1",
"version": "2.0.0",
"description": "Accept credit cards and cryptocurrencies. Dead simple user payment system so easy a cow could do it.",

@@ -5,0 +5,0 @@ "main": "dist/app.js",

The server portion of [ccashcow](https://github.com/Xyfir/ccashcow).
Built and mantained by **[Ptorx](https://ptorx.com)** and other **[Xyfir](https://www.xyfir.com)** projects.

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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