This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

xBilling variables problem and vouches
#1
xBilling variables problem and vouches
<input type="hidden" name="item_name" value="{{invoice_desc}}">
<input type="hidden" name="amount" value="{{invoice_amount}}">

Those {{variables}} are not changing to the actual value when you open view_invoice.php, so that mean I totally can't process invoices. (http://i.imgur.com/JcRXA80.png)

Example:
http://seenko.io/billing/view_invoice.ph...ce=VABZSAD

And when I apply a vouch code the page is refreshed into a blank page.

Edit: 50 minutes after posting this thread I disabled from purchase all web packages so users don't glitch anything.
Reply
Thanks given by:
#2
RE: xBilling variables problem and vouches
Do you have these fields specified in your backend?
Remi - Software Engineer,  Sentora Module Developer,  Owner, imerLabs


Please mark threads as SOLVED if your problem has been resolved.
Do not PM Staff Members for help unless asked to do so, this is so that others can benefit from your solution.
Do a SEARCH before asking in the forums, a solution may already exist.
Reply
Thanks given by:
#3
RE: xBilling variables problem and vouches
I'm using the default payment gateway from xBilling just changed business email to be my email and IPN URL to ipn_listener, it should gather the invoice description and price automatically... right?

The backend is pretty much default:
http://i.imgur.com/yBtlHFS.png

And on the xBilling short manual it tells me exactly this:
By default, the module replaces the tags below.
{{country_code}}
{{invoice_desc}}
{{invoice_id}}
{{invoice_amount}}
{{currency}}
{{payment_method_id}}

Which is not happening...

And about the voucher problem:
http://i.imgur.com/hlTtzwC.gif
Reply
Thanks given by:
#4
RE: xBilling variables problem and vouches
Tried to add those fields to see if it woul make any difference but nothing at all, so I reset to default again...
Reply
Thanks given by:
#5
RE: xBilling variables problem and vouches
I guess nobody knows how to fix this? I'll dig up the code and see what I can come with.
Reply
Thanks given by:
#6
RE: xBilling variables problem and vouches
Hi there, I'll have a look at this tomorrow as this seems to be an isolated issue on your side.
Remi - Software Engineer,  Sentora Module Developer,  Owner, imerLabs


Please mark threads as SOLVED if your problem has been resolved.
Do not PM Staff Members for help unless asked to do so, this is so that others can benefit from your solution.
Do a SEARCH before asking in the forums, a solution may already exist.
Reply
Thanks given by:
#7
RE: xBilling variables problem and vouches
My guess is that it's probably a PHP Module that you're using that I have disabled, either way let's join forces to solve this issue Big Grin
Reply
Thanks given by:
#8
RE: xBilling variables problem and vouches
The module doesn't use "special" php modules...just the defaults.
Remi - Software Engineer,  Sentora Module Developer,  Owner, imerLabs


Please mark threads as SOLVED if your problem has been resolved.
Do not PM Staff Members for help unless asked to do so, this is so that others can benefit from your solution.
Do a SEARCH before asking in the forums, a solution may already exist.
Reply
Thanks given by:
#9
RE: xBilling variables problem and vouches
Any luck there modpluz? Just had time to check for about 30 minutes and couldn't find anything...
Reply
Thanks given by:
#10
RE: xBilling variables problem and vouches
Yes I did have a look and can't find any oddity in the code and this works well(it always has).

Quick question, which user did you use to setup your reseller package in xbilling and which user info are you using in the front end?

Look at the "PaymentOptionHTML" method in "frontend/functions/xbilling.php", this is where the magic happens, does that give you the correct fields with values when you debug the result?

If this doesn't help, look at the "GetPaymentCustomFields" method in "modules/xbilling/webservice.ext.php", that should point you in the right direction.

Hope this helps.
Remi - Software Engineer,  Sentora Module Developer,  Owner, imerLabs


Please mark threads as SOLVED if your problem has been resolved.
Do not PM Staff Members for help unless asked to do so, this is so that others can benefit from your solution.
Do a SEARCH before asking in the forums, a solution may already exist.
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
[MODULE] xBilling modpluz 239 835 ,721 04-17-2020, 11:37 PM
Last Post: emmarudd222@gmail.com
xbilling Wordpress samuelmed 1 5 ,009 11-13-2019, 09:27 AM
Last Post: TGates
[split] Issue with xBilling blackvai 1 5 ,348 04-03-2019, 11:39 PM
Last Post: TGates

Forum Jump:


Users browsing this thread: 6 Guest(s)