sudiptpa / omnipay-nabtransact

Integrate NAB Transact payment gateway using the php library built on top of Omnipay PHP payment processing library.
MIT License
9 stars 3 forks source link

How to refund the partial/ full payment using NABTransact_SecureXML #30

Open kunallibra opened 5 years ago

kunallibra commented 5 years ago

Hi, I am trying to do a refund process for a transaction but its not going through. I am entering the same transactionReference (TR) and transactionId (TID) which is purchaseOrderNo.

The response gets fail, and it says "Credit card details not available". To what I understand to do the refund process, you only need to set the TR, TID and amount. TR is my reference number and TID is the Bank transaction Number

Secondly, when I am setting the values for the TR as my reference and TID as Bank transaction ID, the value of TID gets the value for Transaction Reference. This shouldnt happen I guess. I have posted a question of Stack please click here to view with the screenshot.

I really appreciate your time and effort if you can show an example of the refund.

Thanks for helping.

sudiptpa commented 4 years ago

@kunallibra been a lot busy to look at this, i will go through it on weekends, i will get back to you.