teamtnt / php-stripe-webhook-tester

A PHP package for testing Stripe Webhooks localy
MIT License
97 stars 24 forks source link

Stripe API version #7

Closed nikolaynesov closed 6 years ago

nikolaynesov commented 7 years ago

Why does the package use '2014-09-08' (from README)? If I change the version to something more recent then 2015-04-07. it fails with: TeamTNT\Stripe\InvalidEventException: Event does not exist in version triggering the event 'charge.succeeded'. Can I use '2016-10-19' with 'charge.succeeded' event?

nticaric commented 7 years ago

Here's the list of versions that are available

https://github.com/teamtnt/php-stripe-webhook-tester/tree/master/src/webhooks

Feel free to add some new versions.

pierrocknroll commented 6 years ago

Why the default version is not the last, but the first ?!