• Resolved leoninesnake

    (@leoninesnake)


    Hi,
    Our website uses the WooCommerce Amazon Pay plugin.
    Unfortunately, for the last few days, most of the orders are getting this error “Error: Order missing Amazon order reference ID.”
    But some orders (less than 5%) are successfully paid for using Amazon Pay.
    And from the plugin log, we found this:

    <Constraints>
      <Constraint>
        <ConstraintID>AmountNotSet</ConstraintID>
        <Description>The seller has not set the amount for the Order Reference.</Description>
      </Constraint>
    </Constraints>

    Has anyone experienced the same problem?
    Thank you for any help.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Support Mike Straw

    (@mikestraw)

    Hi @leoninesnake ,

    We’ve seen this particular error crop up when caching plugins are active on the site. I saw a specific case with Redis Object Cache, but other caching can cause this, too.

    If you have any caching plugins active on your site, try deactivating them to see if that alleviates the issue. You may also want to check this article on configuring caching plugins as there are some pages that shouldn’t be cached in WooCommerce and other considerations for them.

    Let us know if that helps!

    Thread Starter leoninesnake

    (@leoninesnake)

    Hi Mike,

    We are using object and page caching provided by WPEngine.
    And according to them, WooCommerce pages, including cart and checkout, are already excluded.
    Do you think regularly purge the cache could help eliminate this issue?

    Plugin Support Mike Straw

    (@mikestraw)

    It could, but there may be other things going on with them. The best way to tell for sure will be to deactivate that caching completely, then see if the error still happens.

    If it doesn’t happen for a while, then caching may be the issue, and you may need to take a closer look at what’s being cached to prevent this error.

    If it still happens with caching disabled, then it could be another plugin or even your theme bumping into Amazon Pay, and it may be necessary to run a full conflict test to determine where that may be happening.

    Plugin Support Christian

    (@christian1983)

    Hey @leoninesnake ,

    The AmountNotSet issue on the log is a known one, but should not interfere with the payment process.

    As Mike said, you need to first run the full conflict test. Also you can always contact the oficial Amazon Pay Support

    Let me know if that helps,

    Best,
    Christian

    • This reply was modified 3 years, 10 months ago by Christian.

    I’m getting the same recent error and have no caching enabled.

    <Constraints>
    <Constraint>
    <ConstraintID>AmountNotSet</ConstraintID>
    <Description>The seller has not set the amount for the Order Reference.</Description>
    </Constraint>
    </Constraints>
    <SellerOrderAttributes/>

    **This just started. About 1 of 20 orders go through. Everything else seems to work with he amazon integration. Also sometimes it does work, which tells me that it’s configured correctly and is an issue with the plugin.

    • This reply was modified 3 years, 10 months ago by wordpresspwr.

    I also disable all the tax information. Still not working.

    A user can log into their amazon account.
    Select the shop address (which populates)
    Select the credit card (which populate).

    However, once the user selects “PLACE ORDER” the famous red exclamation mark appears.

    Here is the error I’m getting as well.

    <GetOrderReferenceDetailsResponse xmlns=”https://mws.amazonservices.com/schema/OffAmazonPayments/2013-01-01″&gt;
    <GetOrderReferenceDetailsResult>
    <OrderReferenceDetails>
    <OrderReferenceStatus>
    <State>Draft</State>
    </OrderReferenceStatus>
    <Destination>
    <DestinationType>Physical</DestinationType>
    <PhysicalDestination> REMOVED </PhysicalDestination>
    </Destination>
    <ExpirationTimestamp>2021-07-26T14:55:16.653Z</ExpirationTimestamp>
    <IdList/>
    <Constraints>
    <Constraint>
    <ConstraintID>AmountNotSet</ConstraintID>
    <Description>The seller has not set the amount for the Order Reference.</Description>
    </Constraint>
    </Constraints>
    <SellerOrderAttributes/>
    <Buyer> REMOVED </Buyer>
    <ReleaseEnvironment>Live</ReleaseEnvironment>
    <AmazonOrderReferenceId>P01-6788611-6718110</AmazonOrderReferenceId>
    <CreationTimestamp>2021-01-27T14:55:16.653Z</CreationTimestamp>
    <RequestPaymentAuthorization>false</RequestPaymentAuthorization>
    </OrderReferenceDetails>
    </GetOrderReferenceDetailsResult>

    Plugin Support Christian

    (@christian1983)

    Hey @leoninesnake ,

    was you able to resolve thi issue?

    Let us know how.

    there is a new version of Amazon Pay 1.13.0 so you can also try with it.

    Best,
    Christian

    Plugin Support Christian

    (@christian1983)

    Since we haven’t heard back from the OP in a while, I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘WooCommerce Amazon Pay issue’ is closed to new replies.