Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add event querying and payment_intent events #239

Merged
merged 1 commit into from
Nov 14, 2024

Conversation

bpcreech
Copy link

@bpcreech bpcreech commented Oct 25, 2024

These features are technically separate but it's easier to test them together.

The Stripe event query API lets us filter by event type and timestamp.

Meanwhile payment_intent successes and failures generate events (this is particularly important for sepa_direct_debit which on the real Stripe API is typically pending for days, on the Stripe test API is typically pending for a minute or so, and in localstripe is pending for 0.5 seconds).

Copy link
Owner

@adrienverge adrienverge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello Ben,

It looks good! I tested it with curl -u sk_test_abc: http://localhost:8420/v1/events?limit=100 and it works fine.

Please just see my remarks about tests.

@bpcreech bpcreech force-pushed the feat/events branch 2 times, most recently from 692b464 to cd31935 Compare November 9, 2024 01:32
These features are technically separate but it's easier to test them together.

The Stripe event query API lets us filter by event type and timestamp.

Meanwhile payment_intent successes and failures generate events (this is
particularly important for sepa_direct_debit which on the real Stripe API
is typically pending for days, on the Stripe test API is typically pending
for a minute or so, and in localstripe is pending for 0.5 seconds).
Copy link
Owner

@adrienverge adrienverge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks again @bpcreech

@adrienverge adrienverge merged commit a8a79b7 into adrienverge:master Nov 14, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants