Weble / ZohoBooksApi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot retrieve a recurring invoice

opened this issue · comments

Hello,

When :
$invoice = $zohoBooks->recurringinvoices->get($line['Recurring Invoice ID']);

Get :
Notice: Undefined index: recurringinvoice in \vendor\webleit\zohobooksapi\src\Modules\Module.php

Got a solution ?
Thanks

PS : Always on 2.2 beacause I don't success to generate Access Token

The fix was applied on 3.x

https://github.com/Weble/ZohoBooksApi/blob/develop/src/Modules/RecurringInvoices.php#L29

We don't update 2.x anymore, so either manually patch your version with the same fix, or move to 3.x as suggested :)