Skip to content

Instantly share code, notes, and snippets.

@bennyng
Created October 30, 2013 09:20
Show Gist options
  • Save bennyng/7229519 to your computer and use it in GitHub Desktop.
Save bennyng/7229519 to your computer and use it in GitHub Desktop.
Paydollar documentation is rubbish. even copy and paste from the documentation does not work. hope that it is useful to anyone of you dealing with Paydollar responses. Enjoy ~
ALL_PRC_SRC_MESSAGES = {
"1"=> {
"01"=> "Bank Decline",
"02"=> "Bank Decline",
"03"=> "Other",
"04"=> "Other",
"05"=> "Bank Decline",
"12"=> "Other",
"13"=> "Other",
"14"=> "Input Error",
"19"=> "Other",
"25"=> "Other",
"30"=> "Other",
"31"=> "Other",
"41"=> "Lost / Stolen Card",
"43"=> "Lost / Stolen Card",
"51"=> "Bank Decline",
"54"=> "Input Error",
"55"=> "Other",
"58"=> "Other",
"76"=> "Other",
"77"=> "Other",
"78"=> "Other",
"80"=> "Other",
"89"=> "Other",
"91"=> "Other",
"94"=> "Other",
"95"=> "Other",
"96"=> "Other",
"99"=> "Other",
"2000"=> "Other"
},
"-8"=> {
"999"=> "Other",
"1000"=> "Skipped transaction",
"2000"=> "Blacklist error",
"2001"=> "Blacklist card by system",
"2002"=> "Blacklist card by merchant",
"2003"=> "Black IP by system",
"2004"=> "Black IP by merchant",
"2005"=> "Invalid cardholder name",
"2006"=> "Same card used more than 6 times a day",
"2007"=> "Duplicate merchant reference no.",
"2008"=> "Empty merchant reference no.",
"2011"=> "Other",
"2012"=> "Card verification failed",
"2013"=> "Card already registered",
"2014"=> "High risk country",
"2016"=> "Same payer IP attempted more than pre-defined no. a day.",
"2017"=> "Invalid card number",
"2018"=> "Multi-card attempt",
"2019"=> "Issuing Bank not match",
"2020"=> "Single transaction limit exceeded",
"2021"=> "Daily transaction limit exceeded",
"2022"=> "Monthly transaction limit exceeded",
"2023"=> "Invalid channel type",
"2031"=> "System rejected(TN)",
"2032"=> "System rejected(TA)",
"2033"=> "System rejected(TR)",
"2099"=> "Non testing card"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment