Jump to content

mauzilla

Member
  • Posts

    6
  • Joined

  • Last visited

About mauzilla

mauzilla's Achievements

Junior Member

Junior Member (1/3)

0

Reputation

  1. We're busy building a registrar module for WHMCS - I have used the WHMCS "registrar module template" on github and we're already able to connect and integrate with our API. The issue I am facing is that within WHMCS > Setup > Products/Services > Domain Registrars, I have 2 fields as defined in my getConfigArray - These fields show perfectly but it appears that whatever I save there always saves a blank entry. I can see in the database that the hash code changes, but remains the same length, and when I go back to the page there is no values saved (it's always blank fields). When I actually interact with our API, the params passed in the hook returns the fields, but they are also blank. When I click Save Changes I am returned a "Changes Saved Successfully!" so I am unable to really indicate that an issue occured. It simply appears that whatever I enter in the input fields are saved blank / empty in the database. I have also tried different browsers (thinking it's autofill or something) but no luck.
  2. we're in process of writing a module for SagePay that handles debit orders. When we draw a daily statement from SagePay, we want to mark invoices off as paid which is listed in the daily debit order statement. I already have a key relationship between the statement and the invoices, but I am not sure which option in the localAPI to make use of. To be clear, we want to mark the invoice off as paid (much like one would do by clicking the button within WHMCS). It makes more logical sense to make use of the AddInvoicePayment to pay for the invoice, however ... As the debit order may also bounce (which we will only be notified by in future dated statements) we also want the ability to mark invoices as unpaid say 2 days later. For that I could not find a convinience method to achieve and it makes more sense in using UpdateInvoice for that purpose to set the invoice as status unpaid which hopefully will update the amount due back to original value (if not, please advise how this would need to work). Am I correct? If not, what would be the best way forward in managing this process where we need to mark and unmark invoices as paid via the localAPI.
  3. We bill all of our customers on the exact same day (1st of each month = prorata billing). We however want to give customers on selected products 2 months free (calendar months) so if you apply in March you would get March and April free. I am unable to setup a promo code which can do this, is this possible? The issue so far is say someone is only charged half the price (based on the time of month), if we give them 200% discount via the coupon it gives them discount of that exact amount, so effectively they get 200% discount on the amount charged on the day. Logically I understand the pitfall as the promo is doing exactly as told, but how can we adjust this to ensure that the customer gets 100% of the actual amount of charged for the month as well as 100% off the total of the following month?
  4. Had exact same issue and this was done using the auto update feature.
  5. Exactly the same issue here, attempted to upgrade from 7.1 to 7.2 - It appears that the installation script then picked up a php error (constant that was already defined) and it then terminated the installation. On refresh both our frontend and backend is broken. Error logs hint that there are composer packages missing. For the life of me I cannot understand why you're using composer for packages but don't provide the composer.json file in your installation? This kind of issue could / should now have been fixable without the need of do a manual upgrade.
  6. We upgraded from WHMCS 6 to 7.1 yesterday and have run into some serious show stopper issues. 1. We are no longer able to access the site on localhost as it now redirects us to the main site. This makes development impossible in a time where we now need to resolve bugs!!! 2. There are a number of scripts (like domainsync.php) which does not work due to being encoded in an older version of ioncube. We're running PHP 7 and have a large number of break points within the admin panel (like not being able to view any customer domains from within admin without getting a white screen). Please can you advise, specifically on point 1 above as we cannot test locally. I can confirm that there is no redirect in any of the .htaccess files so I assume this is a new "feature" presented in 7.1?
×
×
  • 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