AppStoreClient icon indicating copy to clipboard operation
AppStoreClient copied to clipboard

initializeByObject array given

Open olsisaqe opened this issue 10 years ago • 5 comments

Error while trying to verify auto renewable subscription: Argument 1 passed to alxmsl\AppStore\Response\RenewableReceipt::initializeByObject() must be an instance of stdClass, array given,

olsisaqe avatar Dec 09 '15 13:12 olsisaqe

Which release version of AppStoreClient did you use?

alxmsl avatar Dec 10 '15 13:12 alxmsl

Im currently using: 1.1.0

olsisaqe avatar Dec 10 '15 13:12 olsisaqe

It's possible for iOS7 receipts on this version of code. Could you upgrade to a newest release version?

alxmsl avatar Dec 10 '15 13:12 alxmsl

With the latest 1.2.2 version i receive an error: Call to undefined method alxmsl\AppStore\Response\iOS7\ResponsePayload::getLatestReceiptInfo()

olsisaqe avatar Dec 10 '15 13:12 olsisaqe

Actually ResponsePayload don't have getLatestReceiptInfo... because iOS7 receipt doesn't have latest_receipt_info field. Where's this method called?

alxmsl avatar Dec 10 '15 14:12 alxmsl