public override bool Refund(decimal amount, string transactionId) { PayPalWebService payPalWebService = new PayPalWebService(); string token = payPalWebService.GetTransactionToken(_username, _password); string response = payPalWebService.MakeRefund(amount, transactionId, token); return(response.Contains("Authorized")); }
public override string Refund(decimal amount, string transactionId) { PayPalWebService payPalWebService = new PayPalWebService(); string token = payPalWebService.GetTransactionToken(Username, Password); string response = payPalWebService.MakeRefund(amount, transactionId, token); return(response); }