Repository navigation
3.5.0
Added
GooglePlay\Acknowledgerconstructor accepts a fifth$strategyargument with new constants
ACKNOWLEDGE_STRATEGY_EXPLICIT(default; calls acknowledge unconditionally, as before) and
ACKNOWLEDGE_STRATEGY_IMPLICIT(first fetches the purchase and only acknowledges if
acknowledgementStateis not already done). An unknown strategy throws
ReceiptValidator\RunTimeException. Thanks to @passions-app
(#110)
Changed
- Breaking:
robrichards/xmlseclibsconstraint tightened from^2.0|^3.0to^3.0.4(drops
xmlseclibs 2.x) to clear security-advisory warnings. Other constraints were rewritten from~to
^form (php: ^7.1,guzzlehttp/guzzle: ^6.3,google/apiclient: ^2.0) with no effective
change. GooglePlay\Acknowledger::acknowledge()now re-throws wrapped exceptions with$e->getCode()as
the message instead of$e->getMessage(), so the original error text is lost (looks
unintentional). (#110)- Note: the original release notes credit @Orkin; the merge commit shows the PR came from the
passions-appfork (author Florent Blaison).
Notes written from the code diff for this release; see CHANGELOG.md.