A button with a payment form is the easiest way to organize online purchases.  The merchant can place such a button in any convenient place on its website. By clicking on the button with the payment form, the buyer automatically passes to the payment page.

In the part of the Internet-shop web site designated for order placement, the enterprise should create an HTML-form that redirects the customer to IPS Assist server and send the payment parameters. Specify the method (POST) and the action for the sent data processing (in UTF-8 coding) in <FORM> element attributes:

<FORM METHOD="POST" ACTION="URL of the server request">
</FORM>

The pairs (NAME/VALUE) should be transmitted in the request form for all the set payment parameters. For example, the field with the enterprise’s identifier in IPS Assist will look as follows:

<INPUT TYPE="HIDDEN" NAME="Merchant_ID" VALUE="Your Merchant_ID">

For IPS Assist server to accept a request for the payment authorization, the enterprise should send the following parameters:

  • Merchant_ID – the enterprise identifier in IPS Assist;
  • OrderNumber – order number in the enterprise payment system corresponding to a given payment;
  • OrderAmount – purchase price.

This is the minimum set of payment parameters that is sent by the merchant, when redirecting a customer to IPS Assist server, after which the customer enters his/her personal data (name, address, e-mail, phone number etc.) and payment means data on IPS Assist authorized web-pages.

An example of a button with all necessary parameters:

<FORM ACTION="https://<SERVER-NAME>/pay/order.cfm" METHOD="POST">
<INPUT TYPE="HIDDEN" NAME="Merchant_ID" VALUE="Your Merchant_ID">
<INPUT TYPE="HIDDEN" NAME="OrderNumber" VALUE=" B20042011_27">
<INPUT TYPE="HIDDEN" NAME="OrderAmount" VALUE="205.50">
<INPUT TYPE="HIDDEN" NAME="OrderComment" VALUE="An example of an order payment">
<INPUT TYPE="SUBMIT" NAME="Submit" VALUE="Buy">
</FORM>

A customer, however, often enters his/her personal information (name, address, e-mail etc.) on the enterprise pages during registration. The merchant can send this information along with the payment parameters. In this case a customer enters on IPS Assist pages only the payment means data.

An example of a button with the payment parameters and a customer's personal data:

<FORM ACTION="https://<SERVER-NAME>/pay/order.cfm" METHOD="POST">
<INPUT TYPE="HIDDEN" NAME="Merchant_ID" VALUE="Your Merchant_ID">
<INPUT TYPE="HIDDEN" NAME="OrderNumber " VALUE="A03032011_26">
<INPUT TYPE="HIDDEN" NAME="OrderAmount" VALUE="66.66">
<INPUT TYPE="HIDDEN" NAME="OrderCurrency" VALUE="BYN">
<INPUT TYPE="HIDDEN" NAME="FirstName" VALUE="Test">
<INPUT TYPE="HIDDEN" NAME="LastName" VALUE="Testov">
<INPUT TYPE="HIDDEN" NAME="Email" VALUE="test@assist.by">
<INPUT TYPE="HIDDEN" NAME="OrderComment" VALUE="Example of an order payment">
<INPUT TYPE="SUBMIT" NAME="Submit" VALUE="Pay">
</FORM>

For a detailed information about all the authorized request parameters refer to section Integration.

Standard payment page template

Standard payment page appearance

Mobile version of the payment page appearance

For more information about changing the appearance of payment page templates, see the Payment page section.