View Issue Details

IDProjectCategoryView StatusLast Update
0007914module PayPal Checkoutmodule PayPal checkout - subpublic2026-04-02 14:42
Reporterkaistrecker Assigned To 
PriorityhighSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version2.8.1 / 3.7.1 
Target Version2.8.2 / 3.7.2Fixed in Version2.8.2 / 3.7.2 
Summary0007914: Pay upon invoice does not work after updating to 2.8.1
DescriptionAfter updating to 2.8.1 pay upon invoice no longer works. I always get redirected to "?cl=payment&payerror=2".

I found out that the problem is in https://github.com/OXID-eSales/paypal-module/blob/v2.8.1/src/Model/Order.php#L487 . This line will abort "_executePayment" when using PUI. But the PUI payment is done via PaymentGateway in OXID's core order model in "_executePayment", which is called in the lines below.

For fixing this, I patched the source code and replaced
if (PayPalDefinitions::isPayPalPayment($sessionPaymentId)) {
with
if (PayPalDefinitions::isPayPalPayment($sessionPaymentId) && $sessionPaymentId != 'oscpaypal_pui') {

With this patch I am now able to order and pay with PUI again.
Additional InformationQA - ES -

also in PPC v3.7.1
TagsNo tags attached.

Activities

There are no notes attached to this issue.