imdhemy / laravel-iap-docs

Laravel in app purchase documentation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting "Call to undefined method Imdhemy\\Purchases\\Subscription::verify()"

imdhemy opened this issue · comments

commented

Discussed in imdhemy/laravel-in-app-purchases#348

Originally posted by jamesbhatta June 18, 2023
Hi there. I had a fresh install of the pakage and configured app store credentials.Calling $receiptResponse = Subscription::appStore()->receiptData($receipt)->verify(); throws an error Call to undefined method Imdhemy\\Purchases\\Subscription::verify(). Do I need to change verify() to verifyReceipt() for renewal subscriptions?

Target class [Imdhemy\Purchases\Handlers\JwsParser] does not exist.