A Stacklane Connector for the Stripe API.
As a best practice, use Stripe's restricted API keys functionality.
/🔌.yaml
- https://github.com/stacklane-registry/stripe.com.git#!v1.0.3
This example reads active plans:
import {plans} from 'stripe.com';
const plans = plans.list({active:'true', limit: '100').data;
const usdPlans = plans.filter(plan=>plan.currency=='USD');
// ...
Configures Stripe’s browser-side JavaScript library, Stripe.js.
After importing, use the following:
<head>
...
<stripe.com-v3 defer/>
...
</head>
This applies the correct Content-Security-Policy and includes the <script> tag.