amazon-payments-magento-2-plugin: No such entity with cartId

What I expected

Create an online invoice for an order payed via Amazon Pay

What happened instead

Get error message: `No such entity with cartId 12345`` It’s not possible to create an online invoice with capture for certain orders - not all.

Steps to reproduce the issue

Unfortunately the mentioned cartId is really missing in the database for those orders. The manual process works:

  1. create an offline invoice instead
  2. capture the amount manually in the Amzn Seller backend.

Other payment methods work fine. It’s related to Amazon Pay only. The authorization entry within the transactions section is also fine.

I haven’t found a pattern yet why some invoices can be created regularly and others not.

Your setup

  • Magento version: 2.2.6

amzn/amazon-pay-and-login-with-amazon-core-module 2.1.0 Shared functionality for Amazon Pay and Login with Amazon modules amzn/amazon-pay-module 2.1.0 Amazon Pay module amzn/amazon-pay-sdk-php 3.4.1 Amazon Pay SDK (PHP) amzn/login-with-amazon-module 2.1.0 Login with Amazon module

  • Magento Edition: Community

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 18 (9 by maintainers)

Most upvoted comments

Thanks @lfritsche , will follow-up shortly.