Skip to content

Commit

Permalink
Merge pull request #10 from dzung2t/master
Browse files Browse the repository at this point in the history
Fix double amount in downloadable order
  • Loading branch information
Roman Sevastyanov committed Jan 14, 2016
2 parents e1ac127 + 81e0b63 commit a69b509
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,10 @@ protected function processPingbackOrder(Paymentwall_Pingback $pingback) {
try {
if ($pingback->isDeliverable()) {

if($order->getState() == Mage_Sales_Model_Order::STATE_PROCESSING){
if(
$order->getState() == Mage_Sales_Model_Order::STATE_PROCESSING
|| $order->getState() == Mage_Sales_Model_Order::STATE_COMPLETE
){
return self::DEFAULT_PINGBACK_RESPONSE;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<config>
<modules>
<Paymentwall_Paymentwall>
<version>1.2.3</version>
<version>1.2.4</version>
</Paymentwall_Paymentwall>
</modules>
<frontend>
Expand Down

0 comments on commit a69b509

Please sign in to comment.