Skip to content
This repository has been archived by the owner on Sep 10, 2022. It is now read-only.

Commit

Permalink
Fixed Digital Good Express Checkout Sample
Browse files Browse the repository at this point in the history
- Fixes error mentioned in #63
  • Loading branch information
japatel committed Nov 10, 2014
1 parent 8c6d2cd commit 5dbb12c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion samples/ExpressCheckout/DGdoExpressCheckout.php
Expand Up @@ -22,7 +22,7 @@
$getExpressCheckoutReq = new GetExpressCheckoutDetailsReq();
$getExpressCheckoutReq->GetExpressCheckoutDetailsRequest = $getExpressCheckoutDetailsRequest;

$paypalService = new PayPalAPIInterfaceServiceService();
$paypalService = new PayPalAPIInterfaceServiceService(Configuration::getAcctAndConfig());
$getECResponse = $paypalService->GetExpressCheckoutDetails($getExpressCheckoutReq);

//--------------------------------------------------------------------
Expand Down Expand Up @@ -85,6 +85,7 @@
{
?>
<html>
<head>
<script>
alert("Payment Successful")
top.dg.closeFlow();
Expand Down

0 comments on commit 5dbb12c

Please sign in to comment.