|
USING THE PGP SIGNATURE TO AUTHENTICATE TRANSACTIONS This function assumes that you are familiar with CGI scripting. Read the RESTRICTIONS below before using this function. As always, test your forms before making them live.
One of the security features built into the transaction system is the use of a PGP signature. You will need a PGP application installed on your server that supports dynamic verification of an RSA signature, such as the PGPsdk or PGP Command Line from Network Associates (NAI). Please contact NAI to determine which application is best for your needs. To obtain the Public Key, send email to pubkey@paymentclearing.com.
RESTRICTIONS In this example, the following field values are used:
The ret_addr field is set to "http://www.yoursite.com/cgi-bin/return.cgi"
This is the string that is passed to the return address. http://www.yoursite.com/cgi-bin/return.cgi?email=test%40yourdomain.com&phone=phone&fieldname1=12345&ordernum=order#999&signature=-----BEGIN%20PGP%20SIGNED%20MESSAGE-----%0A%0Ahttp%3A%2F%2Fwww.paymentclearing.com%2Fcgi-bin%2Frc2%2Ftest-cgi%3Femail%3Dtest%2540paymentclearing.com%26phone%3Dphone%26p1%3Dp1-value%26p2%3Dp2-value%0A-----BEGIN%20PGP%20SIGNATURE-----%0AVersion%3A%202.7%0A%0AiQCVAwUBM9KCHuL3TEC4ItPNAQEtCwP%2FTdzM%2B%2FJQSIWOTXz%2F4VSsuhui1lzmhXQL%0AeQUeHnarwl606lk2joiiIHcwI7djjFXpSxgx49YYGyfs9cFkEXU8sufu5ELRJ9h6%0AapM1FktDruKHHc2A7LC8LJv0YBLJD75nkONMbW%2FWenLpDgMLGTYWn4o%2Ffh07WBpg%0AeiwWXQFyasA%3D%0A%3DmWkA%0A-----END%20PGP%20SIGNATURE-----%0A |
|