Merge branch 'ticket-payboxAgreement' into develop
This commit is contained in:
commit
3ed6c2c33f
@ -55,7 +55,7 @@ $pbx_id = trim(Configuration::get('PBX_ID'));
|
|||||||
$num_question = Configuration::get('NUM_QUESTION_PAYBOX') + 1;
|
$num_question = Configuration::get('NUM_QUESTION_PAYBOX') + 1;
|
||||||
Configuration::updateValue('NUM_QUESTION_PAYBOX', $num_question);
|
Configuration::updateValue('NUM_QUESTION_PAYBOX', $num_question);
|
||||||
|
|
||||||
$montant = sprintf('%010f', number_format(Tools::convertPrice($cart->getOrderTotal(), null, false), 2, '.', '') * 100);
|
$montant = (int)sprintf('%f', number_format(Tools::convertPrice($cart->getOrderTotal(), null, false), 2, '.', '') * 100);
|
||||||
$devise = 978;
|
$devise = 978;
|
||||||
$numbers = urldecode($paybox_card['handle']);
|
$numbers = urldecode($paybox_card['handle']);
|
||||||
$dateval = $paybox_card['date'];
|
$dateval = $paybox_card['date'];
|
||||||
@ -96,7 +96,7 @@ $postfields = array(
|
|||||||
'RANG' => $pbx_rang,
|
'RANG' => $pbx_rang,
|
||||||
'CLE' => 'EFNLJKFB',
|
'CLE' => 'EFNLJKFB',
|
||||||
'NUMQUESTION' => $num_question,
|
'NUMQUESTION' => $num_question,
|
||||||
'MONTANT' => $montant,
|
'MONTANT' => sprintf('%010',$montant),
|
||||||
'DEVISE' => $devise,
|
'DEVISE' => $devise,
|
||||||
'REFERENCE' => (int)$cart->id,
|
'REFERENCE' => (int)$cart->id,
|
||||||
'REFABONNE' => $refabonne,
|
'REFABONNE' => $refabonne,
|
||||||
|
Loading…
Reference in New Issue
Block a user