PCI Agent Error
Table of Contents
If the PCI Agent returns the error VendorTxCode while processing a payment through Opayo (formerly Sage Pay), the Transaction Reference contains one or more invalid characters.

Only the following characters are supported:
| Character type | Allowed characters |
|---|---|
| Letters | A to Z and a to z |
| Numbers | 0 to 9 |
| Special characters |
- . _ { }
|
Any other character, such as spaces, slashes, commas, ampersands or symbols, will cause the transaction to fail with the VendorTxCode error.
Resolution
- Check the Transaction Reference being passed to the PCI Agent.
- Remove any unsupported characters.
- Retry the payment using only supported characters.
Example
Valid Transaction References
ORDER12345INV-2026-001Payment_456SALE.789ORDER{001}
Invalid Transaction References
-
ORDER 12345(contains a space) -
ORDER/12345(contains a forward slash) -
ORDER#12345(contains a hash) -
ORDER&12345(contains an ampersand)
Additional information
This validation is enforced by Opayo. If the Transaction Reference includes unsupported characters, the payment request will be rejected, and the PCI Agent will display the VendorTxCode error. Ensure any integrated CRM or application generates Transaction References using only the supported character set.