Jump to content

Billing module: amount always returns 0


factor

Recommended Posts

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,

bidobido_link.txt

Edited by factor
quoting code
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated