Module: Simplepay::ResponseStatusCode

Defined in:
lib/simplepay/constants.rb

Constant Summary collapse

Abandoned =
'A'
HtmlError =
'ME'
PaymentFailed =
'PF'
PaymentInitiated =
'PI'
PaymentReserved =
'PR'
PaymentSuccessful =
'PS'
SystemError =
'SE'
SubscriptionFailed =
'SF'
SubscriptionSuccessful =
'SS'
Successful =
[PaymentSuccessful, SubscriptionSuccessful]
Failure =
[Abandoned, HtmlError, PaymentFailed, SystemError, SubscriptionFailed]
Pending =
[PaymentInitiated, PaymentReserved]
All =
[Successful, Failure, Pending].flatten