Skip to content

Commit

Permalink
Merge pull request #12 from genuineq/master
Browse files Browse the repository at this point in the history
Fix change order status on admin void action
  • Loading branch information
ionutcalara authored Jul 8, 2022
2 parents ff83b59 + 53e2aad commit 3391534
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file modified paylikepayment.zip
Binary file not shown.
4 changes: 2 additions & 2 deletions paylikepayment/paylikepayment.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class PaylikePayment extends PaymentModule {
public function __construct() {
$this->name = 'paylikepayment';
$this->tab = 'payments_gateways';
$this->version = '1.1.0';
$this->version = '1.1.1';
$this->author = 'DerikonDevelopment';
$this->bootstrap = true;
$this->module_key = '1d083bab290f652fb6fb7ae35f9f0942';
Expand Down Expand Up @@ -2151,7 +2151,7 @@ public function hookBackOfficeHeader() {
} else {
if ( ! empty( $void['transaction'] ) ) {
//Update order status
$order->setCurrentState( (int) Configuration::get( 'PS_OS_CANCEL' ), $this->context->employee->id );
$order->setCurrentState( (int) Configuration::get( 'PS_OS_CANCELED' ), $this->context->employee->id );

$currency = new Currency( (int) $order->id_currency );
$currency_multiplier = $this->getPaylikeCurrencyMultiplier( $currency->iso_code );
Expand Down

0 comments on commit 3391534

Please sign in to comment.