Payment Form

16.02.2011 21:42
#1
raptisahlgren
Joomshopping forum user no avatar
Name: Raptis
22.06.2009
Posts: 2
Quote
Payment Form

Hi

I need to send the total amount variable to my Payment Provider (DIBS) in a form.

So when I choose to pay with my payment provider "DIBS" I have configurated the payment form to include this variable:

<input type="hidden" name="amount" value="<?php print $order->order_total?>" />

Above will send the amount like 300.00

The problem is that they want it like 30000 without the dot. How is it possible can I change this by using other "Input Type" or do you have to help me solve this?

My payment provider told me: I need the smallest unit of an amount, eg. øre for Danish crowns, cent for EUR.

Tryed in the configurating area admin but cant find anything that helps?

Best Regards Bo Raptis
Payment Form


Joomla: oomla! 1.5.22 Stable
JoomShopping: Version 2.7.3
PHP: 5.3.3
MySQL: 5.0.45-log
Website Url: www.davinesshop.com

Letzte Änderung: 17.02.2011 00:46
 
17.02.2011 07:53
#2
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16513
Quote
Aw: Payment Form

<?php print intval($order->order_total*100)?>


Letzte Änderung: 17.02.2011 07:53
 
17.02.2011 12:11
#3
raptisahlgren
Joomshopping forum user no avatar
Name: Raptis
22.06.2009
Posts: 2
Quote
Aw: Payment Form

moderator - 17.02.2011 07:53
<?php print intval($order->order_total*100)?>

Thank you for qouick answer, it works now.

 
Copyrights MAXXmarketing GmbH. All Rights Reserved