View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007106 | module PayPal Plus | module PayPal Plus - sub | public | 2020-03-10 09:18 | 2020-03-26 10:57 |
Reporter | QA | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Summary | 0007106: order numbers are not transferred to PayPal, although the setting is set in the module | ||||
Description | When an order is placed in OXID eShop Enterprise Edition 6.1.5 with PayPal Plus Extension 3.0.3, the payment goes through, but the order number is not transmitted, although "Transmit the Order No. as "Invoice Number" to PayPal (This can lead to gaps in order numbering)" is enabled in the PayPal Plus settings. | ||||
Steps To Reproduce | 1. Activate PayPal Plus Module 2. Activate in Shop Admin Extensions -> Modules -> PayPal Plus -> Settings -> Other Settings -> Transmit the Order No. as "Invoice Number" to PayPal (This can lead to gaps in order numbering) 3. Execute order 4. View PayPal Transaction | ||||
Additional Information | OXID EE 6.1.5 PayPal Plus Extension 3.0.3 - es - | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
|
Analysis: When the payment page is called up, a "Paypalplus" payment is created and an invoice number would be generated (setInvoiceNumber). This method starts a new order session and tries to create a new OrderNr ($oOrder->getNextOrderNr()) The getNextOrderNr method only gets a new number if the method $oOrder->_setNumber() was successful. This in turn is only successful if an update SQL (update oxorder set oxordernr =? Where oxid =?) Was successful. The SQL cannot be successful at the time because the order is not yet saved in the oxorder. In OXID4 the method $oDb->execute returned true anyway. This is no longer the case in OXID6. That's why there is no OrderNumber anymore ... Fix is prepared and will be deliver with the next release. |
|
Fix in Version 3.0.4 installable via composer: composer require oxid-professional-services/paypalplus-module |