Repository navigation
4.4.0
Pre-release
Pre-release
Added
GooglePlay\Validator::validateSubscriptionV2()and
GooglePlay\Validator::setValidationSubscriptionV2(bool)call Google's
purchases.subscriptionsv2.getendpoint; the result is wrapped in the new
GooglePlay\SubscriptionV2Responseclass, which exposes the raw
Google\Service\AndroidPublisher\SubscriptionPurchaseV2viagetRawResponse()and adds no
V2-specific getters of its own. Thanks to @yankers
(#171)
Changed
composer.json: new explicit dependencygoogle/apiclient-services: ~0.249(needed for the
SubscriptionPurchaseV2model and thepurchases_subscriptionsv2resource).- Note: as shipped in 4.4.0,
setValidationSubscriptionV2()andvalidate()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.