Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ...
- using PayPal.PayPalAPIInterfaceService;
- using PayPal.PayPalAPIInterfaceService.Model;
- namespace PayPalToDBMerch
- {
- class Program
- {
- static void Main(string[] args)
- {
- TransactionSearchRequestType request = new TransactionSearchRequestType();
- TransactionSearchReq wrapper = new TransactionSearchReq();
- wrapper.TransactionSearchRequest = request;
- Dictionary<string, string> configurationMap = Configuration.GetAcctAndConfig();
- PayPalAPIInterfaceServiceService service = new PayPalAPIInterfaceServiceService(configurationMap);
- TransactionSearchResponseType transactionDetails = service.TransactionSearch(wrapper);
- if (transactionDetails.Ack == AckCodeType.FAILURE)
- {
- Console.WriteLine("This is always the result."); //
- }
- else
- {
- Console.WriteLine("I never get here.");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement