The three examples above specify the full URLs used for SIMULATOR, TEST and LIVE. It is important that in your
includes.asp file you have the below code set to whatever is appropriate for your current situation:
SimulatorSite=1
TestSite=0
LiveSite=0
Be aware that by default you will
NOT be Live, until the testing criteria has been met. This will include at least
ONE transaction being processed via your website to your Protx test account and followed by at least
ONE refund.
Once your transaction has been POSTed to the Protx 'Purchase URL', VSP Direct begins by validating its contents
It first checks to ensure all the required fields are present, and that their format is correct. If all fields are present and correct, the information in those fields are then validated. The Vendor name is checked against a pre-registered set of IP addresses, so VSP Direct can ensure the POST came from a recognised source. The currency of the transaction is validated against those accepted by your merchant accounts. The VendorTxCode is checked to ensure it has not been used before. If any details are not present or contain the wrong type of data, a reply with a Status of MALFORMED or INVALID is generated, with the StatusDetail field containing a human readable error message. This normally only happens in the development stage.
If the Transaction Registrations fail
There are many reasons to why you will see a failure on the transactions.
If there is a problem with the initial registration of the transaction Protx will return back either a
Status of
MALFORMED,
INVALID or
ERROR along with a
StatusDetail with a human readable error message.
MALFORMED,
INVALID or
ERROR can be generated for a number of reasons, some examples are; the amount field being a non numerical type, you are passing over a currency type that is not setup on your account or you have not included your unique
Vendor Name.
The below example shows a
MALFORMED status of when a non numeric character is passed in the amount field;
Status=
MALFORMED StausDetail=
VRTXAmountNotNumeric
When an error like the example given occurs, you should communicate to the shopper that something is wrong and online purchases cannot be made at present.
At this point you will need to debug your script to why you are getting a
MALFORMED or
INVALID response back from Protx. If you are having difficulties into seeing why you are getting these responses you will first need to go to our
troubleshooting section. Here you will find all related responses back from Protx if you have had issues with your POST to Protx, detailing what the response means and how to go out resolving it.
If you are having problems debugging your scripts, you can run a test against our
'show post' address. Due to the volume of transactions that go through our system, it is too difficult to debug a single Vendors transaction through the normal Purchase URL, so you need to change the Purchase URL to be the following, and submit a transaction.
https://ukvpstest.protx.com/showpost/showpost.asp
This will post your transaction to a page where we can see all the information you post to Protx during a single transaction. If you do this you will need to contact the Protx support team by phone
(0845 111 4455) to let us know when you have sent the post through and be prepared to send another through should we request it.
You can also receive back from Protx a status of
NOTAUTHED or
REJECTED which would happen after the transaction has gone to the bank for authorisation. In the case of
NOTAUTHED, the transaction has completed through the VSP System, but it has not been authorised by the bank. A status of
REJECTED means the bank may have authorised the transaction but your own
rulebase for
AVS/CV2 or
3D-Secure caused the transaction to be rejected.
On all the above cases you should communicate to the shopper that something is wrong and online purchases cannot be made at present.