Encrypting Shopping Basket Orders
Example
- Encrypting shopping basket orders with a pass phrase.
MGI Tags
Steps
- Open the order processing page in a text editor.
- Insert the pgpFunction and passphraseFileLocation parameters in the
mgiSendOrder tag.
- Save the order processing page.
- FTP the order processing page to the web server running MGI.
- Install PGP software on your computer.
- Order a product and complete the shopping basket process.
Step 1: Open the order processing page in a text editor.
- Open the order processing page in a text editing program that allows
you to view and modify HTML.
Step 2: Insert the pgpFunction and passphraseFileLocation parameters
in the mgiSendOrder tag.
- Each shopping basket order can be encrypted with a phrase of your choice.
Insert the pgpFunction parameter and passphraseFileLocation parameter in
the mgiSendOrder tag. In the pgpFunction parameter, enter "encryptWithPhrase".
In the passphraseFileLocation parameter, enter the path to the passphrase
file (at the current file level or below) that includes the encryption
phrase. Note: the passphrase file itself or a folder in the path to
the passphrase file should be password protected by a WebSTAR realm.
If you administer the server, you can set the realm. If you are hosted
on a virtual server, a specific folder name or file name may be required.
Contact your system administrator for the required folder or file name.
-
- Send Order Example:
<mgiSendOrder to="sales@gardensupplydomain.com"
from="webmaster@gardensupplydomain.com"
mailServer="mail.gardensupplydomain.com"
subject="Online Order" taxRate=".06" state="North Carolina"
pgpFunction="encryptWithPhrase"
passphraseFileLocation="encryptionPassPhrase/phrase.txt">
Step 3: Save the order processing page.
- Save the changes you have made to the order processing page.
Step 4: FTP the order processing page to the web server running MGI.
- Upload the order processing page to the web server using an FTP program.
Step 5: Install PGP software on your computer.
- In order to read an ecrypted email you must install PGP software on
your computer to decrypt the email. Free PGP software can be found at http://web.mit.edu/network/pgp.html.
Step 6: Order a product and complete the shopping basket process.
- Order a product using the shopping basket process. Upon submission,
an encrypted order is sent and the thank you message is displayed. When
the order email is received, decrypt it with the passphrase from the passphrase
file using PGP software.
|