For developers


Simple form and instant payment GET-notifications

GET Payment other Get Started

Get payments using the HTML form or on website HPAY

Test

Documentation

POST form for payment

Variable

Description

  Conditions

Necessarily

h_m_payeer

Merchant ID in the system HPAYMENT. Assigned to the merchant automatically after adding a store to your account. Your store must be moderated

Not equal to 0

NO

h_username

username (payer)

Minimum 3, maximum - 100

 Yes

h_comment

comment on the order

Not equal to 0

 Yes

h_sum

order price

Sum is more than 1

 Yes

h_currency

Currency must be in the format: USD , RUB , EUR , HC .

Qiwi- RUB; Yandex Money- RUB;  VISA,MC,BC- RUB,EUR,USD; HPAY-HC,RUB,EUR,USD.

ONLY THIS FORMAT: USD , RUB , EUR , HC .

 Yes

h_des

detailed description of the goods (order)

Minimum 3, maximum - 100

 

YES

h_moreinf

generator of special md5 key

MD 5, $sign = md5($payeer.':'.$sum.':'.$code);

 

YES

$code

Your secret key which is given in the account

given in your account

YES

h_id or $id

Unique transaction number transmitted by you

only numbers

YES

Verify Payment

How does it work ?

After payment, the user is redirected to the successful payment page, the md5 key is transmitted to this page, after this key is verified, you can perform your operation, or redirect the user to another page.

Variable

 

Description

Example

$amount

order price

100.00

$line

md5 key

 

49f68a5c8493ec2c0bf489821c21fc3b

$payeer    

 

Merchant ID in the system HPAYMENT. Assigned to the

merchant automatically after adding a store to your account. Your store must be moderated

 

1

$des

detailed description of the goods (order)

 

pay from ...

$currency

 

Currency must be in the format: USD , RUB , EUR , HC .

 

USD

$status

check payment status

success

$code

Your secret key which is given in the account

testcode

$id

Unique transaction number transmitted by you

1245758551

Example of a notification handler in PHP