forked from devpark/laravel-paybox-gateway
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathResponseCode.php
37 lines (33 loc) · 977 Bytes
/
ResponseCode.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?php
namespace Matthv\PayboxGateway;
/**
* Class ResponseCode.
*
* It contains response codes from Paybox System
*/
class ResponseCode
{
const SUCCESS = '00000';
const CONNECTION_FAILED = '00001';
/**
* This is not exact response code.
*/
const PAYMENT_REJECTED = '001xx';
const PAYBOX_ERROR = '00003';
const INVALID_CARD_NUMBER = '00004';
const REFUSED = '00006';
const INVALID_EXPIRATION_DATE = '00008';
const SUBSCRIBER_CREATION_ERROR = '00009';
const INVALID_CURRENCY = '00010';
const AMOUNT_INCORRECT = '00011';
const PAYMENT_ALREADY_DONE = '00015';
const SUBSCRIBER_ALREADY_EXISTS = '00016';
const NOT_AUHORIZED_BIN_CARD = '00021';
const OTHER_CARD_USED = '00029';
const TIMEOUT = '00030';
const RESERVED = '00031';
const RESERVED_2 = '00032';
const UNAUTHORIZED_COUNTRY_CODE = '00033';
const BLOCKED_BY_FRAUD_FILTER = '00040';
const WAITING_CONFIRMATION = '99999';
}