snapshot of https://github.com/zulip/zulip.git @ 48c69911c7dd4e03b20552eb3bd77ad8151c1357 (2026-09-15)
Some checks failed
Code scanning / CodeQL (push) Failing after 15s
Zulip production suite / Ubuntu 22.04 production build (push) Failing after 26s
Zulip production suite / Debian 12 production install with custom db name and user (push) Has been skipped
Zulip production suite / Ubuntu 22.04 production install and PostgreSQL upgrade with pgroonga (push) Has been skipped
Zulip production suite / Ubuntu 24.04 production install (push) Has been skipped
Zulip production suite / Ubuntu 26.04 production install (push) Has been skipped
Zulip production suite / Debian 13 production install (push) Has been skipped
Zulip production suite / 7.0 Version Upgrade (push) Has been skipped
Zulip production suite / 8.0 Version Upgrade (push) Has been skipped
Zulip production suite / 6.0 Version Upgrade (push) Has been skipped
Zulip production suite / 10.0 Version Upgrade (push) Has been skipped
Zulip production suite / 9.0 Version Upgrade (push) Has been skipped
Zulip production suite / 12.0 Version Upgrade (push) Has been skipped
Zulip production suite / 11.0 Version Upgrade (push) Has been skipped
GitHub Actions Security Analysis with zizmor / zizmor (push) Failing after 3s
Zulip CI / Debian 12 (Python 3.11, backend + documentation) (push) Failing after 26s
Zulip CI / Ubuntu 22.04 (Python 3.10, backend + frontend) (push) Failing after 3s
Zulip CI / Ubuntu 24.04 (Python 3.12, backend) (push) Failing after 25s
Zulip CI / Ubuntu 26.04 (Python 3.14, backend) (push) Failing after 25s
Zulip CI / Debian 13 (Python 3.13, backend) (push) Failing after 28s
Zulip production suite / Required jobs (push) Has been cancelled
Zulip CI / Required jobs (push) Has been cancelled
API Documentation Update Check / check-feature-level-updated (push) Has been cancelled
API Documentation Update Check / notify-if-api-docs-changed (push) Has been cancelled
Some checks failed
Code scanning / CodeQL (push) Failing after 15s
Zulip production suite / Ubuntu 22.04 production build (push) Failing after 26s
Zulip production suite / Debian 12 production install with custom db name and user (push) Has been skipped
Zulip production suite / Ubuntu 22.04 production install and PostgreSQL upgrade with pgroonga (push) Has been skipped
Zulip production suite / Ubuntu 24.04 production install (push) Has been skipped
Zulip production suite / Ubuntu 26.04 production install (push) Has been skipped
Zulip production suite / Debian 13 production install (push) Has been skipped
Zulip production suite / 7.0 Version Upgrade (push) Has been skipped
Zulip production suite / 8.0 Version Upgrade (push) Has been skipped
Zulip production suite / 6.0 Version Upgrade (push) Has been skipped
Zulip production suite / 10.0 Version Upgrade (push) Has been skipped
Zulip production suite / 9.0 Version Upgrade (push) Has been skipped
Zulip production suite / 12.0 Version Upgrade (push) Has been skipped
Zulip production suite / 11.0 Version Upgrade (push) Has been skipped
GitHub Actions Security Analysis with zizmor / zizmor (push) Failing after 3s
Zulip CI / Debian 12 (Python 3.11, backend + documentation) (push) Failing after 26s
Zulip CI / Ubuntu 22.04 (Python 3.10, backend + frontend) (push) Failing after 3s
Zulip CI / Ubuntu 24.04 (Python 3.12, backend) (push) Failing after 25s
Zulip CI / Ubuntu 26.04 (Python 3.14, backend) (push) Failing after 25s
Zulip CI / Debian 13 (Python 3.13, backend) (push) Failing after 28s
Zulip production suite / Required jobs (push) Has been cancelled
Zulip CI / Required jobs (push) Has been cancelled
API Documentation Update Check / check-feature-level-updated (push) Has been cancelled
API Documentation Update Check / notify-if-api-docs-changed (push) Has been cancelled
This commit is contained in:
149
zerver/webhooks/stripe/fixtures/invoice_updated__open.json
Normal file
149
zerver/webhooks/stripe/fixtures/invoice_updated__open.json
Normal file
@@ -0,0 +1,149 @@
|
||||
{
|
||||
"object": "event",
|
||||
"type": "invoice.updated",
|
||||
"pending_webhooks": 1,
|
||||
"created": 1560063585,
|
||||
"livemode": false,
|
||||
"request": {
|
||||
"idempotency_key": null,
|
||||
"id": "req_wRT7KgbXvlQMfC"
|
||||
},
|
||||
"data": {
|
||||
"previous_attributes": {
|
||||
"status": "draft",
|
||||
"due_date": null,
|
||||
"invoice_pdf": null,
|
||||
"status_transitions": {
|
||||
"finalized_at": null
|
||||
},
|
||||
"number": "B7C8CA7D-DRAFT",
|
||||
"ending_balance": null,
|
||||
"payment_intent": null,
|
||||
"hosted_invoice_url": null
|
||||
},
|
||||
"object": {
|
||||
"default_tax_rates": [],
|
||||
"livemode": false,
|
||||
"tax": null,
|
||||
"number": "B7C8CA7D-0001",
|
||||
"attempt_count": 0,
|
||||
"currency": "usd",
|
||||
"payment_intent": "pi_1EjL0HHuGUuNWDDZ6TdrsWzQ",
|
||||
"default_payment_method": null,
|
||||
"total": 3000,
|
||||
"account_name": null,
|
||||
"custom_fields": [
|
||||
{
|
||||
"name": "Custom field",
|
||||
"value": "test value"
|
||||
}
|
||||
],
|
||||
"customer_name": "Test Customer",
|
||||
"customer_shipping": null,
|
||||
"customer_tax_ids": [],
|
||||
"invoice_pdf": "https://pay.stripe.com/invoice/invst_444pftvnD8HFMJCXHn6TQKTDMc/pdf",
|
||||
"billing": "send_invoice",
|
||||
"footer": "Some random help and legal information.",
|
||||
"description": "Thank you for your business!",
|
||||
"customer_phone": null,
|
||||
"id": "in_1EjKuzHuGUuNWDDZmFUP3FxU",
|
||||
"webhooks_delivered_at": 1560063257,
|
||||
"charge": null,
|
||||
"period_end": 1560063257,
|
||||
"discount": null,
|
||||
"customer_tax_exempt": "none",
|
||||
"post_payment_credit_notes_amount": 0,
|
||||
"metadata": {},
|
||||
"status": "open",
|
||||
"due_date": 1562655586,
|
||||
"pre_payment_credit_notes_amount": 0,
|
||||
"customer_email": "test_customer@test.gmail.com",
|
||||
"collection_method": "send_invoice",
|
||||
"statement_descriptor": null,
|
||||
"attempted": false,
|
||||
"amount_paid": 0,
|
||||
"object": "invoice",
|
||||
"amount_remaining": 3000,
|
||||
"paid": false,
|
||||
"customer_address": null,
|
||||
"auto_advance": true,
|
||||
"ending_balance": 0,
|
||||
"billing_reason": "manual",
|
||||
"hosted_invoice_url": "https://pay.stripe.com/invoice/invst_444pftvnD8HFMJCXHn6TQKTDMc",
|
||||
"period_start": 1560063257,
|
||||
"subtotal": 3000,
|
||||
"tax_percent": null,
|
||||
"subscription": null,
|
||||
"customer": "cus_FDmT2sIGjFskP2",
|
||||
"total_tax_amounts": [],
|
||||
"application_fee_amount": null,
|
||||
"next_payment_attempt": null,
|
||||
"created": 1560063257,
|
||||
"status_transitions": {
|
||||
"voided_at": null,
|
||||
"finalized_at": 1560063585,
|
||||
"marked_uncollectible_at": null,
|
||||
"paid_at": null
|
||||
},
|
||||
"default_source": null,
|
||||
"lines": {
|
||||
"has_more": false,
|
||||
"total_count": 2,
|
||||
"object": "list",
|
||||
"data": [
|
||||
{
|
||||
"discountable": true,
|
||||
"livemode": false,
|
||||
"description": "Watermelons",
|
||||
"subscription": null,
|
||||
"proration": false,
|
||||
"object": "line_item",
|
||||
"period": {
|
||||
"start": 1560063400,
|
||||
"end": 1560063400
|
||||
},
|
||||
"tax_rates": [],
|
||||
"currency": "usd",
|
||||
"amount": 1000,
|
||||
"invoice_item": "ii_1EjKxIHuGUuNWDDZhiVHinLl",
|
||||
"tax_amounts": [],
|
||||
"plan": null,
|
||||
"quantity": 2,
|
||||
"type": "invoiceitem",
|
||||
"id": "ii_1EjKxIHuGUuNWDDZhiVHinLl",
|
||||
"metadata": {}
|
||||
},
|
||||
{
|
||||
"discountable": true,
|
||||
"livemode": false,
|
||||
"description": "Apples",
|
||||
"subscription": null,
|
||||
"proration": false,
|
||||
"object": "line_item",
|
||||
"period": {
|
||||
"start": 1560063257,
|
||||
"end": 1560063257
|
||||
},
|
||||
"tax_rates": [],
|
||||
"currency": "usd",
|
||||
"amount": 2000,
|
||||
"invoice_item": "ii_1EjKuzHuGUuNWDDZKrPUb2KA",
|
||||
"tax_amounts": [],
|
||||
"plan": null,
|
||||
"quantity": 10,
|
||||
"type": "invoiceitem",
|
||||
"id": "ii_1EjKuzHuGUuNWDDZKrPUb2KA",
|
||||
"metadata": {}
|
||||
}
|
||||
],
|
||||
"url": "/v1/invoices/in_1EjKuzHuGUuNWDDZmFUP3FxU/lines"
|
||||
},
|
||||
"account_country": "US",
|
||||
"starting_balance": 0,
|
||||
"amount_due": 3000,
|
||||
"receipt_number": null
|
||||
}
|
||||
},
|
||||
"id": "evt_1EjL0IHuGUuNWDDZCFLOYrNv",
|
||||
"api_version": "2019-03-14"
|
||||
}
|
||||
Reference in New Issue
Block a user