@@ -101,7 +101,7 @@ def refund_transaction(token, amount, currency, note=None):
101
101
txn = Transaction .objects .get (token = token ,
102
102
method = DO_EXPRESS_CHECKOUT )
103
103
is_partial = amount < txn .amount
104
- return refund_txn (txn .value ('TRANSACTIONID ' ), is_partial , amount , currency )
104
+ return refund_txn (txn .value ('PAYMENTINFO_0_TRANSACTIONID ' ), is_partial , amount , currency )
105
105
106
106
107
107
def capture_authorization (token , note = None ):
@@ -110,7 +110,7 @@ def capture_authorization(token, note=None):
110
110
"""
111
111
txn = Transaction .objects .get (token = token ,
112
112
method = DO_EXPRESS_CHECKOUT )
113
- return do_capture (txn .value ('TRANSACTIONID ' ),
113
+ return do_capture (txn .value ('PAYMENTINFO_0_TRANSACTIONID ' ),
114
114
txn .amount , txn .currency , note = note )
115
115
116
116
@@ -120,4 +120,4 @@ def void_authorization(token, note=None):
120
120
"""
121
121
txn = Transaction .objects .get (token = token ,
122
122
method = DO_EXPRESS_CHECKOUT )
123
- return do_void (txn .value ('TRANSACTIONID ' ), note = note )
123
+ return do_void (txn .value ('PAYMENTINFO_0_TRANSACTIONID ' ), note = note )
0 commit comments