Updates to LIPP & Future Payments

- Updated LIPP Sample code
- Updated Future Payments to have helper functions for retrieving access token
- Updated Logging Syntax to include timestamp and response json
This commit is contained in:
japatel
2014-10-20 12:04:41 -05:00
parent dcc147ac7e
commit 84660cbb2a
42 changed files with 1156 additions and 789 deletions

View File

@@ -32,7 +32,7 @@ $invoice
// A resource representing merchant information that can be
// used to identify merchant
$invoice->getMerchantInfo()
->setEmail("PPX.DevNet-facilitator@gmail.com")
->setEmail("jaypatel512-facilitator@hotmail.com")
->setFirstName("Dennis")
->setLastName("Doctor")
->setbusinessName("Medical Professionals, LLC")

View File

@@ -7,7 +7,7 @@
require __DIR__ . '/../bootstrap.php';
use PayPal\Api\Invoice;
$invoiceId = "INV2-9DRB-YTHU-2V9Q-7Q24";
$invoiceId = "INV2-W4LC-6QS9-JZ62-VE4P";
// ### Retrieve Invoice
// Retrieve the invoice object by calling the

View File

@@ -16,7 +16,7 @@ try {
// on the Invoice class by passing a valid
// Invoice ID
// (See bootstrap.php for more on `ApiContext`)
$invoice = Invoice::get("INV2-9CAH-K5G7-2JPL-G4B4", $apiContext);
$invoice = Invoice::get("INV2-W4LC-6QS9-JZ62-VE4P", $apiContext);
// ### Notification Object
// This would send a notification to both merchant as well

View File

@@ -15,7 +15,7 @@ try {
// on the Invoice class by passing a valid
// Invoice ID
// (See bootstrap.php for more on `ApiContext`)
$invoice = Invoice::get("INV2-9DRB-YTHU-2V9Q-7Q24", $apiContext);
$invoice = Invoice::get("INV2-W4LC-6QS9-JZ62-VE4P", $apiContext);
// ### Send Invoice
// Send a legitimate invoice to the payer