Authentication for PayPal Express Checkout
I'm using the express checkout button in a number of places so I've placed the code in an include.
When adding the Express checkout button to an eCart page, the update cart button triggered the Authentication so I've changed the code to
if ($_SERVER["REQUEST_METHOD"] == "POST" && isset($_POST["PayPalXpr_x"]))
This works fine, the only problem is that it gets overwritten if I make a change with the wizard.
Is there a better way to trap the pressing of the the pp express button