Repository navigation
2.0.0
Added
iTunes\PurchaseItemclass withgetQuantity(),getProductId(),getWebOrderLineItemId(),
getTransactionId(),getOriginalTransactionId(),getPurchaseDate(),
getOriginalPurchaseDate(),getExpiresDate(),getCancellationDate()(dates asCarbon) and
getRawResponse(). The raw-data accessor was originally namedgetData()and read an undefined
property; fixed before release. Thanks to @tehmaestro
(#41)Amazon\PurchaseItemclass withgetQuantity(),getProductId(),getTransactionId(),
getPurchaseDate(),getCancellationDate()andgetRawResponse(), and
Amazon\Response::getPurchases()returning one such item.GooglePlay\Validator::__construct(\Google_Service_AndroidPublisher $service, $validationModePurchase = true),setValidationModePurchase(), andvalidate()which dispatches
tovalidatePurchase()orvalidateSubscription(). Thanks to @stanimir-kukudov
(#39)GooglePlay\Validator::getPublisherService()exposes the underlying
\Google_Service_AndroidPublisherfor other calls (voided purchases, refunds, revokes). Thanks to
@Stafox (#49)GooglePlay\SubscriptionResponse::getExpiryTimeMillis(),getUserCancellationTimeMillis(),
getPaymentState(), andGooglePlay\AbstractResponse::getRawResponse(). Thanks to
@stanimir-kukudov and @Stafox (#39,
#49)
Changed
- Breaking:
iTunes\Response::getPurchases()returnsiTunes\PurchaseItem[]instead of raw
in_apparrays (both iOS 7+ and legacy receipt formats). - Breaking:
iTunes\Response::parseJsonResponse()no longer takes an argument; the JSON array
is passed to the constructor only. - Breaking:
GooglePlay\AbstractResponse::getConsumptionState(),getDeveloperPayloadElement()
andgetPurchaseState()moved toGooglePlay\PurchaseResponse; they are no longer available on
SubscriptionResponse.AbstractResponse::getDeveloperPayload()now returns the Google object's
raw payload string, whilePurchaseResponse::getDeveloperPayload()keeps returning the
JSON-decoded array. (#39) GooglePlay\SubscriptionResponsegetters now call the
Google_Service_AndroidPublisher_SubscriptionPurchaseaccessor methods, andgetAutoRenewing()
is cast tobool. (#49)- composer: added
nesbot/carbon~1; PHP minimum lowered back to >= 5.5 (1.5.0 had raised it to
5.6);homepageandsupportrestored to the aporat repository (1.5.0 pointed them at a fork).
(#49)
Deprecated
GooglePlay\SubscriptionResponse::getExpiresDate()is deprecated in favour of
getExpiryTimeMillis(); it was introduced and deprecated within this release.
(#49)
Notes written from the code diff for this release; see CHANGELOG.md.