View Issue Details

IDProjectCategoryView StatusLast Update
0007463module Amazon Paymainpublic2023-08-03 18:23
ReporterOxidSimonGassenschmidt Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Fixed in Version2.1.1 
Summary0007463: No oxordernr is provided as setMerchantReferenceId / No ReferenceID anymore?
DescriptionAmazon 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 Reproduce1. 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.
TagsNo tags attached.
Attached Files
AmazonPay.JPG (61,742 bytes)   
AmazonPay.JPG (61,742 bytes)   

Activities

QA

2023-04-25 11:16

administrator   ~0015152

Doesn't seem to work anymore since the switch to AmazonPay CV2