Skip to content

3.4.0

Choose a tag to compare

@Stafox Stafox released this 19 Nov 13:13
60bf231

Added

  • New GooglePlay\Acknowledger class (__construct(\Google_Service_AndroidPublisher $service, $packageName, $productId, $purchaseToken), acknowledge(string $type = self::SUBSCRIPTION, string $developerPayload = ''): bool) with constants SUBSCRIPTION and PRODUCT, for acknowledging
    purchases as required by Google Play Billing Library v2. Failures are wrapped in
    \RuntimeException. Thanks to @passions-app
    (#108)
  • GooglePlay\AbstractResponse::getAcknowledgementState(): int and isAcknowledged(): bool, plus
    constants ACKNOWLEDGEMENT_STATE_YET_TO_BE = 0 and ACKNOWLEDGEMENT_STATE_DONE = 1, available on
    both PurchaseResponse and SubscriptionResponse.
    (#108)
  • Note: the original release notes credit @Orkin; the merge commit shows the PR came from the
    passions-app fork (author Florent Blaison).

Notes written from the code diff for this release; see CHANGELOG.md.