Skip to content

4.4.0

Pre-release
Pre-release

Choose a tag to compare

@Stafox Stafox released this 20 Apr 10:52
f93f0e9

Added

  • GooglePlay\Validator::validateSubscriptionV2() and
    GooglePlay\Validator::setValidationSubscriptionV2(bool) call Google's
    purchases.subscriptionsv2.get endpoint; the result is wrapped in the new
    GooglePlay\SubscriptionV2Response class, which exposes the raw
    Google\Service\AndroidPublisher\SubscriptionPurchaseV2 via getRawResponse() and adds no
    V2-specific getters of its own. Thanks to @yankers
    (#171)

Changed

  • composer.json: new explicit dependency google/apiclient-services: ~0.249 (needed for the
    SubscriptionPurchaseV2 model and the purchases_subscriptionsv2 resource).
  • Note: as shipped in 4.4.0, setValidationSubscriptionV2() and validate() were wired incorrectly
    (see 4.4.1), so the V2 flow only works correctly from 4.4.1 onward; calling
    validateSubscriptionV2() directly worked in 4.4.0.

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