adding return params
This commit is contained in:
parent
cc0b9ce4a3
commit
75e3ab7177
@ -23,7 +23,7 @@ $pbx_site = trim(Configuration::get('PBX_SITE'));
|
||||
$pbx_rang = trim(Configuration::get('PBX_RANG'));
|
||||
$pbx_id = trim(Configuration::get('PBX_ID'));
|
||||
|
||||
$pbx_retour = 'm:M;r:R;t:T;a:A;b:B;p:P;c:C;s:S;y:Y;e:E;d:D;k:K';
|
||||
$pbx_retour = 'm:M;r:R;t:T;a:A;b:B;p:P;c:C;s:S;y:Y;e:E;h:H;j:J;u:U;d:D;k:K';
|
||||
$pbx_total = (int)sprintf('%f', number_format(Tools::convertPrice($cart->getOrderTotal(), null, false), 2, '.', '') * 100);
|
||||
|
||||
if (version_compare(_PS_VERSION_, '1.5', '>'))
|
||||
|
@ -258,6 +258,9 @@ class Paybox extends PaymentModule
|
||||
* @param array $values Tableau de retour Paybox
|
||||
**/
|
||||
public function saveInformationPaiement($values) {
|
||||
|
||||
mail('marion@antadis.com', 'Transaction value', serialize($values)); // dev
|
||||
|
||||
$sql_cart = 'SELECT `num_transaction`
|
||||
FROM `ps_paybox_transaction`
|
||||
WHERE `id_cart` = ' .(int)$values["r"];
|
||||
|
Loading…
Reference in New Issue
Block a user