Paynow duplcating price after retrying a cancelled transaction


#1

If i cancel a transaction then redo the transaction, the popup sent to the mobile phone has doubled the amount. Im using python and please, help me fIx this ASAP!


#2

Good day, I have seen this issue before but I am not sure if the fix I found actually works. At any rate, please try this PR and update here if it works (or not) https://github.com/paynow/Paynow-Python-SDK/pull/16


#3

Add the code payment.items = [] before payment.add('Item name', 'Amount'). This removes any items that are in the list from the previous transaction. It seems like a bug in the Python-SDK package.