This page is for the classic Hosted Payment Pages (HPP) integration, which has reached end-of-life. We are no longer processing transactions though HPP. If you have any questions, contact our Support Team.
This table lists parameters that should be passed to the https://test.adyen.com/hpp/directory.shtml or https://test.adyen.com/hpp/directory/v2.shtml endpoint.
Field | Type | Required | Description |
---|---|---|---|
countryCode | String | ![]() | By default, the payment methods offered to a shopper are filtered based on the country the shopper's IP address is mapped to. In this way, shoppers are not offered payment methods that are not available in the country they are carrying out the transaction from.
This IP-to-country mapping is not 100% accurate, so if you have already established the country of the shopper, you can set it explicitly in the The It is recommended that you provide the |
currencyCode | String | ![]() | The three-character ISO currency code. |
merchantAccount | String | ![]() | The merchant account identifier you want to process the (transaction) request with. |
merchantReference | String | ![]() | A reference to uniquely identify the payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, you can enter them in this field. Separate each reference value with a hyphen character ("-"). This field has a length restriction: you can enter max. 80 characters. |
merchantSig | String | ![]() | The signature in Base64 encoded format. It is generated by concatenating the values of payment session fields, and by computing the HMAC using the shared secret, as configured in the skin. |
paymentAmount | Int | ![]() | The payable amount that can be charged for the transaction, in minor units. The transaction amount needs to be represented in minor units according to the Currency codes table. Some currencies do not have decimal points, such as JPY, and some have 3 decimal points, such as BHD. |
sessionValidity | String | ![]() | The payment deadline; the payment needs to occur within the specified time value. This is especially useful for tickets and reservations, where you want to hold items for sale for a short, limited period of time.
|
shopperLocale | String | ![]() |
Specifies the language to use during the transaction. For example: When it is not necessary to include the country-specific part, use only the language code. For example: If not specified, the locale preference is set to |
skinCode | String | ![]() | A unique code to identify the skin you want to apply to the HPP in use to process the transaction. Note:
|