Business_Name; } $biz = AreteX_WPI::getBusiness(); $customer_id= $_REQUEST['linked_id']; if (empty($customer_id)) $customer_id = AreteX_WPI::customerSignedUp(); require_once(plugin_dir_path( __FILE__ ).'camlib.php'); $obj = getResource('contact'); $for = ''; if (! empty($obj->business_name)) $for = $obj->business_name.', '; $for = $obj->firstname . ' ' .$obj->lastname; $rebill = getResource('rebill_agreement'); if (! $rebill ) { // echo '

Rebill Agreements For:

Use the "View" button in the "Details" column to see the details of your customer's rebill authorization. You will be able to cancel the subscription or view the rebill payment history.

Rebill IDBilling Start DateProduct/ServiceStatusNext Bill DueDetails
rebill_id; $start_date = date('M d, Y',strtotime($obj->start_date)); $prod = $obj->product_name; $status = $obj->status; $next_bill_due = $obj->next_bill_due; $str = "$id$start_date$prod$status$next_bill_due" . ' '. ' View'. ""; return $str; } ?>