Skip to content

4.3.0

Choose a tag to compare

@Stafox Stafox released this 10 Nov 21:10
142793d

Added

  • GooglePlay\SubscriptionResponse::getExternalAccountId() returns the subscription's
    externalAccountId. Thanks to @marijap93
    (#165)
  • Note: the original release notes spelled the method getExternalAccounId() and the commit subject
    says addExternalAccountId; the method actually added is getExternalAccountId().

Fixed

  • GooglePlay\PurchaseResponse::__construct() only calls json_decode() on developerPayload when
    the field is set, avoiding the PHP 8.1 "passing null to parameter #1 ($json) of type string is
    deprecated" notice for purchases with no developer payload. Thanks to @sica07
    (#168)

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