aporat / store-receipt-validator

PHP receipt validator for Apple iTunes, Google Play and Amazon App Store
Apache License 2.0
633 stars 153 forks source link

Fix json_encode deprecation warning #168

Closed sica07 closed 1 year ago

sica07 commented 1 year ago

Since developerPayload is not mandatory json_encode() will throw a deprecation warning in PHP8 when developerPayload is null.