You must Sign In to post a response.
  • Category: .NET

    How to do refund in payment gateway using c#


    Are you looking for a way to do refund in payment gateway using c# then read this thread to know how to do it

    Hi,

    I am working on TransNational Payment Gateway using C#.
    I am able to make CC payments via DoDirect method .
    Can some one provide me the sample to make full/partial refund ?

    Thanks!
    Anjali Bansal
  • #763462
    I think payment refund or cancel procedure should be with the payment gateway provider, you can contact to TransNational Payment Gateway to request for refund API or something.
    here I got some helpful links to work with
    http://sitestree.com/code-to-request-a-refund-to-a-paymentech-gateway-using-c/
    https://developer.paypal.com/docs/integration/direct/refund-payment/

    Thanks
    Koolprasd2003
    Editor, DotNetSpider MVM
    Microsoft MVP 2014 [ASP.NET/IIS]

  • #763480
    Hey,

    I could solve my problem with the same method call (doDirectPayment) , I just needed to mention that type ='refund' intsted of 'sale'


Sign In to post your comments