diff --git a/lib/PayPal/Api/CreditCard.php b/lib/PayPal/Api/CreditCard.php index 87cfb09..0994e47 100644 --- a/lib/PayPal/Api/CreditCard.php +++ b/lib/PayPal/Api/CreditCard.php @@ -469,7 +469,7 @@ class CreditCard extends PPModel implements IResource { } $call = new PPRestCall($apiContext); $json = $call->execute(array('PayPal\Rest\RestHandler'), "/v1/vault/credit-card/{$this->getId()}", "DELETE", $payLoad); - return; + return true; } /* diff --git a/lib/PayPal/Api/Invoice.php b/lib/PayPal/Api/Invoice.php index 90df2a7..8b83f62 100644 --- a/lib/PayPal/Api/Invoice.php +++ b/lib/PayPal/Api/Invoice.php @@ -789,7 +789,7 @@ class Invoice extends PPModel implements IResource { } $call = new PPRestCall($apiContext); $json = $call->execute(array('PayPal\Rest\RestHandler'), "/v1/invoicing/invoices/{$this->getId()}/send", "POST", $payLoad); - return; + return true; } /* @@ -812,7 +812,7 @@ class Invoice extends PPModel implements IResource { } $call = new PPRestCall($apiContext); $json = $call->execute(array('PayPal\Rest\RestHandler'), "/v1/invoicing/invoices/{$this->getId()}/remind", "POST", $payLoad); - return; + return true; } /* @@ -835,7 +835,7 @@ class Invoice extends PPModel implements IResource { } $call = new PPRestCall($apiContext); $json = $call->execute(array('PayPal\Rest\RestHandler'), "/v1/invoicing/invoices/{$this->getId()}/cancel", "POST", $payLoad); - return; + return true; } /* @@ -858,7 +858,7 @@ class Invoice extends PPModel implements IResource { } $call = new PPRestCall($apiContext); $json = $call->execute(array('PayPal\Rest\RestHandler'), "/v1/invoicing/invoices/{$this->getId()}/record-payment", "POST", $payLoad); - return; + return true; } /* @@ -881,7 +881,7 @@ class Invoice extends PPModel implements IResource { } $call = new PPRestCall($apiContext); $json = $call->execute(array('PayPal\Rest\RestHandler'), "/v1/invoicing/invoices/{$this->getId()}/record-refund", "POST", $payLoad); - return; + return true; } /* @@ -960,6 +960,6 @@ class Invoice extends PPModel implements IResource { } $call = new PPRestCall($apiContext); $json = $call->execute(array('PayPal\Rest\RestHandler'), "/v1/invoicing/invoices/{$this->getId()}", "DELETE", $payLoad); - return; + return true; } }