0.5.0 • Published 1 year ago

gei-stripe v0.5.0

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

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

1 year ago

0.4.9

1 year ago

0.4.8

2 years ago

0.4.5

2 years ago

0.4.4

2 years ago

0.4.6

2 years ago

0.4.1

2 years ago

0.4.3

2 years ago

0.4.2

2 years ago

0.4.0

2 years ago

0.3.6

2 years ago

0.3.5

2 years ago

0.3.4

2 years ago

0.3.3

2 years ago

0.3.2

2 years ago

0.3.1

2 years ago

0.3.0

2 years ago

0.2.2

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago

0.6.2

2 years ago