Changeset 2886
- Timestamp:
- 08/02/10 10:50:51 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/common/lib/epayment/methods/moneybookers.php
r2351 r2886 59 59 60 60 $currencyObject = new currencies(); 61 $amount_toprocess = number_format($order->info['total'] , $currencyObject->get_decimal_places($my_currency)); 62 $amount_toprocess = str_replace(',', '.', $amount_toprocess); 63 61 64 $process_button_string = tep_draw_hidden_field('pay_to_email', MODULE_PAYMENT_MONEYBOOKERS_ID) . 62 65 tep_draw_hidden_field('language', $my_language) . 63 tep_draw_hidden_field('amount', number_format($order->info['total'] , $currencyObject->get_decimal_places($my_currency))) .66 tep_draw_hidden_field('amount', $amount_toprocess) . 64 67 tep_draw_hidden_field('currency', $my_currency) . 65 68 tep_draw_hidden_field('detail1_description', STORE_NAME) . … … 72 75 tep_draw_hidden_field('country', $order->billing['country']['moneybookers']) . 73 76 tep_draw_hidden_field('pay_from_email', $order->customer['email_address']); 74 if($transactionID != 0) 75 { 77 if($transactionID != 0) { 76 78 $process_button_string .= tep_draw_hidden_field('transaction_id', $transactionID); 77 79 }
