Idempotency errors

Idempotent requests can be tested within the Secure Test environment.

All Idempotency-related errors have a dedicated code value of 9, and are returned within the standard error message:

<?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE paymentService PUBLIC "-//WorldPay//DTD WorldPay PaymentService v1//EN"
 <paymentService version="1.4" merchantCode="YOUR_MERCHANT_CODE"> 
     <orderStatus orderCode="YOUR_ORDER_CODE">
       <error code="9"> <!--This error code is specific to Idempotency-->
         <![CDATA[Error message]]>
Error codeDescriptionMeaning
9Request in progressA request with the same Idempotency Key is currently being processed.
9Invalid idempotency-keyThe Idempotency-Key header value is invalid.
9Service not enabledIdempotent requests are not enabled for this customer.