SDN Featured Content

Do you Think Hibernate is better technology that EJB

Java/J2EE blogs

Welcome to my java /J2EE blogs.


Friday, May 28, 2010

Paypal payment using java

Hi All,

I have been thinking of writing on paypal to my blog from so long. As we all know the online payment,Paypal is one of the secure payment gateway.I worked on different requirement at different point of time in paypal and got a chance to explore it's flexibility.Paypal provide the developer the ease to implement the payment applcation in your current system via support to different API available in different languages. So you don't worry if you are a java developer or a .net developer, you would be getting the full API support. Paypal has different releases on API serving different needs of the customer. i.e if I am a small customer then I can implement the sandbox setting or the signature method of the paypal or we have the option of going for the merchant accounts. There are los of JSP code available and the core java example that perform the following action for the developer to get it integrated in their exisitng system.


So you have the option as:

1) Sandbox setting for paypal
2) Using Signature method created using the paypal account
3) Using the merchant account for the transacton.

You can have a test environment before you go live so even if you have the paypal account that is genuine but not the test one ,you can have the test and live environment with that account. So you can switch or have two environment like QA vs Production.


Paypal has the release Payflow_SDK_for_Java_v4.31 for the merchant account and you have then numerous settings to be made to manage your account and the reportings.

Sometime if your reporting is like you feed data to the different environment then you can get the report and write the parser as per you need for the specific report.

There are different sort of transactions that paypal supports like:

1)Credit
2)Debit
3)Sale
4)Reference
5)Swipe
6)Voice authorization
7)Void
8)EC
9)Fraud Filtering

And there are more than these.

Watch this link to download the free developer Kit for the Paypflow:

https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/library_download_sdks#PayflowPro

There are number of tutorial avalable through the paypal to learn the basics and then follo up with the provided code and modify it as per our need.There are tutorial for the Reportings also.

It's very user friendly to interact with the paypal manager as well to manage the reports and to see the exisiting transactions.

Hope you would be enjoying reading the stuff over there and see how easy it is to implement the paypal in your existing application.


Without your involvement you can't succeed. With your involvement you can't fail.

Posted by Ajay Kumar java j2ee blogs (Spring,Hibernate,JSF,Ice Faces,Rich Faces)