Jump to content

Kirill

Member
  • Posts

    40
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Kirill

  1. Hi mates. My client wants to add PayPal Advanced integration as described here https://developer.paypal.com/studio/checkout/advanced/integrate to an older WHMCS integration. I know it exists in the most recent version but he has a WHMCS 8.4 setup and doesn't want to upgrade for internal reasons. As the redirect is not required by the gateway the third party flow seems to be irrelevant. The standard merchant flow seems to require the credit card details which is also not the case for PayPal Advanced flow. So now I'm confused which sample to begin with for this integration. Can someone suggest which one and how can I tweak to achieve the result? Long story short, I need to submit the invoice details to the backend to get the PayPal order id and then to submit it once again to the backend to capture the payment after PayPal does its magic. Is it even possible with any sample gateway modules provided by WHMCS?
  2. I'm wondering if feature request moderation takes some complicated steps or just became half-abandoned. I've submitted one about 4 weeks ago, and it's still "On Moderation".
  3. I'm trying to figure out how to upgrade the service's datapack on WHMCS side without changing the entire product. I've tried to update the bwlimit field for the service in tblhosting but it gets reset every day to what is assigned to the product. Documentation didn't give me any other good idea how can I use anything like configurable options for that. Can anyone suggest the way?
  4. According to the data from WHMCS technician there's some bug around UpdateInvoice and tax recalculation. We just need to wait till it's fixed. As a temporary solution, I'm making a database update for tax rate and taxed items and running UpdateInvoice to recalculate the tax.
  5. We're launching a new product line that uses the same provisioning module as some existing ones. So... We added new servers: Also created server groups for new products and added servers into them: In the "Module Settings" tab we selected the specific servers group for provisioning and selected "Automatically setup the product as soon as the first payment is received": However, when the first payment is received, this is what we get in the log: Module Create Failed - Service ID: **** - Error: No server! Is it me doing something wrong or is it a bug? P.S. If I force "active" flag to 1 directly in the database for those servers, it works fine. But it's kinda weird way of solving the issue, imho.
  6. I'm not sure it's even related to WHMCS itself. Are you using some modules made by Resellerclub-mods? Try enabling logging module commands and analyze the API reply.
  7. Hello, I'm observing this error message in template Six: Uncaught TypeError: jQuery(...).popover is not a function at HTMLDocument.<anonymous> (scripts.min.js?v=27c652:formatted:6845) at l (scripts.min.js?v=27c652:formatted:2166) at Object.fireWith [as resolveWith] (scripts.min.js?v=27c652:formatted:2218) at Function.ready (scripts.min.js?v=27c652:formatted:2312) at HTMLDocument.s (scripts.min.js?v=27c652:formatted:268) Tried downloading the latest Six template but it didn't help. As a result, language switch stopped working. Any ideas on how to fix it? Thanks.
  8. I'm observing some weird behavior with order form templates after upgrading to 7.6.1. I've set "Standard Cart" to be the default template. But seems that WHMCS uses the alphabetically first one in the templates/orderforms folder which is boxes. When I go to domain transfer section, I see an error message, and activity log gets this: Unable to load the domaintransfer.tpl file from the order form template or any of its parents. And if I switch the default one to modern, even the error message is not displayed. Activity log shows this: Smarty Error: Unable to load template 'file:orderforms/modern/sidebar-categories.tpl' in '/var/www/billing/data/www/billing.ua-hosting.company/templates/orderforms/boxes/adddomain.tpl' When I copied standard_cart folder to a_standard_cart to put it first, problem disappears. Any ideas what can be the reason?
  9. We've experienced an unexpected behavior this billing cycle. Some of our customers refill the balance in advance. For those invoices that were fully paid from balance, next due date wasn't updated. If the invoice was partially paid from balance or fully paid with any payment method, next due date was updated correctly. Any idea what can be the reason? We're using WHMCS 7.5.1.
  10. If someone is still interested, here you can find the same module updated for v7: https://gitlab.com/vlab.lv/whmcs-i18n
  11. Any official comments? Or should I just submit a bug report?
  12. Works fine for our 7.5 installation. Did you try to do a manual POP3 session using telnet from the server with your WHMCS installation?
  13. I've noticed something weird (for me) in local API response when making GetInvoice call. If I pass an existing invoiceid, response starts with [result] => success But if I pass a deleted invoiceid, it starts with [status] => error And it doesn't contain "result" part at all. Should it be a "result" array key instead of "status"? Or maybe along with it...
  14. @MarekD, did you try to delete the browser cache or do the full page reload (Ctrl-Shift-R or Cmd-Shift-R depending on your OS)?
  15. @WHMCS John, I've double checked. The custom template code has the new lines but they are not loaded anyway. Like if the template is cached somewhere. Also is there a way to reset `$versionHash` for JS? @iontics.com, you need to update `includes/head.tpl`.
  16. I can confirm that careful merging of new Six with our copy fixed the original problem. But it created a new one:
  17. Hello, After recent update to v7.5 we're facing an issue with domain search form. When customer enters the domain name and clicks "Search", the form stucks: At the same time JS console shows an error: We've applied a recently released hotfix for `common.tpl` but it didn't help. Any other ideas how to fix it?
  18. Hello, We're experiencing some issues with DailyCronJob hook (it's not triggered for our custom written modules). We also have few modules written by 3rd parties and encoded with Zend or ionCube so we can't really examine the code for all of them. Is there any way to examine if any of them is interrupting the code execution? Also what's the order of execution? Is it something like alphabetically by module name or just something random? Is each call of hook function from WHMCS core wrapped with "try .. catch" to ensure that one failing module won't stop the whole sequense of hooks from different modules? Thank you in advance. P.S. I've added a test code (below) to one of our modules. Daily cron execution time is set to 9 a.m. add_hook("AfterCronJob", 1, function ($vars) { localAPI('LogActivity', ['description' => 'Kirill confirms AfterCronJob working.'], 'vasilisk'); }); add_hook("DailyCronJob", 1, function ($vars) { localAPI('LogActivity', ['description' => 'Kirill confirms DailyCronJob working.'], 'vasilisk'); }); add_hook("DailyCronJobPreEmail", 1, function ($vars) { localAPI('LogActivity', ['description' => 'Kirill confirms DailyCronJobPreEmail working.'], 'vasilisk'); }); add_hook("PreCronJob", 1, function ($vars) { localAPI('LogActivity', ['description' => 'Kirill confirms PreCronJob working.'], 'vasilisk'); }); The resulting output is:
  19. Hello. Just noticed a rare flow that still created some troubles for us. Our flow: on invoice create we copy products list to a separate module table; after certain date on daily cronjob our module checks if the invoices were paid and if not, suspends user services (unless they are in protected group); on invoice payment services are unsuspended; on invoice cancellation the record is deleted. For one of our customers invoice was merged to other invoice. So the original one was just silently deleted without invoking cancellation hook. And our suspension script was a bit "confused" by invoice id that doesn't have user or some other data at all. I understand that I should just add some additional check to make sure invoice still exists. But would be nice if invoice merge action either triggers invoice cancel hook or has its own one.
  20. Sorry, don't have access to any v6 installation. I'd appreciate if somebody suggest the proper path and test for compatibility.
  21. Hi all, There's quite a lot of solutions exist to translate product names and other custom fields starting from small work-arounds to full modules. Some time ago I've built a small module to translate any template variable I wanted. Finally decided to make it public. Feel free to use it and rewrite as you want to. You may find it on github: https://github.com/Vasiliskov/whmcs-i18n
  22. Hello, We've recently received a notification from Resellerclub that we are using old unsecure (http) API url instead of new secure one (https). As they are going to deprecate using of it at the end of June I'm trying to figure out is this problem related with your Resellerclub module? We use Resellerclub account with another billing system also and would like to confirm that your module uses https before we take any actions with that system. Thank you in advance.
  23. Hello, Yes. I'm exporting domains and prices list from DB. So yes, prices are configured.
  24. Hello, I'm wondering what is the best way to check domain availability using API? I'm trying to use 'domainwhois' API command but it doesn't work for some extensions. I get the following: [result] => error [message] => The given TLD is not supported for WHOIS lookups But if I check this domain in WHMCS directly, it is shown as available. Is there any other way to check the domain availability using API? Thank you.
  25. Hello, We have noted that if some invoice is partially paid from credit balance and then it gets cancelled no refund is issued. Even more, refund can't be done manually. Refund feature just shows that no transactions were performed so no refund can be done. Is it a bug or just misconfiguration? Thank you.
×
×
  • 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