Skip to content

Commit

Permalink
Add note about test rate limiting
Browse files Browse the repository at this point in the history
  • Loading branch information
driesvints authored Dec 12, 2023
1 parent 0edb532 commit 840e762
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@ Copy the default file using `cp phpunit.xml.dist phpunit.xml` and add the follow

<env name="STRIPE_SECRET" value="Your Stripe Testing Secret Key"/>

**Make sure to use your "testing" secret key and not your production secret key.** Please note that due to the fact that actual API requests against Stripe are being made, these tests take a few minutes to run.
**Make sure to use your "testing" secret key and not your production secret key.** Please note that due to the fact that actual API requests against Stripe are being made, these tests take a few minutes to run.

While running these tests a few times after each other you may run into Stripe's rate limiting for test mode. Unfortunately there's no way around this and the only solution is to wait a bit between running the tests.

0 comments on commit 840e762

Please sign in to comment.