$this->val_number = $val;
}
- function prepareform($pay)
+ function prepareform($pay, $user)
{
// Documentation:
// https://www.paypal.com/developer
global $globals, $platal;
$this->urlform = 'https://' . $globals->money->paypal_site . '/cgi-bin/webscr';
- $user = S::user();
$roboturl = str_replace("https://","http://",$globals->baseurl)
. '/' . $platal->ns . "payment/paypal_return/" . S::v('uid')
- . "?comment=" . urlencode(Env::v('comment')) . '?display=' . Post::i('display');
+ . "?comment=" . urlencode(Env::v('comment')) . '&display=' . Post::i('display');
$this->infos = array(
'commercant' => array(