/// <summary> /// Verifies the specified args. /// </summary> /// <param name="args">The args.</param> /// <returns></returns> public static string Verify(params object[] args) { PaymentService paymentService = new PaymentService(); string content = string.Format("{0}&cmd=_notify-validate", args[0]); Logger.Information(string.Format("{0}::{1}", "VERIFY", content)); string response = paymentService.Synchronize(content); return response; }
/// <summary> /// Synchronizes the specified args. /// </summary> /// <param name="args">The args.</param> /// <returns></returns> public static string Synchronize(params object[] args) { PaymentService paymentService = new PaymentService(); string content = string.Format("&cmd=_notify-synch&tx={0}&at=", args[0]); string response = paymentService.Synchronize(content); return response; }