Subversion Repositories SmartDukaan

Rev

Rev 7249 | Rev 7263 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7249 Rev 7254
Line 2762... Line 2762...
2762
            cash_string = "<cash>0</cash>"
2762
            cash_string = "<cash>0</cash>"
2763
            card_string = "<hdfc>" + str(amount) + "</hdfc>"
2763
            card_string = "<hdfc>" + str(amount) + "</hdfc>"
2764
        date_string = "<date>" + ts.strftime("%Y%m%d") + "</date>"
2764
        date_string = "<date>" + ts.strftime("%Y%m%d") + "</date>"
2765
        time_string = "<time>" + ts.strftime("%H%M%S") + "</time>"
2765
        time_string = "<time>" + ts.strftime("%H%M%S") + "</time>"
2766
        
2766
        
2767
        conn = httplib.HTTPConnection("182.71.104.182")
2767
        conn = httplib.HTTPConnection("182.71.104.186")
2768
        XML="""
2768
        XML="""
2769
        <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
2769
        <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
2770
          <soap:Body>
2770
          <soap:Body>
2771
            <SaholicDataTransfer xmlns="http://tempuri.org/">
2771
            <SaholicDataTransfer xmlns="http://tempuri.org/">
2772
        """
2772
        """