Shopping Cart API for any payment gateway? (PayPal at least required)

前端 未结 6 862
忘了有多久
忘了有多久 2021-02-07 07:35

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

相关标签:
6条回答
  • 2021-02-07 07:59

    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.

    0 讨论(0)
  • 2021-02-07 08:03

    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 !!!

    0 讨论(0)
  • 2021-02-07 08:07

    There's this site which could be used via jruby.
    This may or may not come somewhere near meeting your requirements.

    0 讨论(0)
  • 2021-02-07 08:09

    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.

    0 讨论(0)
  • 2021-02-07 08:15

    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.

    0 讨论(0)
  • 2021-02-07 08:24

    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:

    1. You need a server that will communicate with PayPal (or DataTrans or any other payment systems)
    2. You need a database to capture all the payments transferred:

      • That have been settled
      • That have been payed but the settlement is not received yet
      • That still need to be payed
      • Installments done, finished, or yet to be done
    3. The server needs to be any web app (spring with hibernate etc) that has some security (acegi, spring)

    4. Every-time a user logs in and starts purchasing online you need to do a call to PayPal and get the response in a callback to the browser of the user
    5. Every time you have a settlement you save the needed data in the DB like user-id purchase-method owner card-number invoice-id PayPal -token

    I hope this helps

    0 讨论(0)
提交回复
热议问题