Skip to content

Commit

Permalink
Merge pull request #197 from angelleye/PPL-160
Browse files Browse the repository at this point in the history
PPL-160
  • Loading branch information
Drew Angell authored Jun 2, 2019
2 parents 86e0e2e + f962073 commit 0b01050
Show file tree
Hide file tree
Showing 236 changed files with 285 additions and 42 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
*/

$configArray = array(
'Sandbox' => $sandbox,
'ClientID' => $rest_client_id,
'ClientSecret' => $rest_client_secret,
'LogResults' => $log_results,
Expand Down
1 change: 1 addition & 0 deletions demo/rest/rest-checkout-line-items-v1/ExecutePayment.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
*/

$configArray = array(
'Sandbox' => $sandbox,
'ClientID' => $rest_client_id,
'ClientSecret' => $rest_client_secret,
'LogResults' => $log_results,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
*/

$configArray = array(
'Sandbox' => $sandbox,
'ClientID' => $rest_client_id,
'ClientSecret' => $rest_client_secret,
'LogResults' => $log_results,
Expand Down
1 change: 1 addition & 0 deletions demo/rest/rest-checkout-line-items-v2/CaptureOrder.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
*/

$configArray = array(
'Sandbox' => $sandbox,
'ClientID' => $rest_client_id,
'ClientSecret' => $rest_client_secret,
'LogResults' => $log_results,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
* Then load the PayPal object into $PayPal
*/
$configArray = array(
'Sandbox' => $sandbox,
'ClientID' => $rest_client_id,
'ClientSecret' => $rest_client_secret,
'LogResults' => $log_results,
Expand Down
1 change: 1 addition & 0 deletions demo/rest/rest-checkout-line-items-v2/GetOrderDetails.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
require_once '../../../includes/config.php';

$configArray = array(
'Sandbox' => $sandbox,
'ClientID' => $rest_client_id,
'ClientSecret' => $rest_client_secret,
'LogResults' => $log_results,
Expand Down
1 change: 1 addition & 0 deletions samples/rest/billing_agreements/BillAgreementBalance.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

// Create PayPal object.
$configArray = array(
'Sandbox' => $sandbox,
'ClientID' => $rest_client_id,
'ClientSecret' => $rest_client_secret,
'LogResults' => $log_results,
Expand Down
1 change: 1 addition & 0 deletions samples/rest/billing_agreements/CancelBillingAgreement.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

// Create PayPal object.
$configArray = array(
'Sandbox' => $sandbox,
'ClientID' => $rest_client_id,
'ClientSecret' => $rest_client_secret,
'LogResults' => $log_results,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
require_once('../../../includes/config.php');

$configArray = array(
'Sandbox' => $sandbox,
'ClientID' => $rest_client_id,
'ClientSecret' => $rest_client_secret,
'LogResults' => $log_results,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
require_once('../../../includes/config.php');

$configArray = array(
'Sandbox' => $sandbox,
'ClientID' => $rest_client_id,
'ClientSecret' => $rest_client_secret,
'LogResults' => $log_results,
Expand Down
1 change: 1 addition & 0 deletions samples/rest/billing_agreements/ExecuteAgreement.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@


$configArray = array(
'Sandbox' => $sandbox,
'ClientID' => $rest_client_id,
'ClientSecret' => $rest_client_secret,
'LogResults' => $log_results,
Expand Down
1 change: 1 addition & 0 deletions samples/rest/billing_agreements/GetBillingAgreement.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
require_once('../../../includes/config.php');

$configArray = array(
'Sandbox' => $sandbox,
'ClientID' => $rest_client_id,
'ClientSecret' => $rest_client_secret,
'LogResults' => $log_results,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
require_once('../../../includes/config.php');

$configArray = array(
'Sandbox' => $sandbox,
'ClientID' => $rest_client_id,
'ClientSecret' => $rest_client_secret,
'LogResults' => $log_results,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
require_once('../../../includes/config.php');

$configArray = array(
'Sandbox' => $sandbox,
'ClientID' => $rest_client_id,
'ClientSecret' => $rest_client_secret,
'LogResults' => $log_results,
Expand Down
1 change: 1 addition & 0 deletions samples/rest/billing_agreements/SetAgreementBalance.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
require_once('../../../includes/config.php');

$configArray = array(
'Sandbox' => $sandbox,
'ClientID' => $rest_client_id,
'ClientSecret' => $rest_client_secret,
'LogResults' => $log_results,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
require_once('../../../includes/config.php');

$configArray = array(
'Sandbox' => $sandbox,
'ClientID' => $rest_client_id,
'ClientSecret' => $rest_client_secret,
'LogResults' => $log_results,
Expand Down
1 change: 1 addition & 0 deletions samples/rest/billing_agreements/UpdateBillingAgreement.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
require_once('../../../includes/config.php');

$configArray = array(
'Sandbox' => $sandbox,
'ClientID' => $rest_client_id,
'ClientSecret' => $rest_client_secret,
'LogResults' => $log_results,
Expand Down
1 change: 1 addition & 0 deletions samples/rest/billing_plans/CreatePlan.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
require_once('../../../includes/config.php');

$configArray = array(
'Sandbox' => $sandbox,
'ClientID' => $rest_client_id,
'ClientSecret' => $rest_client_secret,
'LogResults' => $log_results,
Expand Down
1 change: 1 addition & 0 deletions samples/rest/billing_plans/DeletePlan.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
require_once('../../../includes/config.php');

$configArray = array(
'Sandbox' => $sandbox,
'ClientID' => $rest_client_id,
'ClientSecret' => $rest_client_secret,
'LogResults' => $log_results,
Expand Down
1 change: 1 addition & 0 deletions samples/rest/billing_plans/GetPlan.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
require_once('../../../includes/config.php');

$configArray = array(
'Sandbox' => $sandbox,
'ClientID' => $rest_client_id,
'ClientSecret' => $rest_client_secret,
'LogResults' => $log_results,
Expand Down
1 change: 1 addition & 0 deletions samples/rest/billing_plans/ListPlans.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
require_once('../../../includes/config.php');

$configArray = array(
'Sandbox' => $sandbox,
'ClientID' => $rest_client_id,
'ClientSecret' => $rest_client_secret,
'LogResults' => $log_results,
Expand Down
1 change: 1 addition & 0 deletions samples/rest/billing_plans/UpdatePlan.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
require_once('../../../includes/config.php');

$configArray = array(
'Sandbox' => $sandbox,
'ClientID' => $rest_client_id,
'ClientSecret' => $rest_client_secret,
'LogResults' => $log_results,
Expand Down
1 change: 1 addition & 0 deletions samples/rest/checkout_orders/AuthorizeOrder.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
require_once('../../../includes/config.php');

$configArray = array(
'Sandbox' => $sandbox,
'ClientID' => $rest_client_id,
'ClientSecret' => $rest_client_secret,
'LogResults' => $log_results,
Expand Down
1 change: 1 addition & 0 deletions samples/rest/checkout_orders/CaptureAuthorizedPayment.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
require_once('../../../includes/config.php');

$configArray = array(
'Sandbox' => $sandbox,
'ClientID' => $rest_client_id,
'ClientSecret' => $rest_client_secret,
'LogResults' => $log_results,
Expand Down
1 change: 1 addition & 0 deletions samples/rest/checkout_orders/CaptureOrder.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
require_once('../../../includes/config.php');

$configArray = array(
'Sandbox' => $sandbox,
'ClientID' => $rest_client_id,
'ClientSecret' => $rest_client_secret,
'LogResults' => $log_results,
Expand Down
1 change: 1 addition & 0 deletions samples/rest/checkout_orders/CreateAuthorizeOrder.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
require_once('../../../includes/config.php');

$configArray = array(
'Sandbox' => $sandbox,
'ClientID' => $rest_client_id,
'ClientSecret' => $rest_client_secret,
'LogResults' => $log_results,
Expand Down
1 change: 1 addition & 0 deletions samples/rest/checkout_orders/CreateCaptureOrder.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
require_once('../../../includes/config.php');

$configArray = array(
'Sandbox' => $sandbox,
'ClientID' => $rest_client_id,
'ClientSecret' => $rest_client_secret,
'LogResults' => $log_results,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
require_once('../../../includes/config.php');

$configArray = array(
'Sandbox' => $sandbox,
'ClientID' => $rest_client_id,
'ClientSecret' => $rest_client_secret,
'LogResults' => $log_results,
Expand Down
1 change: 1 addition & 0 deletions samples/rest/checkout_orders/GetCapturedPaymentDetails.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
require_once('../../../includes/config.php');

$configArray = array(
'Sandbox' => $sandbox,
'ClientID' => $rest_client_id,
'ClientSecret' => $rest_client_secret,
'LogResults' => $log_results,
Expand Down
1 change: 1 addition & 0 deletions samples/rest/checkout_orders/GetOrderDetails.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
require_once('../../../includes/config.php');

$configArray = array(
'Sandbox' => $sandbox,
'ClientID' => $rest_client_id,
'ClientSecret' => $rest_client_secret,
'LogResults' => $log_results,
Expand Down
1 change: 1 addition & 0 deletions samples/rest/checkout_orders/Reauthorize.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
require_once('../../../includes/config.php');

$configArray = array(
'Sandbox' => $sandbox,
'ClientID' => $rest_client_id,
'ClientSecret' => $rest_client_secret,
'LogResults' => $log_results,
Expand Down
1 change: 1 addition & 0 deletions samples/rest/checkout_orders/RefundCapturedPayment.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
require_once('../../../includes/config.php');

$configArray = array(
'Sandbox' => $sandbox,
'ClientID' => $rest_client_id,
'ClientSecret' => $rest_client_secret,
'LogResults' => $log_results,
Expand Down
1 change: 1 addition & 0 deletions samples/rest/checkout_orders/ShowRefundDetails.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
require_once('../../../includes/config.php');

$configArray = array(
'Sandbox' => $sandbox,
'ClientID' => $rest_client_id,
'ClientSecret' => $rest_client_secret,
'LogResults' => $log_results,
Expand Down
1 change: 1 addition & 0 deletions samples/rest/checkout_orders/UpdateOrder.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
require_once('../../../includes/config.php');

$configArray = array(
'Sandbox' => $sandbox,
'ClientID' => $rest_client_id,
'ClientSecret' => $rest_client_secret,
'LogResults' => $log_results,
Expand Down
1 change: 1 addition & 0 deletions samples/rest/checkout_orders/VoidAuthorizedPayment.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
require_once('../../../includes/config.php');

$configArray = array(
'Sandbox' => $sandbox,
'ClientID' => $rest_client_id,
'ClientSecret' => $rest_client_secret,
'LogResults' => $log_results,
Expand Down
1 change: 1 addition & 0 deletions samples/rest/customer-disputes/AcceptClaim.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
require_once('../../../includes/config.php');

$configArray = array(
'Sandbox' => $sandbox,
'ClientID' => $rest_client_id,
'ClientSecret' => $rest_client_secret,
'LogResults' => $log_results,
Expand Down
1 change: 1 addition & 0 deletions samples/rest/customer-disputes/DisputesAppeal.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
require_once('../../../includes/config.php');

$configArray = array(
'Sandbox' => $sandbox,
'ClientID' => $rest_client_id,
'ClientSecret' => $rest_client_secret,
'LogResults' => $log_results,
Expand Down
1 change: 1 addition & 0 deletions samples/rest/customer-disputes/DisputesEscalate.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
require_once('../../../includes/config.php');

$configArray = array(
'Sandbox' => $sandbox,
'ClientID' => $rest_client_id,
'ClientSecret' => $rest_client_secret,
'LogResults' => $log_results,
Expand Down
1 change: 1 addition & 0 deletions samples/rest/customer-disputes/DisputesMakeOffer.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
require_once('../../../includes/config.php');

$configArray = array(
'Sandbox' => $sandbox,
'ClientID' => $rest_client_id,
'ClientSecret' => $rest_client_secret,
'LogResults' => $log_results,
Expand Down
1 change: 1 addition & 0 deletions samples/rest/customer-disputes/ListDisputes.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
require_once('../../../includes/config.php');

$configArray = array(
'Sandbox' => $sandbox,
'ClientID' => $rest_client_id,
'ClientSecret' => $rest_client_secret,
'LogResults' => $log_results,
Expand Down
1 change: 1 addition & 0 deletions samples/rest/customer-disputes/ProvideEvidence.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
*/

$configArray = array(
'Sandbox' => $sandbox,
'ClientID' => $rest_client_id,
'ClientSecret' => $rest_client_secret,
'LogResults' => $log_results,
Expand Down
1 change: 1 addition & 0 deletions samples/rest/customer-disputes/SendMessageToOtherParty.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
require_once('../../../includes/config.php');

$configArray = array(
'Sandbox' => $sandbox,
'ClientID' => $rest_client_id,
'ClientSecret' => $rest_client_secret,
'LogResults' => $log_results,
Expand Down
1 change: 1 addition & 0 deletions samples/rest/customer-disputes/SettleDispute.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
require_once('../../../includes/config.php');

$configArray = array(
'Sandbox' => $sandbox,
'ClientID' => $rest_client_id,
'ClientSecret' => $rest_client_secret,
'LogResults' => $log_results,
Expand Down
1 change: 1 addition & 0 deletions samples/rest/customer-disputes/ShowDisputeDetails.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
require_once('../../../includes/config.php');

$configArray = array(
'Sandbox' => $sandbox,
'ClientID' => $rest_client_id,
'ClientSecret' => $rest_client_secret,
'LogResults' => $log_results,
Expand Down
1 change: 1 addition & 0 deletions samples/rest/customer-disputes/UpdateDisputeStatus.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
require_once('../../../includes/config.php');

$configArray = array(
'Sandbox' => $sandbox,
'ClientID' => $rest_client_id,
'ClientSecret' => $rest_client_secret,
'LogResults' => $log_results,
Expand Down
15 changes: 8 additions & 7 deletions samples/rest/identity/GetUserConsentURL.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@
require_once('../../../autoload.php');
require_once('../../../includes/config.php');

$configArray = array(
'ClientID' => $rest_client_id,
'ClientSecret' => $rest_client_secret,
'LogResults' => $log_results,
'LogPath' => $log_path,
'LogLevel' => $log_level
);
$configArray = array(
'Sandbox' => $sandbox,
'ClientID' => $rest_client_id,
'ClientSecret' => $rest_client_secret,
'LogResults' => $log_results,
'LogPath' => $log_path,
'LogLevel' => $log_level
);

$PayPal = new \angelleye\PayPal\rest\identity\IdentityAPI($configArray);

Expand Down
Loading

0 comments on commit 0b01050

Please sign in to comment.