-
Posts
6,728 -
Joined
-
Last visited
-
Days Won
841
Posts posted by Paul
-
-
On 5/11/2022 at 6:18 AM, Himax said:
Hi Paul, I'll try to reply, in hope of an anwer.
All invoices seem to have been imported, including their detail lines.
I traced the mysql statements issued by the migration tool. It tries to insert twice the same row in the "invoices_recur_created" table (here is invoice id 521 while in the previous example it was 519).
637226 Query INSERT INTO `invoices_recur_created` (`invoice_recur_id`, `invoice_id`) VALUES ('1', '521') 637226 Query INSERT INTO `invoices_recur_created` (`invoice_recur_id`, `invoice_id`) VALUES ('1', '521')
Here the invoices_recurcreated table has an unique primary index over "invoice_recur_id+invoice_id".
Investigating further, it looks like the issue happens on a customer with "billable items" that were invoiced on multiple invoices, please see the attached image That is, WHMCS allows you to create a generic billable item and to specify that it has to be billed multiple times. So WHMCS will bill the item on multiple invoices at the predefined schedule. Then you can see on which invoices it was billed. So you have a back-reference or link from the invoices to the billable item. My guess is that the import module is trying to create this recurring billable item multiple times.
Perhaps it's enough to "ignore" the error or to check if the recurring item is already present and act accordingly.
Let me know, as this is blocking for me. I'd like to proceed with a paid license.
Thanks for the update. Tagging @Jono so he can take a look.
If you are willing to provide basic steps on how to create a billable item to generate multiple invoices in WHMCS as you indicated, we can try to reproduce for a test import.
-
On 5/6/2022 at 12:30 PM, drz2 said:
Right now the add-ons feature on the order form is a radio button that allows only one choice. How can I set it up so that a customer can order multiple add-ons?
You can assign multiple addon package groups to a package group, in which case the client will be able to select 1 addon from each group.
-
1 hour ago, drz2 said:
OK, I got to trhe hidden packages by filtering "package groups". Then, I edited the .com and selected the enom module. Now, all seems okay. Thank you for your help!
Ok, very good, glad that worked!
-
16 minutes ago, drz2 said:
No new error messages in blesta logs, after a re-try to set .com with the enom module--same result as before. No hidden packages under any module.
There are no hidden packages under Packages when you filter using "Show hidden Packages"? All domain TLDs should have a hidden package.
-
On 5/3/2022 at 9:54 AM, PressWizards said:
Please add this to the Blesta documentation here:
https://docs.blesta.com/display/user/PayPal+Payments+Standard
The PayPal API Username, API Password, and API Secret can be found in PayPal, go to Account Settings > API Access > VP/SOAP API integration (Classic).
The direct URL is here:
https://www.paypal.com/businessprofile/mytools/apiaccess/firstparty/signature
Hope this helps others trying to find it as I was, since there are a ton of API options in PayPal now.
I realize it's optional but very helpful when trying to manage PayPal payments and want tighter integration so that it handles refunds as needed, without a lot of manual work.
Thanks, we added a help box just below the table that lists the fields with this information. Much appreciated!
-
5 hours ago, drz2 said:
I have the latest Blesta version (5.3.2) downloaded from Blesta. I set it up fresh and did not migrate TLD's. There is this domain-related entry in the logs_blesta folder:
[2022-05-04T00:14:34.356201+00:00] general.WARNING: E_WARNING: call_user_func_array() expects parameter 1 to be a valid callback, class 'None' does not have a method 'getTlds' {"code":2,"message":"call_user_func_array() expects parameter 1 to be a valid callback, class 'None' does not have a method 'getTlds'","file":"/var/www/vhosts/myclinicalsite.com/httpdocs/clients/app/models/module_manager.php","line":837}
Looking forward to a fix. Thank you.
Ok, that sounds like it's trying to use the "None" module, which is not a registrar module.
Try this.. under Packages, click the Filter icon and check the box "Show Hidden Packages" to filter by hidden packages, which are domain packages. Note the "Module" listed for all, in each status "Active", and sometimes "Inactive" will have some. Are any using "None" for the module? If so, backup your database as a precaution, and then try to delete the hidden domain package using "None" for the module.
-
It sounds like there might be an invoice with duplicate number or ID. Since it probably failed at that point, it would be useful to take a look in the invoices table to see what the most recent invoice imported was. Then compare to WHMCS and see which invoice is next. That one is likely the culprit.
-
What version of Blesta are you running? Did you import from another system, or migrate TLDs from the old method into the domain manager or is this a fresh setup? Any errors written to ../logs_blesta/ when attempting to change the registrar for .com to Enom?
Regarding #2, the error means that the feature is not supported by the module - not necessarily that it is not supported by the registrar. It's possible this has yet to be added to the Enom module.
-
On 4/20/2022 at 3:53 PM, Robert-Jan Kuilema said:
Hello,
I was wondering if there is a documentation or a code to login outside my Blesta installation, so on my other website.
Kind Regards
You can view the source of the login page and copy the form fields and post URL. However, you will need to disable CSRF checks for the login page. Per https://docs.blesta.com/display/user/Configuration+Files you would update your /config/blesta.php to set the following for Blesta.csrf_bypass for the client area login URL.
Configure::set("Blesta.csrf_bypass", ['client_login::index']);
-
What version of Blesta is this? Have you made any modifications or are you using any third party extensions? What browser are you using? Do you have a lot of configurable options? Did you make any changes to the order or client bootstrap templates or CSS? A full screenshot might provide more answers.
-
On 4/13/2022 at 12:49 AM, Wira said:
Hai...
It's been long time... any fix for this issue?
I'm facing the same issue on current Blesta version 5.3.2. Also has been confirmed with my Registrar about this issue.
Hope Blesta can fix soon.
Thanks.I have created this task and our developers will take a closer look very soon. https://dev.blesta.com/browse/CORE-4622
What registrar are you using? Though I was able to reproduce it with our Generic Domains module, I had to manually add one of the TLDs to it. It seems you are using a custom module, so it is possible that it is module related. I could not reproduce it when using .co and .uk.co, though each were configured to use a different registrar.
-
On 4/14/2022 at 7:52 AM, barryf said:
I am having the same issue. Nothing in the logs, in the Client area it shows the invoice as Sent, but they are not. Manually sending it works as expected.
What version of Blesta are you running? What version of PHP? Which logs are you checking? The file logs, at ../logs_blesta/ (Full path defined under Settings > System > General) may have more information. Only logs written in the files containing the word "cron" are relevant, from the time of the delivery attempt.
You can do a couple tests:
- Edit an invoice, make sure "Email" is checked. If it is checked, delivery should be attempted at next cron run.
- Wait for the cron to run, edit the invoice again and see if it is no longer checked. Is it checked? Was the email sent? Does anything appear in the Email log under Tools > Logs: Email? Is anything written to the ../logs_blesta/ file logs?
To see if the problem is related to your CLI PHP, try the following:
- Disable your cron job on your server.
- Edit an invoice, make sure "Email" is checked.
- Wait 5 minutes from the time you disabled your cron job. Go to Settings > System > Automation, and click the button to manually run the cron job. Was the email sent? Is "Email" unchecked for the invoice?
- Re-enable your cron job.
If it sends when running the cron manually in the interface, then your CLI version of PHP may be missing dependencies.
-
14 hours ago, LittleCreek said:
Is there a way to create resellers within Blesta with special pricing? I want to give a couple of people special pricing based on how many VPS services they purchase. Like if they have 10 VPSs at any given point they will automatically be given a 10% discount or if they have 20 VPSs at any given point they will automatically be given a 20% discount on all VPSs they have.
You can use "Restricted" packages to give special pricing to customers.
- Copy an existing package and adjust the price, and set it to "restricted".
- Under the client's profile page Actions > Set Packages, grant them access to the package.
- Make sure the package is assigned to an order form. Only clients that are logged in and have access via Set Packages will see the package and be able to order it.
There is nothing automatic about this due to quantity, etc. If you want to make a feature request and can provide details, feel free to submit at https://requests.blesta.com
-
6 hours ago, pdi said:
... is there anybody out there? ...
Blesta can currently import pricing into TLDs, but the TLDs must be created first. In version 5.5 we plan to have an option to also import the TLDs themselves as well.
-
I've created this task https://dev.blesta.com/browse/CORE-4596 to add a redirect option. To do it now, you'd need to write some PHP code that would accept the affiliate code and write the necessary cookie, then do the redirect on its own. It's not complicated but requires some PHP knowledge.
-
3 minutes ago, joshin said:
PHP 7.4.x deprecated the function and adding the warning.
I'm currently running 7.4.27, but it's been there for a while.
I created this task so we can update PHPIDS for PHP 8 https://dev.blesta.com/browse/CORE-4588 however, a deprecation warning should not cause any actual problems, unless you have errorReporting or debugging enabled in /config/blesta.php errorReporting should be set to "0", debugging, false.
If you are seeing this in the logs, but everything is working fine, then there's nothing to worry about.
-
23 hours ago, EuroDomenii said:
Exactly!
My use case is selling subdomains ( we’ve done a fork of generic_domains with internal whois). This really needs a separate order form.
However, I guess that even separating order forms of new gTLDs versus classic TLDs, would be another use case.
I've created this task https://dev.blesta.com/browse/CORE-4586
-
10 minutes ago, okcpilot said:
Yep! I was running the portal through Cloudflare and it was being cached. Turned it off and now everything works. Much appreciated!
Good to hear!
-
What version of PHP are you running? Looks like this is removed in PHP 8, so the plugin will not be compatible with PHP 8 unless we update it.
-
On 2/24/2022 at 8:15 AM, okcpilot said:
Update: This is happening with the hCaptcha and internal captcha as well.
Is your web server doing any caching/proxying? If the page is cached, then CSRF and captcha's will not work correctly.
-
If I understand, you want to create different Domain Package Groups for different order forms? So that you can offer certain TLDs on an order form, and others on a different order form? Or have different pricing for TLDs on different order forms?
This is not currently supported, but might be something we want to look at. I can see this being useful, but in order for this to work there would need to be a way to "switch" between different domain package groups under TLD Pricing, so that when you edit TLDs it's for a specific group. Right now, only the 1 group is supported.
Am I on the right track? What's your use case for having multiple domain groups?
-
13 hours ago, Marcel K said:
Hi there!
i tried to upload the yandex gateway to my blesta (5.2.2) but it doesnt appear in the install section fpr payment gateways.
Is there any updated version for this? Or is there any other step to do, or only copy the yandex directory to the described path?
GreetingsDid you get the version from the Github link? What version of Blesta are you running? Did you upload it to /components/gateways/nonmerchant/ ? The directory must be unpacked to that location.
-
Which captcha type are you using? What are the steps to reproduce? For anyone stumbling on this, here's how you can manually disable captcha's in the database, from https://docs.blesta.com/pages/viewpage.action?pageId=10551368#Debugging/Tools-DisableHumanVerification(CAPTCHA)
UPDATE `company_settings` SET `value` = 'a:0:{}' WHERE `company_settings`.`key` = 'captcha_enabled_forms' AND `company_settings`.`company_id` = 1;
-
We can tag them and see if they reply. @Blesta Addons are you all still around? Some have been concerned.
PHP 8 Support
in Support
Posted
As of Blesta 5.4, PHP 8 is supported through the hotfix-php8 SourceGuardian patch included in the release. As of now, ionCube has yet to release support for PHP 8, so we have implemented this alternative.