It is crucial to ensure that the response is formatted correctly. It has been noticed in the past that Vendors may have replied in the POST with code comments or page declarations, so ensure that the POST sends only the items required.
Status=OKRedirectURL=www.mywebsite.com/completeStatusDetail=
The above is from our perspective as the recipient of the POST, and it would fail, as although each item is received, they are not seperated correctly.
If the POST from Protx is handled correctly and the corresponding
Status=OK,
RedirectURL and
StatusDetail are then returned to Protx, formatted correctly and in the right order - Protx will then use the RedirectURL supplied to pass the Shopper from the authorisation screen to the RedirectURL supplied. This RedirectURL can vary, depending on the Status of the transaction and when using the kit, the RedirectURL will be your website address and path of the kit, plus one of the following:
- DefaultCompletionURL
if the status is OK and MD5 hash matches VPS Signature
- DefaultTamperURL
if the status is OK but the MD5 hash does not match the VSP Signature
- DefaultNotAuthedURL
if the transaction was declined
- DefaultRejectedURL
if your rule base rejected the transaction
- DefaultAbortURL
if the transction timed out or Shopper cancelled on the payment page
- DefaultErrorURL
if a technical/connection or unknown error has occured
So for example, if you have your server address declared in the
Protx.ini file as ExternalIPAddress="[www.mywebsite.com]" the kit will use that URL and one of the above defaultURL's.
An example of receiving a REJECTED status
Your DefaultRejectedURL (as well as all the other URLs) is, again, declared in the
Protx.ini file as seen below: