Last update 20/04/2016

4. Link your website to the payment page

4.1 Where to configure?

The link between your website and our e-Commerce payment page has to be established on the last page of the shopping basket on your website, in other words: the last page of your site presented to the buyer.

A form with hidden html fields containing the order data must be integrated into this last page. The block of code you need to paste into the last page of your shopping basket is shown below:

<form method="post" action="https://ogone.test.v-psp.com/ncol/test/orderstandard_utf8.asp" id=form1 name=form1>



<!-- general parameters: see Form parameters -->

<input type="hidden" name="PSPID" value="">

<input type="hidden" name="ORDERID" value="">

<input type="hidden" name="AMOUNT" value="">

<input type="hidden" name="CURRENCY" value="">

<input type="hidden" name="LANGUAGE" value="">

<input type="hidden" name="CN" value="">

<input type="hidden" name="EMAIL" value="">

<input type="hidden" name="OWNERZIP" value="">

<input type="hidden" name="OWNERADDRESS" value="">

<input type="hidden" name="OWNERCTY" value="">

<input type="hidden" name="OWNERTOWN" value="">

<input type="hidden" name="OWNERTELNO" value="">



<!-- check before the payment: see Security: Check before the payment -->

<input type="hidden" name="SHASIGN" value="">

<!-- layout information: see Look and feel of the payment page -->

<input type="hidden" name="TITLE" value="">

<input type="hidden" name="BGCOLOR" value="">

<input type="hidden" name="TXTCOLOR" value="">

<input type="hidden" name="TBLBGCOLOR" value="">

<input type="hidden" name="TBLTXTCOLOR" value="">

<input type="hidden" name="BUTTONBGCOLOR" value="">

<input type="hidden" name="BUTTONTXTCOLOR" value="">

<input type="hidden" name="LOGO" value="">

<input type="hidden" name="FONTTYPE" value="">



<!-- post payment redirection: see Transaction feedback to the customer -->

<input type="hidden" name="ACCEPTURL" value="">

<input type="hidden" name="DECLINEURL" value="">

<input type="hidden" name="EXCEPTIONURL" value="">

<input type="hidden" name="CANCELURL" value="">

<input type="submit" value="" id=submit2 name=submit2>



</form> 

4.2 Form parameters

Although strictly taken the PSPID, ORDERID, AMOUNT, CURRENCY and LANGUAGE fields are sufficient, we nevertheless strongly recommend you to also send us the customer name (CN), customer’s e-mail (EMAIL), address (OWNERADDRESS), town/city (OWNERTOWN), postcode/ZIP (OWNERZIP), country (OWNERCTY) and telephone number (OWNERTELNO), as they can be useful tools for fraud prevention.

The following table gives an overview of the hidden fields used to transmit the “general parameters” to our system (additional fields are described throughout this and related documentation):

Field

Description

PSPID Your affiliation name in our system
ORDERID

Your order number (merchant reference). The system checks that a payment has not been requested twice for the same order.

The ORDERID has to be assigned dynamically.

AMOUNT

Amount to be paid, MULTIPLIED BY 100 since the format of the amount must not contain any decimals or other separators.

The AMOUNT has to be assigned dynamically.

CURRENCY

Currency of the order

ISO alpha code, e.g. EUR, USD, GBP, etc.

CN

Customer name

Will be pre-initialised (but still editable) in the Customer Name field of the credit card details.

EMAIL Customer email address
OWNERADDRESS Customer street name and number
OWNERZIP Customer postcode or ZIP code
OWNERTOWN Customer town/city/...
OWNERCTY Customer country
OWNERTELNO Customer telephone number

4.3 Form action

<form method="post" action="https://ogone.test.v-psp.com/ncol/test/orderstandard_utf8.asp" id=form1 name=form1>

The action of the form will be our e-Commerce system’s payment processing page.

  • In the TEST environment the URL for the action will be https://ogone.test.v-psp.com/ncol/test/orderstandard_utf8.asp
  • In the PRODUCTION environment the URL for the action will be https://secure.ogone.com/ncol/prod/orderstandard_utf8.asp

Change "test" to "prod"

When you switch from your test account to your production (live) account, you must replace “test” with “prod” in the URL of the payment page.

If you forget to change the action of your form once you start in production with real orders, your transactions will be sent to the test environment and will not be sent to the acquirers/banks, meaning you won't be paid.

This website uses cookies to be able to give you the best user experience. If you don't want to accept these cookies, we allow you to change the cookie settings. Click 'Accept' to allow all cookies from this website.

Cookie settings

Introduction

Functional

Functional cookies are required for the website to operate correctly. These cookies cannot be disabled.

Optimized

Optimization cookies allow us to analyze site usage so we can measure and improve our website.
This is the default level.

Personalized

Personalization cookies are used for social media and advanced personalization. They allow us to show you information related to your company.


Example functionality allowed

  • Store country preference
  • Store language preference

Example functionality not allowed

  • Saving personal data
  • Anonymous tracking via Google Analytics
  • Tracking for remarketing purposes

Example functionality allowed

  • Store country preference
  • Store language preference
  • Anonymous tracking via Google Analytics

Example functionality not allowed

  • Saving personal data
  • Tracking for remarketing purposes

Example functionality allowed

  • Store country preference
  • Store language preference
  • Anonymous tracking via Google Analytics
  • Serve content relevant to your interests
  • Serve ads relevant to your interests
  • Tracking for remarketing purposes

Example functionality not allowed

  • Saving personal data