wojodesign/simplecart-js — Issue #168: Sandbox disappeared
Author: sixFingers
Created: 2011-11-25 04:53:51+00:00
State: open

Kinda late here in Italy so could be an error of mine, but in 2.2 sandbox mode disappeared.
Fixed it by adding "sandbox" variable to the main object and correcting from line 246 of 2.2dev

endpoint = me.sandbox ? "https://www.sandbox.paypal.com/cgi-bin/webscr" : "https://www.paypal.com/cgi-bin/webscr",
strn = endpoint+"?cmd=_cart" + [...]