amzn / amazon-payments-magento-2-plugin

Extension to enable Amazon Pay on Magento 2
https://amzn.github.io/amazon-payments-magento-2-plugin/
Apache License 2.0
109 stars 77 forks source link

credit memo #1094

Closed AliakseiSafronenka closed 2 years ago

AliakseiSafronenka commented 3 years ago

Cannot create credit memo

What I expected

I can create credit memo for order

What happened instead

There are no credit memo button and i cannot create credit memo

Steps to reproduce the issue

1) pay order using amazon payment 2) go to admin - there are: invoice created and paid, transaction status = capture, order status = review payment, no credit memo button (issue reproduced for some amazon payed orders and no problems with other. I suppose its because of "payment review " status, because correct orders have "processing" status)

Your setup

sgabhart22 commented 3 years ago

Hello @AliakseiSafronenka ,

Can you tell me the values you have for Payment Action and Authorization Mode in the configuration options for the module? It might be helpful to see a screenshot of the order history notes if you are able to supply one: gh-credit-memo

We will create an internal ticket if we're able to reproduce this issue. Thanks for reaching out!

AliakseiSafronenka commented 3 years ago

@sgabhart22 Payment action: Charge on order Authorization Mode: authomatic history for bad order: image

history for good order: image

(it may seems that order for 2 and 3 entries on screenshots matters , but no - it can be both for good orders)

AliakseiSafronenka commented 3 years ago

@sgabhart22 translated history:

bad order:

The amount of € 79.98 is recorded after it has been approved in the payment gateway. Transaction ID: "c39c0c9a-a8d6-4e4c-a023-6c860132fc25" Comment added Nov 8, 2021 11:43:03 AM Cannot create invoice for Order # D-99890 Comment added Nov 8, 2021 11:43:04 AM Recorded amount of € 79.98 online. Transaction ID: "P02-2815433-6054571-C078787" Comment added Nov 8, 2021 11:43:05 AM

good order:

The amount of € 29.99 is recorded after it has been approved in the payment gateway. Transaction ID: "cd2187b1-4062-4264-bcde-126fc49b05c1" Comment added Nov 17, 2021 12:23:54 AM Recorded amount of € 29.99 online. Transaction ID: "P02-2786758-7015307-C045535" Comment added Nov 17, 2021 12:23:55 AM Cannot create invoice for Order # D-100051 Comment added Nov 17, 2021 12:23:55 AM

sgabhart22 commented 3 years ago

Thank you for that, I think we'll go ahead and ticket this for now. Something looks strange in the timing of those transactions.

In the meantime, I would suggest an upgrade of the Amazon Pay module if that is possible for you at this time. We are currently on version 5.9.1, and have made some significant improvements from the version you are running.

Please let us know if you are able to upgrade, and if it resolves the issue.

AliakseiSafronenka commented 3 years ago

@sgabhart22 we had had same issue previously and upgrated module to last version 5.9.0 but it havent solved the problem

sgabhart22 commented 3 years ago

@AliakseiSafronenka Are you able to provide an email address we can use to include you on our internal ticket? We'll likely request some additional information there (logs, access to a staging site perhaps) and continue the discussion.

So for clarity, are you using version 2.9.0, or 5.9.0 of the module?

AliakseiSafronenka commented 3 years ago

5.9.0,

aliakseisafronenka@gmail.com