I am considering adding Paypal integration and the Paypal site seems to make it easy with supplied code but is there any way to test code - other than actually passing a transaction through Paypal?
I am considering adding Paypal integration and the Paypal site seems to make it easy with supplied code but is there any way to test code - other than actually passing a transaction through Paypal?
Do a search for Paypal sandbox. It's a test site just for testing paypal payments.
Maybe this could help http://net.tutsplus.com/tutorials/ph...tion-with-php/
To elaborate on jpr28056's post, go to
https://developer.paypal.com/
You have to create a sandbox account and from there you can create 'fake' PayPal buyer/seller accounts with how ever much money you want.
Next, you have to modify your site's settings to send PayPal forms to "https://www.sandbox.paypal.com/cgi-bin/webscr" with method "post"
Next, change your PayPal form's seller email to a seller account created at PayPal Sandbox.
Try buying an item with a buyer account created at PayPal Sandbox.
Note that you have to restore the settings once testing is done.
That's pretty much how Sandbox works, here's the guide if you want it: https://cms.paypal.com/cms_content/U..._UserGuide.pdf
hello im trying to integrate the paypal suscription service, but it uses the IPN this service send notifications to a perl file , home/user/public_html/cgi-bin/paypal.pl but i was reading that we cant use perl right now,is that true ??? cause i installed everything and didnt workcan you help me with that???
@im0theros31: don't threadjack, and search first.
Last edited by misson; 02-24-2011 at 01:54 PM.
Be sure to read all pages linked in this post; they have further information that should prove useful. When asking for help, make sure you follow Eric Raymond's and Jon Skeet's guidelines for prompt, accurate responses. Please answer any questions I ask; they're not rhetorical (probably). Any posted code is intended as illustrative example, rather than a solution to your problem to be copied without alteration. Study it to learn how to write your own solution.Misson, not Mission.
i was just asking for help with that file to be specific, cause i dont know if we can use perl i search but there are post saying that we can and others that we cant use perl, however i just wrote my own PHP file to use the IPN service and let my costumers to write the passwords and the username :P
It doesn't matter why you threadjacked, it's bad netiquette. This is an old thread about how to test PayPal integration, not about whether Perl scripts are working.
Be sure to read all pages linked in this post; they have further information that should prove useful. When asking for help, make sure you follow Eric Raymond's and Jon Skeet's guidelines for prompt, accurate responses. Please answer any questions I ask; they're not rhetorical (probably). Any posted code is intended as illustrative example, rather than a solution to your problem to be copied without alteration. Study it to learn how to write your own solution.Misson, not Mission.