Skip to content

Commit

Permalink
correctly set canceled when user canceled payment after succes login.
Browse files Browse the repository at this point in the history
  • Loading branch information
makasim committed Oct 17, 2013
1 parent 9d1bf6f commit c6a648b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public function execute($request)
$model = ArrayObject::ensureArrayObject($request->getModel());

foreach (range(0, 9) as $index) {
if (Api::L_ERRORCODE_PAYMENT_NOT_AUTHORIZED === $model['L_ERRORCODE'.$index]) {
if (Api::L_ERRORCODE_PAYMENT_NOT_AUTHORIZED == $model['L_ERRORCODE'.$index]) {
$request->markCanceled();

return;
Expand Down

0 comments on commit c6a648b

Please sign in to comment.