PDA

View Full Version : Billing module: amount always returns 0



factor
01-19-10, 05:10 PM
Hi, we are trying to develop a payment module for bidobido.com and the problem we have is no matter what we do, when using the attached function the amount we receive in the array reply is always 0.



array(14) {
["paymentmethod"]=>
string(8) "bidobido"
["convertto"]=>
string(0) ""
["name"]=>
string(12) "BidoBido.com"
["type"]=>
string(2) "CC"
["visible"]=>
string(2) "on"
["companyname"]=>
string(42) "LA TIENDA, SL"
["systemurl"]=>
string(35) "https://latienda.com/"
["returnurl"]=>
string(59) "https://la tienda.com/viewinvoice.php?id=xxxx"
["langpaynow"]=>
string(11) "Pagar Ahora"
["description"]=>
string(60) "LA TIENDA, SL - Factura nºxxxx"
["invoiceid"]=>
string(4) "xxxx"
["clientdetails"]=>
NULL
["amount"]=>
string(4) "0.00" //// <----- HERE IS THE PROBLEM
["currency"]=>
string(3) "EUR"
}

Could you please tell us what we are doing wrong and, if possible, how to correct it?

The module will be freed for inclusion on whmcs by the way, it will be very popular in spain as it offers credit card payments for only 1% and no monthly fees.

Regards,

factor
01-19-10, 05:12 PM
NOTE: the smiley beside string is an 8 and a )

Regards,