import suds
url = "https://sec.paymentexpress.com/WS/PXWS.asmx?WSDL"
client = suds.client.Client(url)
#print client
username = "USERNAME"
password = "PASSWORD"
trans = client.factory.create('TransactionDetails')
trans.amount = 1
trans.cardHolderName = "Test"
trans.cardNumber = '4111111111111111'
trans.inputCurrency= 'NZD'
trans.cvc2 = '000'
trans.dateExpiry = '0412'
trans.txnType = 'Purchase'
print client.service.SubmitTransaction(username, password, trans)
Python code snippet for DPS webservice
2 types of bosses
Cairns Arcade (Caine’s)
Office environment & Successfulness
To me, I really think there is a relationship between the 2.
Google, Apple & Microsoft share at least one common famous characteristic, they all have open, supportive & enjoyful office environments, when employees come to offices to enjoy their work environments, it actually boost productivity and innovation.
And really, it’s not that expensive.
Collection of FREE lightroom presets that I use, Version 1.0
MySQL locate function
So everyone knows sql LIKE to search wildcard matches the criteria. How about in a situation that you need to return all the rows that has value is part of the criteria string.
eg. given a full URL http://www.abc.com/bl/abcdefg/, return all the rows with uri_part field that values are part of the URL string.
+------------+ |uri_part | +------------+ |/bl/ | |/bl/abc/ | |/ba/abc/ | +------------+
Normally LIKE statement works on the other way around, so you need to use LOCATE function. So in this example would be:
SELECT uri_part FROM table WHERE locate(uri_part, 'http://www.abc.com/bl/abcdefg/');
there is no way to lead you to happiness, being happy is the way
JQuery .text() function does not reflect most current value
Modem file for Samsumg Galaxy S II in New Zealand
I f you are a fan of custom smartphone ROMs you would probably have battery draining problem. It could be due to your modem file is not suitable in your country and service providers.
I am with 2degrees in New Zealand and have tested the following modem files:
KI3 (battery drain)
KL1 (battery drain)
KPA (battery drain)
KP1 (so far so good)
KE7 (TBA)
KI4 (TBA)
LPB (so far so good)


