Jump to content

webcoaster

Member
  • Posts

    13
  • Joined

  • Last visited

About webcoaster

webcoaster's Achievements

Junior Member

Junior Member (1/3)

0

Reputation

  1. Thanks, I was able to do it with your suggestion, but needed to break it out into groups to show the cat of products / services for the different groups. That way one group would not be able to see the other group. I try the link with the product category and see what happens.
  2. We have different prices for different groups is there a way not to show pricing between groups on the order forms? For example Group 1 has a price of $18.95 and Group 2 has a price of $16.95 for the same service. I would like these groups not to see each others prices. -Thanks in advance
  3. Hi, Thanks for your reply. No it's correct non edited, here's the information and the reason. Thanks to Matt and I also found the issue prior to Matt's email but he confirmed my findings. I had added the promotion code after the fact so it increased the invoice by $2.00. To correct, if the code is entered in after the fact you must adjust the Recurring Amount to the actual amount you want to be billed. I was under the impression that it would look at the product cost and adjust from there, but the Recurring Amount is the real number you must be using. So in my case I changed it to $26.95, it now shows the product invoice correctly at $28.95 and then deducts the $2.00 off the bill each month based on this current promotion, and invoices it at $26.95, which is what I wanted. So for me in the future, if the promotion code is added after the fact, then the Recurring Amount has to also be adjusted by the amount discounted to have it invoice correctly. We use this as a VIP Club where we charge $60.00 per year for VIP Club Membership and the customer gets 10% off all services and products and also get's a $2.00 per month discount on their internet access. We are using WHMCS as a ISP billing software, Hosting and Hotspot billing all tied in through radius and also cpanel. -Cheers
  4. You create the product and set it to annual pricing of $60.00 look to your right on the price setup you will see the field your looking for.
  5. I've have two invoice issues that just started to appear. The first one is with a monthly recurring $28.95 product that has a $2.00 promotion code that is added to anyone that has VIP membership. When the invoice is created it's created at $30.00 and then the $2.00 discount is applied for a total of $28.95 it actual should be created at $28.95 less the $2.00 discount for a total of $26.95 The second issue is that I have a invoice that was created same issue as above but with a twist. it added a client discount of $2.90 + tax, I have no idea how this happened and I can't seem to to find anything related to this. I've include two screen shots. -Cheers
  6. When you need to refund a invoice what's the best way to refund the invoice and then still have the invoice show unpaid. What happen is that the credit card on file was charged before the invoice should have been paid so I issued a refund but the invoice now shows refunded. But I still need the invoice to be paid later in the week, just not today as like the system did. Should I revert the invoice back to unpaid or should I leave it like it is and create another invoice in it's place. As you can see this really could be done ether way. What I'm looking for is the correct accounting way to handle this. FEI - This was a human error and not a system error the system performed as instructed. Thanks in advance
  7. Matt got me straight on the code, thanks to all who had looked at this. The PHP code I used was invalid, below is the correct way. $dlspeed = $params["configoptions"]["Download Speed"]; # Added by wc $ulspeed = $params["configoptions"]["Upload Speed"]; # Added by wc -Cheers
  8. I just purchased WHMCS along with the FreeRadius module and I need to insert some speed values into the radreply table of my Radius database. I'm new to PHP and I'm not sure how to pull the correct value out of the array and insert it into the database. I have the insert function working fine, it's just these two fields that continue to be blank. So I know that I'm not calling it correctly which explains why the field is blank. I have not decided which to use yet so I've been trying both custom fields and Configurable options and of course nether will work as by skills are not up to par. Based on what Matt has told me so far, the custom fields are passed into the function as an array in the $params["customfields"] variable, for example "Upload Speed" would be $params["customfields"]["Upload Speed"] Can I also assume that the configurable options passed the same way except they would use $params["configoptions"]. So how do you include either of these into the module and then call it so that the database insert will pull the correct value and insert it in the proper location. So far this is what I have for the configoptions test, so far and of course it's not working, $configoptions = $params["configoptions"]; # Array of configurable option values for the product extract($configoptions); # Product module option settings from ConfigOptions array above $configoptions1 = $params["configoptions1"]; $configoptions2 = $params["configoption2"]; $configoptions3 = $params["configoption3"]; $configoptions4 = $params["configoption4"]; Then to insert I have $query = "INSERT INTO radreply (username,attribute,value,op) VALUES ('$username','WISPr-Bandwidth-Max-Down','$configoption[1]',':=')"; $query = "INSERT INTO radreply (username,attribute,value,op) VALUES ('$username','WISPr-Bandwidth-Max-Up','$configoption[2]',':=')"; Any help at all would be appreciated Thanks in advance -Cheers
×
×
  • 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