JSPM

@antelopejs/stripe

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 151
  • Score
    100M100P100Q76257F
  • License Apache-2.0

A flexible payment module that implements the Stripe interface of antelopejs

Package Exports

  • @antelopejs/stripe
  • @antelopejs/stripe/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@antelopejs/stripe) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Stripe

@antelopejs/stripe

NPM version License Discord Documentation

An extensive Stripe payment processing module that implements the Stripe interface for AntelopeJS.

Installation

ajs project modules add @antelopejs/stripe

Interfaces

This module implements the Stripe interface that provides comprehensive payment processing capabilities. The interface is installed separately to maintain modularity and minimize dependencies.

Name Install command
Stripe ajs module imports add stripe Documentation

Overview

The AntelopeJS Stripe module provides functionality for handling Stripe payment processing:

  • Payment intent creation and management
  • Webhook handling for Stripe events
  • Payment method retrieval
  • Payment monitoring and event watching
  • Cluster-aware payment processing with Redis

Dependencies

This module depends on the following Antelope interfaces:

  • API Interface: Required to handle Stripe webhook events and route them to the appropriate handlers
  • Redis Interface: Used to enable clustering capabilities, allowing payment intent monitoring and watching to work seamlessly across multiple instances

Configuration

The Stripe module can be configured with the following options:

{
  "apiKey": "your_stripe_api_key",
  "webhookSecret": "your_stripe_webhook_secret",
  "endpoint": "stripe"
}

Configuration Details

The module requires the following configuration properties:

  • apiKey: Your Stripe API key for authentication with the Stripe API
  • webhookSecret: Your Stripe webhook signing secret for verifying webhook events
  • endpoint: The base endpoint path for Stripe webhook controller (defaults to 'stripe' if not specified)

Additional configuration properties from the Stripe.js library configuration can also be provided.

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.