Hello guys I’m trying to generate a invoice for a recurring order but the problem is I’m not able to generate a invoice. Can somebody tell me what is it that is going wrong
$data = $this->infusionsoftService->invoices()->addRecurringOrder($contactID, false,
$subscription['id'], 1, $subscription['PlanPrice'], false, 3, $creditCardID, 0, 0);
return $this->infusionsoftService->invoices()->createInvoiceForRecurring($subscription['id']);