Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How should we integrate PayPal adaptive (and IPN) API in a Java webserver environment?

As I'm currently integrating a paypal layer in my spring based server (that should be usable by multiple clients asking me to implement their webstore):

And as there's surprisingly very few info to find on the Spring/Paypal topic, I could only find this article: http://blog.mushiengine.com/2010/08/25/paypal-adaptive-api-and-spring-3-rest-template-%E2%80%94-part-2/

I was wondering if there are perhaps some guidelines or best practices concerning the topic?

Any comments on the topic more than welcome!

Jochen

like image 208
prefabSOFT Avatar asked Feb 12 '11 00:02

prefabSOFT


People also ask

How do I use PayPal with IPN?

Click the settings icon at the top of your PayPal account page and then click Account Settings. On the Notifications page, click the Update link for the Instant payment notifications item. Click Choose IPN Settings to specify your listener's URL and activate the listener.

What is PayPal IPN sandbox?

IPN sandbox testingEnables you to test your entire flow including the user login, payment process, IPN message verification, and your back-end processing. You want to test without making real credit card payments in the live environment.

What is IPN listener?

IPN listener request-response flowYour listener listens for the HTTPS POST IPN messages that PayPal sends with each event. After receiving the IPN message from PayPal, your listener returns an empty HTTP 200 response to PayPal. Otherwise, PayPal resends the IPN message.


1 Answers

Since you are having problems finding information that's Java-specific you can look into Grail's PayPal plugin (http://www.grails.org/plugin/paypal-pro) for some reference.

like image 63
Felipe Oliveira Avatar answered Sep 25 '22 23:09

Felipe Oliveira