Skip to content

Commit

Permalink
Fix payment method disabling when plugin is uninstalled or method is …
Browse files Browse the repository at this point in the history
…deleted in plugin

CS-5265
  • Loading branch information
MarijaIv committed Apr 5, 2024
1 parent 0dd7f2b commit ba0a584
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Components/Integration/PaymentMethodService.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ public function deletePaymentMethod(string $methodId): void
return;
}

$this->disablePaymentMean(self::ADYEN_NAME_PREFIX . $method->getCode());
$this->disablePaymentMean($method->getCode());
}

/**
Expand Down

0 comments on commit ba0a584

Please sign in to comment.