• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1316
  • Last Modified:

Paypal's refund operation on JAVA, JSF 1.2

Greetings to everyone

Does someone has an example on how to implement the Paypal's partial refund operation on JAVA, specifically on Visual Web JSF 1.2 implemented on Netbeans 6.7.1

Rigth now I'm able to take payments from customers with express checkout, but I need to implement a way to make refunds automatically if the product cannot be delivered, the system registers if an product cannot be given, but because the payment has been done, is necessary to make a refund.

I would appreciate examples or tutorials on the subject, preferably with Http request. I already have read the official PayPal Documentation with no use, please don't refer to that.

Thank you in advance
0
Risk_TI
Asked:
Risk_TI
  • 2
  • 2
1 Solution
 
mrcoffee365Commented:
If you want to get the refund info to process automatically, then I think you'll have to have an IPN setup with Paypal, and check the data Paypal sends you.  See the doc for the explanation of how Paypal identifies each type of event:
https://merchant.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_html_IPNandPDTVariables
0
 
Risk_TIAuthor Commented:
thank you Mr coffee, but I was thinking more on an example on how to issue a refund from java, this document surely will help when handling the response, but have you around some example on the mechanism for issuing and actual refund from code?

Thanks in advance
0
 
mrcoffee365Commented:
Are you actually using Paypal, so you want the sample code from their site to use their API?  In that case, you can get examples in Java from this page:
https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/library_code

If you have not already signed up, you'll want a Paypal developer account so that you can create a test area to try all these things out without having to do real transactions with your real credit card or Paypal account.
0
 
Risk_TIAuthor Commented:
Thank you , there it is what I was looking for, maybe looking at Userguides at first wasn't the best idea
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now