amazon_error_mapping.xml 5.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <?xml version="1.0"?>
  2. <!--
  3. /**
  4. * Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
  5. *
  6. * Licensed under the Apache License, Version 2.0 (the "License").
  7. * You may not use this file except in compliance with the License.
  8. * A copy of the License is located at
  9. *
  10. * http://aws.amazon.com/apache2.0
  11. *
  12. * or in the "license" file accompanying this file. This file is distributed
  13. * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
  14. * express or implied. See the License for the specific language governing
  15. * permissions and limitations under the License.
  16. */
  17. -->
  18. <mapping xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Payment:etc/error_mapping.xsd">
  19. <message_list>
  20. <message code="AmazonRejected" translate="true">Unfortunately it is not possible to use Amazon Pay for this order, please choose another payment method.</message>
  21. <message code="ProcessingFailure" translate="true">Processing Failure - unable to authorize transaction.</message>
  22. <message code="BillingAgreementConstraintsExist" translate="true">Unable to authorize transaction.</message>
  23. <message code="PaymentMethodNotUpdated" translate="true">Buyer did not specify valid Amazon Wallet payment method.</message>
  24. <message code="DuplicateReferenceId" translate="true">Duplicate reference or payment amount already authorized.</message>
  25. <message code="DuplicateRequest" translate="true">Duplicate reference or payment amount already authorized.</message>
  26. <message code="PeriodicAmountExceeded" translate="true">Duplicate reference or payment amount already authorized.</message>
  27. <message code="InvalidAddress" translate="true">Invalid values passed in request.</message>
  28. <message code="InvalidParameterValue" translate="true">Invalid values passed in request.</message>
  29. <message code="OrderReferenceCountExceeded" translate="true">You have attempted to create more than the maximum allowed limit of one Order Reference object on a Billing Agreement object that is in the Draft State.</message>
  30. <message code="TransactionTimedOut" translate="true">Unfortunately it is not possible to use Amazon Pay for this order, please choose another payment method.</message>
  31. <message code="TransactionCountExceeded" translate="true">Number of authorizations, captures or refunds has exceeded allowed limits.</message>
  32. <message code="TransactionAmountExceeded" translate="true">Number of authorizations, captures or refunds has exceeded allowed limits.</message>
  33. <message code="InvalidSandboxSimulationSpecified" translate="true">Invalid operation for sandbox environment.</message>
  34. <message code="InvalidAddressConsentToken" translate="true">Request has an invalid signature.</message>
  35. <message code="MissingAuthenticationToken" translate="true">Request has an invalid signature.</message>
  36. <message code="InvalidOrderReferenceId" translate="true">Order reference ID is invalid.</message>
  37. <message code="InvalidTransactionId" translate="true">Invalid transaction identifier.</message>
  38. <message code="InvalidAccountStatus" translate="true">Specified seller account is not authorized to execute this request.</message>
  39. <message code="UnauthorizedAccess" translate="true">Specified seller account is not authorized to execute this request.</message>
  40. <message code="ConstraintsExist" translate="true">Order Reference submitted in this request has constraints and cannot be confirmed.</message>
  41. <message code="InvalidBillingAgreementStatus" translate="true">Billing Agreement object cannot be modified.</message>
  42. <message code="BillingAgreementNotModifiable" translate="true">Billing Agreement object cannot be modified.</message>
  43. <message code="CaptureNotRefundable" translate="true">Capture not refundable.</message>
  44. <message code="Declined" translate="true">Capture not refundable.</message>
  45. <message code="InvalidAuthorizationStatus" translate="true">You have attempted to capture or close an authorization for an Authorization object that is in a state where a capture or close is not allowed.</message>
  46. <message code="InvalidCancelAttempt" translate="true">Billing Agreement object cannot closed or canceled.</message>
  47. <message code="InvalidCloseAttempt" translate="true">Billing Agreement object cannot closed or canceled.</message>
  48. <message code="InvalidOrderReferenceStatus" translate="true">You have attempted to call an operation on an Order Reference object that is in a state where that operation is not allowed.</message>
  49. <message code="InternalServerError" translate="true">There was an unknown error in the service.</message>
  50. <message code="RequestThrottled" translate="true">Request rejected because request rate is higher than allocated throttling limits.</message>
  51. <message code="ServiceUnavailable" translate="true">The service is temporarily unavailable. Please try again later.</message>
  52. <message code="PaymentMethodNotAllowed" translate="true">Invalid payment method - please select a different payment method.</message>
  53. <message code="InvalidPaymentMethod" translate="true">There has been a problem with the selected payment method on your Amazon account. Please choose another one.</message>
  54. </message_list>
  55. </mapping>