3.2 Process Transactions

One of the features of xFlow, is members can process transactions through the Member's Only Area, which you create through the Transaction->Transaction Settings menu of the Admin Control Panel. This is done by using the process_transaction.htmlt HTML template, but at times, you may not want to use this template.

If wanted, you can create your own web page(s) to process transactions, and are not required to use the process_transaction.htmlt template. Below explains exactly how to create an HTML form, which you can upload to your Member's Only Area, and allow members to process a specific transaction.

First, you must have a <FORM> tag, which will be:
<form action="index.cgi?~authtext~&action=process_transaction" method="POST">

Next, you need a hidden form field, which gives the transaction ID# you would like to process. To find the transaction ID#, go to the Transaction->Transaction Settings menu of the Admin Control Panel, and click on the needed "View Details" link to find the appropriate transaction. The next table which is displayed, will show the ID# of all transactions. You need to add the following hidden field into the HTML form:
<input type="hidden" name="transaction_id" value="XXX">

Of course, replace XXX with the transaction ID# you would like to process. If wanted, you may also place a text field, allowing members to enter a coupon code, by placing the following field into your form:
<input type="text" name="coupon">

Otherwise, if you would rather not allow members to enter a coupon code, you must add a hidden form field to your form, which is:
<input type="hidden" name="coupon" value="">

Last, the only other requirement is to place in a submit button in the form, such as:
<input type="submit" value="Process Transaction">

Other than that, the HTML form to process new transactions can be created in any way you wish. It only needs to conform to the few simple requirements listed above.