Permalink
Browse files

Use ActiveMerchant logger as Savon logger, filter card number and ver…

…ification value
  • Loading branch information...
1 parent 675aec2 commit ff8f8a4f4626116e823670beefecb9e77ed12280 @samleb samleb committed Jan 3, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/active_merchant/billing/gateways/payline.rb
@@ -97,6 +97,8 @@ def request(method_name)
def savon_client
@savon_client ||= Savon.client do
config.raise_errors = false
+ config.logger = self.logger
+ config.logger.filter << "number" << "cvx"
wsdl.namespace = IMPL_NAMESPACE
wsdl.endpoint = test? ? test_url : live_url
http.headers["Authorization"] = basic_authentication_header

0 comments on commit ff8f8a4

Please sign in to comment.