Skip to content

Commit

Permalink
set order number as 1 when demo mode is active
Browse files Browse the repository at this point in the history
  • Loading branch information
w3guy committed Mar 12, 2016
1 parent 962f046 commit b7bfe6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Message/CompletePurchaseRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public function getData()
$orderAmount = $this->httpRequest->$request_type->get('total');

// strange exception specified by 2Checkout
if ($this->getTestMode()) {
if ($this->getDemoMode()) {
$orderNo = '1';
}

Expand Down

0 comments on commit b7bfe6c

Please sign in to comment.