0.5.0 • Published 2 months ago
gei-stripe v0.5.0
How to use
Add to stucco.json
"azureOpts": {
"webhooks": [
"webhook/Mutation/webhook"
]
}
Here is how webhook looks in graphql
type Mutation{
webhook: String
}
On the server
Define webhook endpoint with link to your deployed backend, for example
yourbackend.com/webhook/mutation/webhook
https://dashboard.stripe.com/test/webhooks
Locally
To test endpoint locally wihtout defining webhook endpoint use commands below
stripe login
stripe listen --forward-to localhost:8080/webhook/mutation/webhook
stripe trigger payment_intent.succeeded
Used webhook events
customer.subscription.created
customer.subscription.updated
customer.subscription.deleted
product.created
product.updated
product.deleted
price.created
price.updated
price.deleted
checkout.session.completed
payment_intent.processing
payment_intent.canceled
payment_intent.succeeded
payment_intent.payment_failed
tax_rate.created
tax_rate.updated
invoice.paid
invoice.payment_succeeded
invoice.payment_failed
invoice.upcoming
invoice.marked_uncollectible
invoice.payment_action_required
customer.created
customer.deleted
customer.updated
customer.default_source_updated
account.external_account.created
account.external_account.deleted
account.external_account.updated
payment_method.attached
payment_method.detached
payment_method.updated
0.5.0
2 months ago
0.4.9
2 months ago
0.4.8
6 months ago
0.4.5
9 months ago
0.4.4
9 months ago
0.4.6
9 months ago
0.4.1
9 months ago
0.4.3
9 months ago
0.4.2
9 months ago
0.4.0
9 months ago
0.3.6
9 months ago
0.3.5
9 months ago
0.3.4
9 months ago
0.3.3
9 months ago
0.3.2
9 months ago
0.3.1
9 months ago
0.3.0
9 months ago
0.2.2
10 months ago
0.2.1
10 months ago
0.2.0
10 months ago
0.1.2
10 months ago
0.1.1
10 months ago
0.1.0
10 months ago
0.0.4
10 months ago
0.0.3
10 months ago
0.0.2
10 months ago
0.0.1
10 months ago
0.6.2
10 months ago