13.01.2013 Views

Connecting to PaymentTrust's Secure Transaction Network - WorldPay

Connecting to PaymentTrust's Secure Transaction Network - WorldPay

Connecting to PaymentTrust's Secure Transaction Network - WorldPay

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Supplementary GP(Q) Request<br />

Data<br />

M=Manda<strong>to</strong>ry Fields<br />

Field Name<br />

Type Data Size Description<br />

O=Optional Fields<br />

StringIn= N/A N/A<br />

Must be at beginning of all strings. Capitals<br />

must be used as shown.<br />

Note: Not required for XML batch requests.<br />

M<br />

VersionUsed Alphanumeric 4<br />

Version Used specific <strong>to</strong> <strong>Transaction</strong> Type<br />

Example “1” for Q<br />

Permanent Merchant ID assigned by<br />

M<br />

MerchantId Numeric N/A PaymentTrust Ltd.<br />

Example “100000”<br />

M<br />

UserName Alphanumeric 15<br />

UserName assigned by PaymentTrust Ltd.<br />

Example “Mariah”<br />

UserPassword assigned by PaymentTrust<br />

M<br />

UserPassword Alphanumeric 15 Ltd.<br />

Example “rr87uy”<br />

M<br />

<strong>Transaction</strong>Type Alphanumeric 2<br />

<strong>Transaction</strong> Type, “GP” for Geo Positioning<br />

System.<br />

M<br />

RequestType Alpha 1 'Q' Query Request M<br />

IsTest Numeric 1<br />

''1' for "Test", '0' for "Live",<br />

Note: Defaults <strong>to</strong> 0 if left blank<br />

Indicates the maximum time the merchant<br />

O<br />

TimeOut Numeric N/A allows for the transaction, in milliseconds<br />

Recommendation “60000”<br />

Specific Order number submitted by the<br />

Merchant for tracking purposes.<br />

M<br />

OrderNumber Alphanumeric 35 Example “10098987”<br />

Note: If no order number is submitted the system<br />

will generate one for the merchant at the time of<br />

the transaction.<br />

O<br />

GPID Numeric N/A<br />

Reference Number from GP system<br />

Example “10003606”<br />

M<br />

Sample Input String:<br />

StringIn=VersionUsed^1~MerchantId^100000~UserName^Mariah~UserPassword^rr87uy~<strong>Transaction</strong>Ty<br />

pe^GP~RequestType^Q~IsTest^1~TimeOut^60000~GPID~10003606<br />

STLink will return the following Response for an IP Geo Positioning<br />

(GP) Query Request (Q)<br />

Field Name Data Type Data Size Description<br />

MerchantId Numeric N/A<br />

Permanent Merchant ID assigned by PaymentTrust Ltd.<br />

Example “100000”<br />

<strong>Transaction</strong>Type Alpha 2 <strong>Transaction</strong> Type, “GP” for IP Geo Positioning System.<br />

Order number submitted by the Merchant or a number<br />

OrderNumber Alphanumeric 35<br />

generated by PaymentTrust Ltd. if order number was not<br />

specified.<br />

Example “10098987”<br />

StrId Numeric N/A Reference Number from STLink<br />

MessageCode Numeric N/A<br />

Note: Please See Appendix A for complete list of Response<br />

Messages<br />

182

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!