Commit 66ed02be497ca06728820681c86b47f6b7b57d36

Authored by Adhidarma Hadiwinoto
1 parent 5a78b49fa1
Exists in master

debug soapaction

Showing 1 changed file with 2 additions and 1 deletions Side-by-side Diff

partner-kospinjasa.js
... ... @@ -59,7 +59,7 @@ function topupRequest(task, retry) {
59 59 var signature = createSignature(params, config.h2h_out.password);
60 60 params.signature = signature;
61 61  
62   - topupRequestSoapDIY(task, params, retry);
  62 + topupRequestSoap(task, params, retry);
63 63 }
64 64  
65 65 function topupRequestSoap(task, params, retry) {
... ... @@ -82,6 +82,7 @@ function topupRequestSoap(task, params, retry) {
82 82 logger.info('Requesting to service', {url: config.h2h_out.partner, params: _params});
83 83  
84 84 soapClient.apih2h.apih2hPort.billpayment({ inputCheck: _params }, function(err, result) {
  85 + logger.info('SOAPAction', soapClient.SOAPAction);
85 86  
86 87 logger.info('Got response', {lastRequest: soapClient.lastRequest, lastMessage: soapClient.lastMessage, lastEndpoint: soapClient.lastEndpoint});
87 88