File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Payment Gateway in java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Reply locked New topic

Payment Gateway in java

jyoti mahajan

Joined: Nov 18, 2010
Posts: 27
How to implement the payment gateway in java.

please help me with an example.

Jyoti Mahajan
Deepak Bala

Joined: Feb 24, 2006
Posts: 6662

A payment gateway involves the use of technology / security whose scope is not within the confines of this post. Did you mean to ask how to integrate a website / web page with an existing payment gateway ? The gateways' documentation is the way to go.

please help me with an example.

I doubt one will be provided by anyone given that your post contains very few details. ShowSomeEffort

SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
jyoti mahajan

Joined: Nov 18, 2010
Posts: 27
yes i want to integrate it with my web application
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63548

Then you will need the documentation from the payment processor. We cannot help you.

[Asking smart questions] [About Bear] [Books by Bear]
Deepak Bala

Joined: Feb 24, 2006
Posts: 6662

Paypal is a well known gateway. Take a look at this ->
xsunil kumar
Ranch Hand

Joined: Dec 14, 2009
Posts: 137
You can use Paypal Services to integrate payment gateway to your code. There are some jars required to download and these have API to do payment.

You need to add those jars in the classpath and call that specific method with required input parameters. You can get details from paypal itself.

For testing purpose, you can use Test credit card numbers and paypal provide one test url which is similar to real paypal payment gateway URL.

As of now, I am forgetting that test URL but you can get information on google by seraching "Pilot url for Paypal"..

Hope this will help you.

shikha nirankari

Joined: Apr 05, 2015
Posts: 11
Hi sunil,

Can paypal be integrated with available CMCs like drupal?

Also, can you please send me any article link for payment gateway implementation?
Amit Ghorpade

Joined: Jun 06, 2007
Posts: 2846

Welcome to Coderanch shikha

This is a 4 year old thread and it is very unlikely that the people in the thread will respond now.
Deepak has already posted a link which explains almost everything realted to PayPal integration.
Also it can be integrated with Drupal.

I am locking this thread. If you have further questions, please start a new topic in the appropriate forum.

|Asking Good Questions|
I agree. Here's the link:
subject: Payment Gateway in java
jQuery in Action, 3rd edition