View Issue Details

IDProjectCategoryView StatusLast Update
0007363module PayPal Checkoutmodule PayPal checkout - subpublic2022-10-11 14:37
ReporterQA Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version2.2.0 / 1.2.0 
Fixed in VersionNext Minor PayPal version 
Summary0007363: Standard payment methods in the shop with activated net mode are not checked and are therefore not displayed.
DescriptionAs soon as the PayPal module is active, the Oxid standard payment methods, such as prepayment or invoice, are no longer displayed, although they are active and correctly assigned in the backend.
If I deactivate the PayPal Checkout module, the payment methods are visible to the buyer again.

Standard payment methods in the shop with activated net mode are not checked and are therefore not displayed.

Customer operate the shop in net mode.
The method getPaymentList() within the PaymentController seems to have been adapted from version 2.1.5.
Steps To Reproduce1. Activate PayPal Checkout >= v2.1.5
2. Activate Netto Mode
3. Do a Ckeckout
Additional InformationIn 2.1.4, there is a check in modules/osc/paypal/src/Controller/PaymentController::getPaymentList()

$payPalDefinitions[$key]['onlybrutto'] == false ||
(
 $payPalDefinitions[$key]['onlybrutto'] == true &&
 !$this->getServiceFromContainer(ModuleSettings::class)->isPriceViewModeNetto()
)

Since oxidinvoice, for example, is not a PayPal payment type, the condition is true because the key does not exist in this array.


In version 2.2.0. (presumably from 2.1.5) the check looks like this:

$payPalDefinitions[$key]['onlybrutto'] === false ||
(
 !$this->getServiceFromContainer(ModuleSettings::class)->isPriceViewModeNetto()
)

This causes a standard payment method in the shop with activated net mode to be dropped from the check.

- es -
TagsNo tags attached.

Activities

mario_lorenz

2022-10-11 13:15

developer   ~0014425

@QA: Please checkout the actual dev-branch b-6.5.x or b-6.1.x and test it.

QA

2022-10-11 14:37

administrator   ~0014426

Fixed with commit:
b-6.5.x: https://github.com/OXID-eSales/paypal-module/commit/f9556a1e407505055bab3f2bf5cc508e6bcaf263
b-6.1.x: https://github.com/OXID-eSales/paypal-module/commit/eae86880ce958dd365349bb967238bd4e0eac211