Class ActiveMerchant::Billing::Integrations::SagePayForm::Notification
In: lib/active_merchant/billing/integrations/sage_pay_form/notification.rb
Parent: ActiveMerchant::Billing::Integrations::Notification

Methods

Included Modules

Encryption

Classes and Modules

Class ActiveMerchant::Billing::Integrations::SagePayForm::Notification::CryptError
Class ActiveMerchant::Billing::Integrations::SagePayForm::Notification::InvalidCryptData
Class ActiveMerchant::Billing::Integrations::SagePayForm::Notification::MissingCryptData
Class ActiveMerchant::Billing::Integrations::SagePayForm::Notification::MissingCryptKey

Public Class methods

Public Instance methods

Numeric address check. Possible values: NOTPROVIDED:: NOTCHECKED:: MATCHED:: NOTMATCHED::

Address confirmation status. PayPal only. Possible values: NONE:: CONFIRMED:: UNCONFIRMED::

Authorization number (only if completed?).

AVS and CV2 check results. Possible values: ALL MATCH:: SECURITY CODE MATCH ONLY:: ADDRESS MATCH ONLY:: NO DATA MATCHES:: DATA NOT CHECKED::

Result of 3D Secure checks. Possible values:

OK:Authenticated correctly.
NOTCHECKED:Authentication not performed.
NOTAVAILABLE:Card not auth-capable, or auth is otherwise impossible.
NOTAUTHED:User failed authentication.
INCOMPLETE:Authentication unable to complete.
ERROR:Unable to attempt authentication due to data / service errors.

Encoded 3D Secure result code.

Was the transaction cancelled? Unfortunately, we can‘t distinguish "user abort" from "idle too long".

Was the transaction complete?

Last four digits of credit card.

Credit card type. Possible values:

VISA:Visa
MC:MasterCard
DELTA:Delta
SOLO:Solo
MAESTRO:Maestro (UK and International)
UKE:Visa Electron
AMEX:American Express
DC:Diners Club
JCB:JCB
LASER:Laser
PAYPAL:PayPal

Used by composition methods, but not supplied by SagePay.

CV2 code check. Possible values: NOTPROVIDED:: NOTCHECKED:: MATCHED:: NOTMATCHED::

Was the Gift Aid box checked?

Total amount (no fees).

Vendor-supplied code (:order mapping).

Check this if completed? is false.

Payer verification. Undocumented.

Post code check. Possible values: NOTPROVIDED:: NOTCHECKED:: MATCHED:: NOTMATCHED::

Text version of complete?, since we don‘t support Pending.

Status of transaction. List of possible values:

OK:Transaction completed successfully.
NOTAUTHED:Incorrect card details / insufficient funds.
MALFORMED:Invalid input data.
INVALID:Valid input data, but some fields are incorrect.
ABORT:User hit cancel button or went idle for 15+ minutes.
REJECTED:Rejected by account fraud screening rules.
AUTHENTICATED:Authenticated card details secured at SagePay.
REGISTERED:Non-authenticated card details secured at SagePay.
ERROR:Problem internal to SagePay.

Internal SagePay code, typically "{LONG-UUID}".

[Validate]