Skip to content

Commit

Permalink
Merge pull request #11 from mycase/BMH-3439
Browse files Browse the repository at this point in the history
BMH-3439 Updated success response code to include  multi-use virtual card approvals.
  • Loading branch information
sivakumargandikota authored Nov 11, 2024
2 parents 7413cc9 + bd9015a commit 1dd343a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/active_merchant/billing/gateways/litle.rb
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@ def commit(kind, request, money = nil)
end

def success_from(kind, parsed)
return (parsed[:response] == '000') unless kind == :registerToken
return %w(000 001 010 136 141 142).any?(parsed[:response]) unless kind == :registerToken

%w(000 801 802).include?(parsed[:response])
end
Expand Down
2 changes: 1 addition & 1 deletion lib/active_merchant/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module ActiveMerchant
VERSION = '1.128.0'
VERSION = '1.129.0'
end

0 comments on commit 1dd343a

Please sign in to comment.