la variable lc et country existe
developer.paypal.com/webapps/developer/d...ndard_htmlvariables/
j'ai modifié paypal.php en ajoutant
$vars = array(
'cmd' => '_ext-enter',
'redirect_cmd' => '_cart',
'upload' => '1',
'business' => $this->payment_params->email,
'receiver_email' => $this->payment_params->email,
'invoice' => $order->order_id,
'currency_code' => $this->currency->currency_code,
'return' => $return_url,
'notify_url' => $notify_url,
'cancel_return' => $cancel_url,
'undefined_quantity' => '0',
'test_ipn' => $debug,
'no_shipping' => $this->payment_params->no_shipping,
'no_note' => !@$this->payment_params->notes,
'charset' => 'utf-8',
'rm' => (int)@$this->payment_params->rm,
'bn' => 'HikariSoftware_Cart_WPS',
'lc' => 'FR',
'country' => 'FR'
);
et ça marche
ça serait un plus d'ajouter cette variable dynamique selon la langue de l'utilisateur