I've discovered an issue with the "return" variable used to provide a url for the client to be returned to after making a payment.
In Safari if this variable is assigned in Javascript, it returns a parse error, which causes the whole script to fail.
Example:
HTML:
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="item_number" value="01 - Test Item" />
<input type="hidden" name="cmd" value="_xclick" />
<input type="hidden" name="no_note" value="1" />
<input type="hidden" name="business" value="myaddress@email.com" />
<input type="hidden" name="currency_code" value="GBP" />
<input type="hidden" name="return" value="" />
<input type="hidden" name="item_name" value="" />
<input type="hidden" name="amount" value="50" />
Javascript :
function ProcessFormElements(f){
myform.return.value = "http://www.google.com";
}
Anyone got a fix for this?
Currently this means my site won't be able to support Safari, which is a little rubbish and I'm surprise Paypal use such a poor variable name.