Blog

Back 0 Comments

VirtualMerchant XML Error: 6042Invalid Request FormatXML request is not well-formed or request is incomplete.


The XML example code in the VirtualMerchant developer guide is incorrect. They accidentally added an additional tag at the end of the code which results in the following error:

6042Invalid Request FormatXML request is not well-formed or request is incomplete.

The following code will successfully post a transaction to VirtualMerchant using PHP.

View Code



Your comment has been posted....