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

Trying json_encode #160

Closed jesselpereira closed 2 years ago

jesselpereira commented 2 years ago

Hello, how can I be capturing the $response information in an array?

Thanks a lot.

Stafox commented 2 years ago

Hey.

for iOS validation you can just try $response->getRawData(). https://github.com/aporat/store-receipt-validator/blob/master/src/iTunes/AbstractResponse.php#L233