Skip to content

Commit

Permalink
PC-512 add new error code to public php wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel.korzin committed Apr 21, 2016
1 parent 6a8eccc commit 322ede2
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 322ede2

Please sign in to comment.