In the above you are declaring the POST destination as 'PurchaseURL'
(see line 79). These URL's are declared and listed in your Includes.ini file. You will have a number of URL's to choose from. Where you POST to will depend primarily on two things:
- What the POST is trying to achieve
- What 'mode' your Protx account is set to
By this, we mean that there are individual and specific URL's for the following:
- A transaction REGISTRATION
- A transaction REFUND
- A transaction ABORT
- A transaction REPEAT
Furthermore, these URL's reside on either our
TEST or
LIVE servers and are broken down into:
- The SIMULATOR server URL
- The TEST server URL
- The LIVE server URL
For example, to register a transaction on the LIVE server, you would use the Live purchase URL and
NOT a refund URL on the test server.
The URL's are simply called upon and pulled out of the
includes.ini file. You will notice the following in that file: