Repository navigation
3.4.0
Added
- New
GooglePlay\Acknowledgerclass (__construct(\Google_Service_AndroidPublisher $service, $packageName, $productId, $purchaseToken),acknowledge(string $type = self::SUBSCRIPTION, string $developerPayload = ''): bool) with constantsSUBSCRIPTIONandPRODUCT, for acknowledging
purchases as required by Google Play Billing Library v2. Failures are wrapped in
\RuntimeException. Thanks to @passions-app
(#108) GooglePlay\AbstractResponse::getAcknowledgementState(): intandisAcknowledged(): bool, plus
constantsACKNOWLEDGEMENT_STATE_YET_TO_BE = 0andACKNOWLEDGEMENT_STATE_DONE = 1, available on
bothPurchaseResponseandSubscriptionResponse.
(#108)- Note: the original release notes credit @Orkin; the merge commit shows the PR came from the
passions-appfork (author Florent Blaison).
Notes written from the code diff for this release; see CHANGELOG.md.