كدي هم كه بانك داده اينه
<%
'================================================= ======================================
'=== SAMPLE code showing how to consume KWMP web services
'================================================= ======================================
%>
<html>
<META http-equiv=Content-Type content='text/html; charset=windows-1256'>
<head>
<title></title>
</head>
<body >
<%
'=== Create an instance of SoapClient
SET objSoapClient = Server.CreateObject("MSSOAP.SoapClient30")
'=== Set Client Properties
objSoapClient.ClientProperty("ServerHTTPRequest") = True
'=== Retrieve KWMP web services WSDL
Call objSoapClient.mssoapinit("https://acquirer.sb24.com/ref-payment/ws/ReferencePayment?WSDL", "ReferencePayment")
'=== Set connection property to be over SSL
objSoapClient.ConnectorProperty("UseSSL") = True
'=== Now consume the web sevices according to KWMP Specification
output = objSoapClient.verifyTransaction ("Reference Number","Merchant ID")
output = objSoapClient.reverseTransaction ("Reference Number","Merchant ID","Merchant Password",ReverseAmount)
%>
<BR><BR>
</body>
</html>
كه output هميشه برابر -8 هست ، چه پرداخت انجام بشه چه انجام نشه :(
لطفا راهنمايي كنيد