View Issue Details

IDProjectCategoryView StatusLast Update
0007951module PayPal Checkoutmodule PayPal checkout - subpublic2026-06-11 11:11
ReporterQA Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Product Version2.8.4 / 3.7.4 
Target Version2.9.1 / 3.8.1Fixed in Version2.9.1 / 3.8.1 
Summary0007951: Incorrect PayPal orders with the status “COMPLETED” and payment made before the order was placed
DescriptionTwo faulty PayPal orders have been identified.
Both have the oxorder__oxtransstatus set to “COMPLETED” instead of “OK”, and in both cases the oxorder__oxpaid timestamp is a good two hours earlier than the actual oxorder__oxorderdate, which is not possible.
Both orders also had a payment ID that matches a second, successful order placed shortly afterwards (but using a different payment method) by the same customer.
1st order (PayPal) followed by 122611002 (invoice purchase)
2nd order 122608727 (credit card) followed by 122608729 (invoice purchase).

In both orders, the customer initially started with PayPal / credit card, then switched to invoice purchase.
Steps To ReproduceCustoner Version PPC v2.8.3. Also reproducable in v2.8.4

Additional InformationQA - ES -

Summary
Both orders are financially correct (the payment was received exactly once).
The anomalies in both orders are caused by three interrelated errors in the plugin when changing the payment method + Pay-upon-Invoice flow:

1. The UTC timestamp is stored as ‘oxpaid’ without time zone conversion
2. The PayPal status ‘COMPLETED’ is not mapped to the OXID status ‘OK’
3. When the payment method is changed, the custom_id of the old order is reused, meaning the webhook incorrectly updates the cancelled order
TagsNo tags attached.

Activities

There are no notes attached to this issue.