View previous topic :: View next topic |
Author |
Message |
atadti
Joined: 15 Feb 2005 Posts: 12
|
Posted: Fri Feb 18, 2005 8:04 pm Post subject: PayPal Sandbox Testing |
|
|
I need to change the live PayPal URL
https://www.paypal.com/cgi-bin/webscr
to the PayPal testing Sandbox URL
https://www.sandbox.paypal.com/cgi-bin/webscr
for testing purposes.
I added the www.sandbox.paypal.com as an free site, and replaced the "live paypal " url in the paypal_submit.php file to the "test paypal" url.
After submitting a purchase, the browser will not direct me to the test site url of paypal. It gives the browser message "This page cannot be displayed."
What other php files do I need to modify so that I can test using PayPal's sandbox testing?
atadti |
|
Back to top |
|
|
jason Forum facilitator
Joined: 30 Nov 2004 Posts: 95 Location: Hong Kong
|
Posted: Tue Feb 22, 2005 10:07 am Post subject: |
|
|
Hi
you need to do the followings to make paypal sandbox works with firstspot:
1) replace the following line in "cart.php"
<img src="http://www.paypal.com/en_US/i/logo/paypal_logo.gif" height=0 width=0>
with
<img src="http://www.sandbox.paypal.com/en_US/i/logo/logo_paypalSandbox_w_100x50.gif" height=0 width=0>
<img src="http://developer.paypal.com/en_US/i/logo/logo_paypalDeveloperCentral_w_100x50.gif" height=0 width=0>
2) add "paypal.com" as Exception Free Website (without quotes).
3) After starting firstspot, go to http://developer.paypal.com in one of your client machine. You might get a "page not found" error when you first access to the page. If so, please refresh it.
4)you can then test firstspot with paypal sandbox
Just to remind you that there might be an ipn error with sandbox, refer to http://paypal.forums.liveworld.com/thread.jspa?threadID=100002261
Regards
Jason _________________ ~ Patronsoft Limited ~ |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
Powered by phpBB © 2001, 2005 phpBB Group
| |