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

lightrail-stripe

Package Overview
Dependencies
Maintainers
4
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lightrail-stripe - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

2

package.json
{
"name": "lightrail-stripe",
"version": "0.0.1",
"version": "0.0.2",
"description": "A Javascript and Typescript library for creating Lightrail-Stripe integrated applications.",

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

@@ -24,3 +24,3 @@ # Lightrail Stripe Integration Library

Lightrail.configure({
apiKey: <LIGHTRAIL API KEY>
apiKey: "a23rtshs4.a245ty56j5st.90ejsirgormt"
})

@@ -99,61 +99,61 @@ ```

```json
{ lightrailTransaction:
{ value: -6200,
userSuppliedId: 'order-s3xx30-capture',
dateCreated: '2017-11-14T23:59:58.150Z',
transactionType: 'DRAWDOWN',
cardId: 'card-c99f0cdf9',
currency: 'USD',
transactionBreakdown: [ [Object] ],
transactionId: 'transaction-89e0a',
parentTransactionId: 'transaction-372e2',
metadata:
{ cart: {
total: 6960,
items: [ {
id: "B009L1MF7A",
quantity: 3,
unit_price: 2320,
tags: ["apparel", "outdoor"]
{ "lightrailTransaction":
{ "value": -6200,
"userSuppliedId": "order-s3xx30-capture",
"dateCreated": "2017-11-14T23:59:58.150Z",
"transactionType": "DRAWDOWN",
"cardId": "card-c99f0cdf9",
"currency": "USD",
"transactionBreakdown": {},
"transactionId": "transaction-89e0a",
"parentTransactionId": "transaction-372e2",
"metadata":
{ "cart": {
"total": 6960,
"items": [ {
"id": "B009L1MF7A",
"quantity": 3,
"unit_price": 2320,
"tags": ["apparel", "outdoor"]
} ]
},
_split_tender_total: 6960,
giftbit_initial_transaction_id: 'transaction-372e2',
_split_tender_partner: 'STRIPE',
_split_tender_partner_transaction_id: 'ch_1BOEJt' } },
stripeCharge:
{ id: 'ch_1BOEJt',
object: 'charge',
amount: 760,
balance_transaction: 'txn_1BOEJtE2',
captured: true,
created: 1510703997,
currency: 'usd',
metadata:
{ cart: {
total: 6960,
items: [ {
id: "B009L1MF7A",
quantity: 3,
unit_price: 2320,
tags: ["apparel", "outdoor"]
"_split_tender_total": 6960,
"giftbit_initial_transaction_id": "transaction-372e2",
"_split_tender_partner": "STRIPE",
"_split_tender_partner_transaction_id": "ch_1BOEJt" } },
"stripeCharge":
{ "id": "ch_1BOEJt",
"object": "charge",
"amount": 760,
"balance_transaction": "txn_1BOEJtE2",
"captured": true,
"created": 1510703997,
"currency": "usd",
"metadata":
{ "cart": {
"total": 6960,
"items": [ {
"id": "B009L1MF7A",
"quantity": 3,
"unit_price": 2320,
"tags": ["apparel", "outdoor"]
} ]
},
_split_tender_total: '6960',
_split_tender_partner: 'LIGHTRAIL',
_split_tender_partner_transaction_id: 'transaction-89e0a' },
outcome:
{ network_status: 'approved_by_network',
reason: null,
risk_level: 'normal',
seller_message: 'Payment complete.',
type: 'authorized' },
paid: true,
source:
{ id: 'card_1BOEJtE2wGcUjQW3iH0pk4Xf',
object: 'card',
brand: 'Visa',
country: 'US',
last4: '4242' },
status: 'succeeded' } }
"_split_tender_total": "6960",
"_split_tender_partner": "LIGHTRAIL",
"_split_tender_partner_transaction_id": "transaction-89e0a" },
"outcome":
{ "network_status": "approved_by_network",
"reason": null,
"risk_level": "normal",
"seller_message": "Payment complete.",
"type": "authorized" },
"paid": true,
"source":
{ "id": "card_1BOEJtE2wGcUjQW3iH0pk4Xf",
"object": "card",
"brand": "Visa",
"country": "US",
"last4": "4242" },
"status": "succeeded" } }
```

@@ -160,0 +160,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