Subversion Repositories SmartDukaan

Rev

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

Rev 6719 Rev 7073
Line 5... Line 5...
5
from datetime import datetime
5
from datetime import datetime
6
import time
6
import time
7
from shop2020.config.client.ConfigClient import ConfigClient
7
from shop2020.config.client.ConfigClient import ConfigClient
8
from decimal import Decimal
8
from decimal import Decimal
9
logging.basicConfig(level=logging.INFO)
9
logging.basicConfig(level=logging.INFO)
10
#logging.getLogger('suds.client').setLevel(logging.DEBUG)
-
 
11
#logging.getLogger('suds.transport').setLevel(logging.DEBUG)
-
 
12
 
-
 
13
 
10
 
14
username = base64.b64encode('saholic20')
11
username = base64.b64encode('saholic20')
15
password = base64.b64encode('ap2020sh')
12
password = base64.b64encode('ap2020sh')
16
account_url = 'https://smsapi.spiceharbour.com/McommWebServices/AccountApiMcomm?wsdl'
13
account_url = 'https://smsapi.spiceharbour.com/McommWebServices/AccountApiMcomm?wsdl'
17
recharge_url = 'https://smsapi.spiceharbour.com/McommWebServices/RechargeApiMcomm?wsdl'
14
recharge_url = 'https://smsapi.spiceharbour.com/McommWebServices/RechargeApiMcomm?wsdl'