lib/active_merchant/billing/gateways/ct_payment.rb in activemerchant-1.103.0 vs lib/active_merchant/billing/gateways/ct_payment.rb in activemerchant-1.104.0
- old
+ new
@@ -236,9 +236,10 @@
def success_from(response)
return true if response['returnCode'] == ' 00'
return true if response['returnCode'] == 'true'
return true if response['recurReturnCode'] == ' 00'
+
return false
end
def message_from(response)
response['errorDescription'] || response['terminalDisp']&.strip