Online Reversal Request to Paymentech in C# #17

protected void saLearnOnlineReversal(object sender, EventArgs e)    {

PaymentechGateway gateway = new PaymentechGateway();
gateway.Url = "https://wsvar.paymentech.net/PaymentechGateway";        

//Create a reversal request object                
ReversalElement reversalObj = new ReversalElement();        reversalObj.orbitalConnectionUsername = "paymentech_username";        reversalObj.orbitalConnectionPassword = "paymentech_password";                reversalObj.bin = "bin number with paymentech";        
reversalObj.merchantID = "Your merchant ID with Paymentech";        
reversalObj.terminalID = "Your Terminal ID with Paymentec";        

//transaction for reversal        
reversalObj.orderID = "567";        

//as you received from authentication response        
//transaction to reverse        
reversalObj.txRefNum = "transaction reference number to reverse";         reversalObj.txRefIdx = "transaction reference ID to reverse";         ReversalResponseElement responseObj = null;        

string response = "";        
try        
{            
//send the reversal request            
responseObj = gateway.Reversal(reversalObj);            
//receive the response            
response = responseObj.approvalStatus + "-" + responseObj.procStatus;            
//you can process the response here                   
}
        
catch (Exception ex)        
{                    
}    
        
}

From: http://sitestree.com/?p=5333
Categories:17
Tags:
Post Data:2007-01-05 11:42:41

    Shop Online: <a href='https://www.ShopForSoul.com/' target='new' rel="noopener">https://www.ShopForSoul.com/</a>
    (Big Data, Cloud, Security, Machine Learning): Courses: <a href='http://Training.SitesTree.com' target='new' rel="noopener"> http://Training.SitesTree.com</a> 
    In Bengali: <a href='http://Bangla.SaLearningSchool.com' target='new' rel="noopener">http://Bangla.SaLearningSchool.com</a>
    <a href='http://SitesTree.com' target='new' rel="noopener">http://SitesTree.com</a>
    8112223 Canada Inc./JustEtc: <a href='http://JustEtc.net' target='new' rel="noopener">http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning) </a>
    Shop Online: <a href='https://www.ShopForSoul.com'> https://www.ShopForSoul.com/</a>
    Medium: <a href='https://medium.com/@SayedAhmedCanada' target='new' rel="noopener"> https://medium.com/@SayedAhmedCanada </a>