Skip to content

Commit

Permalink
Merge branch 'main' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Tamara committed Nov 5, 2024
2 parents 8be07f7 + b3f6830 commit 1c1a20a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/adyenofficial.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function __construct()
{
$this->name = 'adyenofficial';
$this->tab = 'payments_gateways';
$this->version = '5.2.0';
$this->version = '5.2.1';

$this->author = $this->l('Adyen');
$this->need_instance = 0;
Expand Down
2 changes: 1 addition & 1 deletion src/classes/Services/CheckoutHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public static function getCarrierId(PrestaCart $cart): int
{
if (Tools::getValue('controller') === 'paymentconfigexpresscheckout' ||
Tools::getValue('controller') === 'paymentproduct' ||
Tools::getValue('controller') === 'payment'
(Tools::getValue('controller') === 'payment' && !$cart->id_carrier)
) {
//Get default carrier for current shop
$carrierId = (int)Configuration::get('PS_CARRIER_DEFAULT', null, null, $cart->id_shop);
Expand Down

0 comments on commit 1c1a20a

Please sign in to comment.