View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0007914 | module PayPal Checkout | module PayPal checkout - sub | public | 2026-03-24 11:33 | 2026-04-02 14:42 |
| Reporter | kaistrecker | Assigned To | |||
| Priority | high | Severity | major | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Product Version | 2.8.1 / 3.7.1 | ||||
| Target Version | 2.8.2 / 3.7.2 | Fixed in Version | 2.8.2 / 3.7.2 | ||
| Summary | 0007914: Pay upon invoice does not work after updating to 2.8.1 | ||||
| Description | After 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 Information | QA - ES - also in PPC v3.7.1 | ||||
| Tags | No tags attached. | ||||