git-archimport-id: opensource@polytechnique.org--2005/platal--mainline--0.9--patch-526
var $mpay_def_id = 0;
var $mpay_def_meth = 0;
var $mpay_tprefix = 'paiement.';
+ var $paypal_site = '';
+ var $paypal_comte = '';
}
// }}}
// revienne sur le site
global $globals;
- $this->urlform = 'https://www.sandbox.paypal.com/cgi-bin/webscr';
+ $this->urlform = 'https://'.$globals->money->paypal_site.'/cgi-bin/webscr';
$roboturl = str_replace("https://","http://",$globals->baseurl)
."/paiement/paypal_retour.php?uid="
$this->infos = Array();
$this->infos['commercant'] = Array(
- 'business' => 'caribou+paypalsandbox@m4x.org',
+ 'business' => $globals->money->paypal_compte,
'rm' => 2,
'return' => $roboturl,
'cn' => 'Commentaires',