I\'m trying to find a java based API that wraps up the details of processing a credit card transaction or purchase via PayPal at a minimum, and other gateways as a plus in an IP
I know only this product (commercial): IBM WebSphere Commerce Payment There is a tutorial to integrate also with PayPal: Integration with PayPal
I dont know the license cost, you must contact IBM for this.
You can not get an API for payment gateway integration. You will have to write your own development for the processing with various payment gateways. For that you have to understand that which payment gateway gets which parameters and its requesting URL for requesting for the paymentgateway. You can get this information by varius payment gateway websites.
This url may helpful to you
For HDFC : http://www.hdfcbank.com/sme/sme-details?id=guzh6m0i
For Paypal : https://merchant.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=merchant/payment_gateway
Secure Pay : http://www.securepay.com.au/
techpro [ ICICI ] : http://forums.devarticles.com/asp-development-3/how-to-integrate-payseal-icici-payment-gateway-95329.html
Here you can also find the development APIs or the guidelines for the development that which parameters they will require for processing the requests.
Hope this may help you.
Enjoy !!!
There's this site which could be used via jruby
.
This may or may not come somewhere near meeting your requirements.
Java SDKs are available here - https://www.x.com/developers/paypal/documentation-tools/paypal-sdk-index
All of them come with a nice handy example (check README.md files) which will get you started.
Though the thread is very old, I just wanted to add details of an API which I came across recently, that may match the requirements of the question. I hope this will help others who are looking for similar answers.
Try Shopizer. This API was build on Java, Spring, Hibernate, jQuery and elasticsearch.
I would say it's better to write your own api, because anything related to payment and purchase processes will cost you money to get. You need the following for your app to accomplish:
You need a database to capture all the payments transferred:
The server needs to be any web app (spring with hibernate etc) that has some security (acegi, spring)
user-id
purchase-method
owner
card-number
invoice-id
PayPal -token
I hope this helps