Socket
Socket
Sign inDemoInstall

stripe-kanso

Package Overview
Dependencies
68
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    stripe-kanso

Kanso and CouchDB support for the Stripe payments API


Version published
Weekly downloads
1
decreased by-66.67%
Maintainers
1
Install size
2.93 MB
Created
Weekly downloads
 

Readme

Source

Kanso.js support for the Stripe API and webhooks

stripe_kanso is a Kanso Couch app to work with the Stripe payments system, in particular, the webhooks events.

Using webhooks

Stripe webhooks can work directly with CouchDB; however, the stripe_webhook update function adds some features.

In your Stripe settings, set the webhook URL:

  • Test: http://user:password@example.iriscouch.com/db/_design/stripe/_update/stripe_webhook?debug=true&keep=true
  • Live: https://user:password@example.iriscouch.com/db/_design/stripe/_update/stripe_webhook

For security, stripe_webhook strips all information from the incoming JSON except the event ID. To keep this data, add ?keep=true to the URL.

Views

This app includes a few views to dig through events (if you used ?keep=true).

  • stripe_created sorts events by their creation timestamp
  • stripe_mode_created sorts events
    1. First, by their livemode status (either true or false)
    2. Second, by their creation timestamp

License

Apache 2.0

Keywords

FAQs

Last updated on 08 May 2012

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc