forked from LiveCarta/PayPal-PHP-Server-SDK
Beta Release 0.7.0 including: - Bug fixes - Updated model/function names - Updated models to reflect changes in APIs
1.5 KiB
1.5 KiB
Payments Processor Response
The processor response information for payment requests, such as direct credit card transactions.
Structure
PaymentsProcessorResponse
Fields
| Name | Type | Tags | Description | Getter | Setter |
|---|---|---|---|---|---|
avsCode |
?string(AvsCode) |
Optional | The address verification code for Visa, Discover, Mastercard, or American Express transactions. | getAvsCode(): ?string | setAvsCode(?string avsCode): void |
cvvCode |
?string(CvvCode) |
Optional | The card verification value code for for Visa, Discover, Mastercard, or American Express. | getCvvCode(): ?string | setCvvCode(?string cvvCode): void |
responseCode |
?string(ProcessorResponseCode) |
Optional | Processor response code for the non-PayPal payment processor errors. | getResponseCode(): ?string | setResponseCode(?string responseCode): void |
paymentAdviceCode |
?string(PaymentsPaymentAdviceCode) |
Optional | The declined payment transactions might have payment advice codes. The card networks, like Visa and Mastercard, return payment advice codes. | getPaymentAdviceCode(): ?string | setPaymentAdviceCode(?string paymentAdviceCode): void |
Example (as JSON)
{
"avs_code": "A",
"cvv_code": "E",
"response_code": "5150",
"payment_advice_code": "01"
}