Sina-Soltani / Parbad

A free, open-source, integrated and extensible library which connects your web applications to online payment gateways. Gateways can be added or developed by you.
GNU Lesser General Public License v3.0
364 stars 81 forks source link

Giving the TransactionCode also in the result of the Fetch method #320

Closed Sina-Soltani closed 1 year ago

Sina-Soltani commented 2 years ago

The TransactionCode can be given to the user also in the result of the Fetch method. This can be added as a new Property in the PaymentFetchResult class. The value of the new property must be assigned where we check if the Payment is completed or not. When it's completed, then it's just an assignment like

fetchResult.TransationCode = payment.TransationCode;
Sina-Soltani commented 2 years ago

The discussion about this ticket #319