Sankalp Shakti Demo
hcvdshcvdhscvghds
hcvdshcvdhscvghds
- No tags were found...
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Step 2: Your server builds a Confirmation Page<br />
Your server-side script will build an order confirmation page, displaying the full details of the purchase<br />
to the customer, including their billing and delivery addresses, basket contents, total order value and<br />
contact details.<br />
This script will also place an HTML FORM on that page with the action set to the Sage Pay Form<br />
registration page. That form will also contain four hidden fields:<br />
VPSProtocol – which lets our system know the version of our messages you are using (the current<br />
version is 3.00).<br />
TxType – this lets us know which transaction type you wish to perform. In most cases this will be<br />
PAYMENT.<br />
VendorName – your unique identifier, assigned to you by Sage Pay during sign up.<br />
Crypt – a field containing encrypted and encoded details of the transaction. This prevents the<br />
customer from being able to tamper with the contents of the order before they are submitted to us.<br />
See Appendix A1.1 for details on how to construct the Crypt field.<br />
The contents of the crypt field are built by your script and include, amongst other things:<br />
A unique reference to this transaction that you generate (VendorTxCode).<br />
<br />
<br />
<br />
<br />
<br />
<br />
Total transaction value and currency.<br />
The URLs of the order Success and Failure pages.<br />
Customer email address for confirmation emails.<br />
Your email address for notification emails.<br />
Billing and Delivery addresses.<br />
Basket contents and a description of goods.<br />
See Appendix A1.3 for the full protocol which lists all the fields you can send if you wish, and those<br />
which are compulsory for all transactions.<br />
The integration kits we provide contain scripts in a variety of languages that illustrate how you<br />
compose and send this message from your server to ours. These can be downloaded from<br />
sagepay.com.<br />
When the customer clicks the ‘Pay Now’ button on the form, the hidden fields are POSTed to Sage<br />
Pay and customer’s browser is redirected to our hosted payment pages.<br />
Sage Pay Form Integration and Protocol and Guidelines 3.00 Page 10 of 61