Skip to content

Commit df8faba

Browse files
committed
[fix] round number PhoenixCart
1 parent 7d05656 commit df8faba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

upload_ce_phoenix/includes/modules/paylike.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
'test_mode'=>MODULE_PAYMENT_PAYLIKE_TRANSACTION_MODE,
3939
'store_name'=>$_SESSION['PAYLIKE_TITLE']?:STORE_NAME,
4040
'currency'=>$order->info['currency'],
41-
'amount'=>number_format($order->info['total']*$order->info['currency_value'], 2, '.', '')*100,
41+
'amount'=>ceil(number_format($order->info['total']*$order->info['currency_value'], 2, '.', '')*100),
4242
'exponent'=>get_paylike_currency($order->info['currency'])['exponent'],
4343
'locale'=>key($current_lang),
4444
'custom'=>[

0 commit comments

Comments
 (0)