Repository navigation
2.0.6
Added
iTunes\Validator::setExcludeOldTransactions(bool $exclude)andgetExcludeOldTransactions();
theexclude-old-transactionsflag is now always sent in the verifyReceipt request body (default
false). Thanks to @leesherwood
(#65)
Changed
- Breaking: composer now requires PHP >= 7.0 (was 5.5);
phpunitdev dependency moved to ^6.0. - Breaking:
iTunes\Validator::__construct(string $endpoint)and
Amazon\Validator::__construct(string $endpoint)gained astringtype hint, and
setEndpoint(string $endpoint)likewise, so passingnullnow raises aTypeError. - Return types declared across the API:
isValid(): bool,getResultCode(): int(Amazon),
parseJsonResponse(): self,getEndpoint(): string, andselfon fluent setters (setUserId,
setReceiptId,setDeveloperSecret,setReceiptData,setSharedSecret).
Notes written from the code diff for this release; see CHANGELOG.md.