Esempio n. 1
0
        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"));
        }
Esempio n. 2
0
        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);
        }