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