We're a community of 1077K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,076,386 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

Need Help With Project ***Please Help Me***

I'm working on a project that would require me to integrate PayPal into it somehow. I don't know how exactly to go about this, but I'd like the code to be in Java if possible, but really any programming language is fine. Does anyone know if I could do this without the use of '.php' files? Please help me out, I'm stumped here.

2
Contributors
5
Replies
1 Day
Discussion Span
2 Years Ago
Last Updated
6
Views
iProgram
Newbie Poster
3 posts since Feb 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

PayPal provide SDKs for

  • Java
  • ASP.NET
  • Ruby
  • Classic ASP
  • PHP
  • ColdFusion

You can download necessary stuff here and examples can be found here

peter_budo
Code tags enforcer
Moderator
15,791 posts since Dec 2004
Reputation Points: 2,867
Solved Threads: 944
Skill Endorsements: 50

Thank you 'peter budo', I downloaded the Java SDK from Paypal, but now I don't know how to import it into my project. I'm using NetBeans IDE 6.9.1.

iProgram
Newbie Poster
3 posts since Feb 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

Extract downloaded ZIP, inside you will find "lib" folder with number of libraries.
If I'm not mistaken you need in your project create directory "res" or "lib" (recommended to do on top level), copy&paste libraries there. Right click on project name, select Properties, select Build and then Libraries&Resources, in right side select Add JAR/ZIP and navigate to the location of libraries. (See this article with screenshots)

peter_budo
Code tags enforcer
Moderator
15,791 posts since Dec 2004
Reputation Points: 2,867
Solved Threads: 944
Skill Endorsements: 50

Thanks again much!!!! I tried writing some of the sample code in the 'README' file of that PayPal SDK you directed me to and it's not recognizing the functions :(. Is there anything that I need to import at the top of the code where it says:

import org.jdesktop.application.Action;
import org.jdesktop.application.ResourceMap;
import org.jdesktop.application.SingleFrameApplication;
import org.jdesktop.application.FrameView;
import org.jdesktop.application.TaskMonitor;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.Timer;
import javax.swing.Icon;
import javax.swing.JDialog;
import javax.swing.JFrame;
iProgram
Newbie Poster
3 posts since Feb 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

First 5 statements is from Appframework. I couldn't found ready to use JAR therefore you will have to go their SVN, download source code for it, compile it and you will get JAR to use. Or perhaps is time for you to look into Maven 2 and create pom file (pom.xml) that will take care of getting all libraries for you.

peter_budo
Code tags enforcer
Moderator
15,791 posts since Dec 2004
Reputation Points: 2,867
Solved Threads: 944
Skill Endorsements: 50

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
View similar articles that have also been tagged:
 
© 2013 DaniWeb® LLC
Page rendered in 0.0742 seconds using 2.71MB