Skip to content

Commit

Permalink
Merge pull request #131 from korzind/PC-479
Browse files Browse the repository at this point in the history
PC-512 add new error code to public php wrapper
  • Loading branch information
pm-alexander-serbe committed Apr 25, 2016
2 parents 6a8eccc + 322ede2 commit f09ade9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/Paymill/Services/ResponseHandler.php
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ class ResponseHandler
40401 => "Amount too low or zero.",
40402 => "Usage field too long.",
40403 => "Currency not allowed.",
40404 => "Refund amount exceeds the possible value",
40410 => "Invalid shopping cart data.",
40420 => "Invalid address data.",
40500 => "Permission error.",
Expand Down
1 change: 1 addition & 0 deletions tests/Unit/Paymill/Services/ResponseHandlerTest.php
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ class ResponseHandlerTest extends PHPUnit_Framework_TestCase
40401 => "Amount too low or zero.",
40402 => "Usage field too long.",
40403 => "Currency not allowed.",
40404 => "Refund amount exceeds the possible value",
50000 => "General problem with backend.",
50001 => "Country blacklisted.",
50100 => "Technical error with credit card.",
Expand Down

0 comments on commit f09ade9

Please sign in to comment.