Commit 7da6f68074f2b78e2912114919c18cd64c5f31ae

Authored by Adhidarma Hadiwinoto
1 parent 342d268acc
Exists in master

coba diy tanpa header xml

Showing 2 changed files with 3 additions and 5 deletions Side-by-side Diff

1   -<?xml version="1.0" encoding="utf-8"?>
2   -
3 1 <SOAP-ENV:Envelope
4 2 SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
5 3 xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
partner-kospinjasa.js
... ... @@ -59,8 +59,8 @@ 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);
63   - topupRequestSoap(task, params, retry);
  62 + topupRequestSoapDIY(task, params, retry);
  63 + //topupRequestSoap(task, params, retry);
64 64 }
65 65  
66 66 function topupRequestSoap(task, params, retry) {
... ... @@ -113,7 +113,7 @@ function topupRequestSoapDIY(task, params, retry) {
113 113 headers: {
114 114 'Content-Type': 'application/soap+xml',
115 115 'Content-Length': Buffer.byteLength(message),
116   - 'SOAPAction': "urn:apih2h#billpayment"
  116 + //'SOAPAction': "urn:apih2h#billpayment"
117 117 }
118 118 };
119 119