From 5dbb12c1dbd12fe12f08e3ed14769ccddd32df02 Mon Sep 17 00:00:00 2001 From: japatel Date: Mon, 10 Nov 2014 12:28:18 -0600 Subject: [PATCH] Fixed Digital Good Express Checkout Sample - Fixes error mentioned in #63 --- samples/ExpressCheckout/DGdoExpressCheckout.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/samples/ExpressCheckout/DGdoExpressCheckout.php b/samples/ExpressCheckout/DGdoExpressCheckout.php index 248919a2..811ec9ea 100644 --- a/samples/ExpressCheckout/DGdoExpressCheckout.php +++ b/samples/ExpressCheckout/DGdoExpressCheckout.php @@ -22,7 +22,7 @@ $getExpressCheckoutReq = new GetExpressCheckoutDetailsReq(); $getExpressCheckoutReq->GetExpressCheckoutDetailsRequest = $getExpressCheckoutDetailsRequest; -$paypalService = new PayPalAPIInterfaceServiceService(); +$paypalService = new PayPalAPIInterfaceServiceService(Configuration::getAcctAndConfig()); $getECResponse = $paypalService->GetExpressCheckoutDetails($getExpressCheckoutReq); //-------------------------------------------------------------------- @@ -85,6 +85,7 @@ { ?> +