Setup your payment Page

Once you have created a FloCash account and configured it with your notification settings, you willthen need to create a payment page on your website. The payment page will collect payment information from your customer and invokes the FloCash Checkout page.The information collected from the form should include additional hidden elements set by the merchant.

Step 1

Create an HTML form as shown in the example below.

Example HTML code:

<form action="http://sandbox.flocash.com/ecom/ecommerce.do" method="post">
<!--Merchant account-->
<input type="hidden" name="merchant" value="your_email@domain.com"/>
<!--Order Id-->
<input type="hidden" name="order_id" value=”123456” />
<!--Customer Id-->
<input type="hidden" name="custom" value="custom"/>
<!--Currency Code-->
<input type="hidden" name="currency_code" value="USD"/>
<table>
<!--Item Name-->
<tr><td>Item</td><td>
<input type="text" id="item_name" name="item_name" value="Merchant Credit"/>
</td></tr>
<tr><td>Price</td><td>
<input type="text" id="item_price" name="item_price" value="5.00"/>
</td></tr>
<tr><td>Quantity</td><td>
<input type="text" id="quantity" name="quantity" value="5.00"/>
</td></tr>
<tr><td>Amount</td>
<td><input id="amount" name="amount"  value="5.00" />
</td></tr>
<tr><td>&nbsp;</td>
<td><input type="submit" value="Checkout"></td>
</tr></table></form>
../_images/htmlform.jpg

Step 2

The submit action of this form sends data to the FloCash payment gateway, where a payment page is dynamically created for the customer.

../_images/flopayment.jpg