Discussion Forum

Main >> ASP.NET Technical Articles and Discussions>> Paypal API integration

All Threads Register Login New Discussion
AuthorPostings
AlexT
Developer
Paypal API integration

Monday, May 05 2008 12:40 AM

I had to implement PayPal API payment to a billing module. It was not hard to develop but extremely difficult to navigate to the proper references on paypal website. Very cumbersome architecture of the process too. I would not recommend it unless you really need it. Waste of time and does not work as well as payment gateway implementations. Finding documentation takes longer than actually implementing it. If anyone has a pre-developed code to save sometime please post

Post a Replyreply

AlexT
Developer
Re:Paypal API integration

Tuesday, January 31 2012 09:59 PM

This post was from 2008 - 4 years ago. I felt compelled to post an answer. Paypal API has come a long way and AT Integrated is now a PayPal API integration partner. We have an extensive experience with integration and usage of PayPal APIs - from paypal button to automated recurring billing of membership payments, auto renewals, recurring shipments and simple sales.
Along with that we provide interfaces for easy refunds and inventory management all tied up to the PayPal payments integration. If you have a question please post or read more here http://www.atintegrated.com/webdevelopment/api-integration-paypal.aspx

Post a Replyreply

paulineetcuban
Online Marketer
Re:Paypal API integration

Tuesday, February 16 2016 01:29 AM

Thank you very much for the answer!

we make website ConvertBetter http://www.convertbetter.com/

Post a Replyreply

CharlySpancer

Re:Paypal API integration

Sunday, March 28 2021 09:13 AM

Download a wrapper for the PayPal SDK that can do Direct Payment. The wrapper is the log4net.dll and paypal_base.dll libraries, as well as the SiteMechanics.PayPalDirect.dll wrapper itself. It contains interfaces, IMerchantProfile and IBuyerProfile, as well as their default heirs. These interfaces are used in the PayPalHelper class, which actually makes payments through PayPal. Thus, in order to use the wrapper, you need to inherit two interfaces, fill in all the fields from the heirs, and pass the heirs objects to the DoDirectPayment method. The returned object contains the Ack field, if it is Success, then the payment was successful, if not, then the Errors field contains all the errors that occurred. If you don't want to inherit the interfaces, you can use the ready-made heirs Merchant Profile and Buyer Profile. See below for a sample code:
MerchantProfile merchant = new MerchantProfile(
"blabla_1234567890_biz[at]email.com",
"1234567890",
"odifhp9p83948rlwkcmnwli430948f3ojldkjflskdjlsdkjsf0o98209",
"sandbox");
BuyerProfile buyer = new BuyerProfile(
"John","Doe",
"1 Main St","", "San Jose","CA","95131",
"Visa", "4197058882575379","926",
10,2010
);
PayPalResponse PayPalResponse = PayPalHelper.DoDirectPayment("13.45", merchant, buyer);

Or you can ask for technical support

Post a Replyreply

AT Integrated Inc. | 913 Ridgebrook Rd Suite 109, Sparks, MD 21152 | T: 410-472-2490
Copyright © 2024 AT Integrated Inc. All rights reserved.