@@ -101,7 +101,7 @@ def refund_transaction(token, amount, currency, note=None):
101101 txn = Transaction .objects .get (token = token ,
102102 method = DO_EXPRESS_CHECKOUT )
103103 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 )
105105
106106
107107def capture_authorization (token , note = None ):
@@ -110,7 +110,7 @@ def capture_authorization(token, note=None):
110110 """
111111 txn = Transaction .objects .get (token = token ,
112112 method = DO_EXPRESS_CHECKOUT )
113- return do_capture (txn .value ('TRANSACTIONID ' ),
113+ return do_capture (txn .value ('PAYMENTINFO_0_TRANSACTIONID ' ),
114114 txn .amount , txn .currency , note = note )
115115
116116
@@ -120,4 +120,4 @@ def void_authorization(token, note=None):
120120 """
121121 txn = Transaction .objects .get (token = token ,
122122 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