stripe-sync-engine
stripe-sync-engine copied to clipboard
Test webhooks cannot call "customer.created"
Bug report
Describe the bug
After setting up a stripe account, if the webhooks are added in "test mode", webhooks seems like missing the field next_invoice_sequence which creates the following error;
Missing value for statement.\nnext_invoice_sequence not provided for statement
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
- Create a webhook in test mode
- Enable it and trigger a test webhook or go through a payment in "test mode".
- See error
Expected behavior
No 500's are returned and data is inserted to PostgreSQL.
customer.updated also has the same issue, while invoice webhooks fail withnext_invoice_sequence
Hmm I wonder if I broke something with my latest release https://github.com/supabase/stripe-sync-engine/compare/v0.1.4...v0.2.0
@kiwicopple doesn't seem those changes are related to this issue. Was it working under "test mode"? I was thinking maybe this parameter is missing from "test mode"?
Hey. I wonder is this problem get handled? Seem it found a year before
I'll close this for now. If anyone else encounters this error, please let us know
I found the same error with both the test and production versions of Stripe
same issue here
:tada: This issue has been resolved in version 0.20.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket: