summaryrefslogtreecommitdiff
path: root/postgresqleu/paypal/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'postgresqleu/paypal/util.py')
-rw-r--r--postgresqleu/paypal/util.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/postgresqleu/paypal/util.py b/postgresqleu/paypal/util.py
index 324ad587..aeb501a9 100644
--- a/postgresqleu/paypal/util.py
+++ b/postgresqleu/paypal/util.py
@@ -6,6 +6,7 @@ from urlparse import parse_qs
from decimal import Decimal
import itertools
+
class PaypalAPI(object):
def __init__(self):
self.accessparam = {
@@ -19,7 +20,6 @@ class PaypalAPI(object):
else:
self.API_ENDPOINT = 'https://api-3t.paypal.com/nvp'
-
def _api_call(self, command, params):
params.update(self.accessparam)
params['METHOD'] = command
@@ -50,7 +50,6 @@ class PaypalAPI(object):
for k in
('TRANSACTIONID', 'TIMESTAMP', 'EMAIL', 'TYPE', 'AMT', 'FEEAMT', 'NAME')])
-
def get_transaction_details(self, transactionid):
return self._api_call('GetTransactionDetails', {
'TRANSACTIONID': transactionid,