PDA

View Full Version : PayPal Sandbox


rid
16th of December 2006 (Sat), 11:06
PayPal has a "Developer Central" site: https://developer.paypal.com

They have a free testing system called "Sandbox" where you can create and use fictitious accounts. It is the same as PayPal, but no real transactions take place, and no money changes hands.

Ian Davis

Pekka
16th of December 2006 (Sat), 12:22
Nice!

rid
16th of December 2006 (Sat), 22:47
I created a page that is a little more customized by:
1. creating two sandbox accounts (link in 1st post above)
2. loggin into one account > my account > profile (Change business email to this account. Change $action_URL = "https://www.sandbox.paypal.com/cgi-bin/webscr";)
3. clicking on "custom payment pages" under "Seller Preferences"
4. adding a page style PayPal_ee, and matching colors to template
5. making above the default

This worked outside of EE, but I had to add the line below twice (once for button, and once for view cart):

input_eecommerceform ("hidden", "page_style", "PayPal_ee");

see: eecommerce/paypalcart.php

The resulting paypal pages are still jarring, but it's a start for a beginner like me.

This is pretty jumbled, but paypal is well documented in a PDF file.

Ian Davis

www.robertiandavis.com (http://www.robertiandavis.com)
log in as: test password: test view exhibit "test commerce"

rid
17th of December 2006 (Sun), 23:11
1. To see cart above, you will need to (a) log in as test, test (b) go to single photo in "Test Commerce" exhibit & (c) have a (fictitious) PayPal sandbox account.

2. I have added a logo to the cart. (I used a shared SSL certificate so that I don't get a not secure message.)

Ian Davis

http://robertiandavis.com/gallery/index.php