Mar 21st, 2010, 8:47 PM
OK ... that is more or less what I did. Just seems a bit klugey ... especially if there are several forms on the page like I have.
Anyway ... thanks for your responses.
Cheers
Dave
Anyway ... thanks for your responses.
Cheers
Dave
(Mar 21st, 2010, 3:29 PM)martin_undefined Wrote: Hi,
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