View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007463 | module Amazon Pay | main | public | 2023-04-25 11:04 | 2023-08-03 18:23 |
Reporter | OxidSimonGassenschmidt | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Fixed in Version | 2.1.1 | ||||
Summary | 0007463: No oxordernr is provided as setMerchantReferenceId / No ReferenceID anymore? | ||||
Description | Amazon has/had the possibility to add a referenceId to the API. This possibility seems to have worked before, but not anymore. see also this code in the module: oxid-esales/amazon-pay-module/src/Controller/OrderController.php: protected function completeAmazonPaymentExpress() { $payload = new Payload(); /** @var string $orderOxId */ $orderOxId = Registry::getSession()->getVariable('sess_challenge'); $oOrder = oxNew(Order::class); if ($oOrder->load($orderOxId)) { /** @var string $oxOrderNr */ $oxOrderNr = $oOrder->getFieldData('oxordernr'); $payload->setMerchantReferenceId($oxOrderNr); } | ||||
Steps To Reproduce | 1. Install Shop 2. Install Amazon 3. Configure shop and module 4. Make Order with Amazon 5. no value in Amazon Backend for this order in "Bestellnummer des Händlers" See also Screenshot, it had already worked, but not anymore. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||