Mar 21st, 2010, 3:29 PM
Hi,
In the example and how I've used it, it's just set manually in the form:
I think it is only used with Paypal.
Martin
In the example and how I've used it, it's just set manually in the form:
Code:
// the Form Tools submission mode
$pp["mode"] = "live";
I think it is only used with Paypal.
Martin
(Mar 21st, 2010, 3:22 PM)filch Wrote:(Mar 21st, 2010, 3:19 PM)martin_undefined Wrote:Quote: I guess what I am confused about in this case is where the value of $pp["mode"] comes from. Do I have to set that to "initialize" or "live" somewhere else? Or, does it come from the API?Hi,
I believe the $pp["mode"] is set in the library.php file that comes with the Paypal demo.
Martin
So, this variable is really only used when interfacing with PayPal? Is it something you manually set in library.php or is it set dynamically?
Cheers
Dave