Cybersource
Datos extra requeridos
Cybersource espera recibir la siguiente información obligatoriamente en el campo extra_data
al crear la orden:
- Nombre y apellidos
- Dirección
Estos campos pueden aportarse con la siguiente estructura en extra_data
:
"extra_data": {
"profile": {
"first_name": "John",
"last_name": "Doe",
"email": "johndoe@paynopain.com"
},
"address": {
"city": "Castellon",
"country": "ESP",
"address1": "Avinguda del Mar 23",
"zip_code": "12000",
"state_code": "CT"
}
}
Métodos de pago en Sandbox
Las tarjetas de prueba son las siguientes. En general, la fecha de caducidad y CVV no importan siempre y cuando la fecha sea posterior a la fecha actual, y el CVV tenga 3 cifras.
Resultado | Tarjeta | Notas |
---|---|---|
OK | 4622943127013705 12/34 123 | |
KO | 4622943127013705 12/34 123 | El amount debe ser >= 1000000 (10.000,00 DOP) |
Códigos de error
Los códigos de error en Cybersource siguen la siguiente estructura:
Status - Motivo
Por ejemplo:
DECLINED - INSUFFICIENT_FUND
Status | Motivo |
---|---|
AUTHORIZED | N/A |
PARTIAL_AUTHORIZED | N/A |
AUTHORIZED_PENDING_REVIEW | AVS_FAILED |
AUTHORIZED_PENDING_REVIEW | CONTACT_PROCESSOR |
DECLINED | EXPIRED_CARD |
DECLINED | PROCESSOR_DECLINED |
DECLINED | PROCESSOR_ERROR |
DECLINED | INSUFFICIENT_FUND |
DECLINED | STOLEN_LOST_CARD |
DECLINED | ISSUER_UNAVAILABLE |
DECLINED | UNAUTHORIZED_CARD |
DECLINED | CVN_NOT_MATCH |
DECLINED | EXCEEDS_CREDIT_LIMIT |
DECLINED | INVALID_CVN |
DECLINED | DECLINED_CHECK |
DECLINED | BLACKLISTED_CUSTOMER |
DECLINED | SUSPENDED_ACCOUNT |
DECLINED | PAYMENT_REFUSED |
AUTHORIZED_PENDING_REVIEW | CV_FAILED |
DECLINED | INVALID_ACCOUNT |
DECLINED | GENERAL_DECLINE |
INVALID_REQUEST | INVALID_MERCHANT_CONFIGURATION |
DECLINED | BOLETO_DECLINED |
SERVER_ERROR | PROCESSOR_TIMEOUT |
DECLINED | DEBIT_CARD_USAGE_LIMIT_EXCEEDED |
AUTHORIZED_RISK_DECLINED | SCORE_EXCEEDS_THRESHOLD |
PENDING_AUTHENTICATION | CONSUMER_AUTHENTICATION_REQUIRED |
DECLINED | CONSUMER_AUTHENTICATION_FAILED |
AUTHORIZED_PENDING_REVIEW | DECISION_PROFILE_REVIEW |
AUTHORIZED_RISK_DECLINED | DECISION_PROFILE_REJECT |
INVALID_REQUEST | MISSING_FIELD |
INVALID_REQUEST | INVALID_DATA |
INVALID_REQUEST | DUPLICATE_REQUEST |
INVALID_REQUEST | CARD_TYPE_NOT_ACCEPTED |
INVALID_REQUEST | PROCESSOR_UNAVAILABLE |
INVALID_REQUEST | INVALID_AMOUNT |
INVALID_REQUEST | INVALID_CARD_TYPE |
SERVER_ERROR | SYSTEM_ERROR |
SERVER_ERROR | SERVER_TIMEOUT |
SERVER_ERROR | SERVICE_TIMEOUT |
SERVER_ERROR | INVALID_OR_MISSING_CONFIG |