3

I have to configure the Amazone pay Payment Method then place an order using amazon-pay successfully after the admin side creates an invoice but gives an error like "Transaction has been declined. Please try again later" .enter image description here

also, the check-in log file gives an error

<Error>
    <Type>Sender</Type>
    <Code>InvalidAuthorizationStatus</Code>
    <Message>Authorization xxxxxx is currently in Closed state. Capture can only be requested in Open state.</Message>
  </Error>
2
  • check error log Dec 10, 2019 at 12:33
  • yes check and add error log in body part. Dec 10, 2019 at 12:38

1 Answer 1

0

We had this problem on one of the projects and it appeared, that there is an undocumented feature in the module.

The documentation states that one must create an invoice, but it actually sends capture requests on creating a shipment as well, once it's configured as Charge on Shipment.

In this case all subsequent capture requests fail and it's not possible to create an online invoice anymore.

So the solution for our customer was to created invoiced before creating shipments.

I hope this helps.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.