Jump to content

thynan

Members
  • Posts

    45
  • Joined

  • Last visited

Everything posted by thynan

  1. thynan

    Tax Exemption

    Allright. So to sum it up, what we need is: Validation of the Tax ID, and - if the ID is valid, automatic tax exemption depending on the customers country. Should I make a feature request for this?
  2. Hi, I found out that the problem was not the modal button, but the selected order template. The popup only shows up when I select the "standard" order template. If i select any of the "AJAX" or "wizard" templates, the popup doesnt show up.
  3. thynan

    Tax Exemption

    Ok, but it is definitely the case in some countries. For this countries, there needs to be a way to: Check if the ID/VATIN is valid (I think there are ways to do this automatically) If the ID/VATIN is valid, remove the tax automatically before the customer gets billed Is something like that possible already, or planned?
  4. I have a little update: I am implementing an ISPConfig Module myself now. It is still a work under progress right now though, and there are some limitations. What is implemented already - Adding and connecting to ISPConfig servers (singleserver and multiserver) - Create packages, and automatically getting the available client templates from the selected ISPConfig Server. If multiserver, you can also select the web, db, mail and ns server (also automatically fetched from the ISPConfig multiserver-master, and available in a dropdown). - Create services in blesta,(by admin, or by order) -> Client is created in ISPConfig with the selected client template from the package. Possible auto generation of username, password and client contact name. (if "use Module is checked - else service is only created in Blesta) - Delete services in blesta -> Client is deleted in ISPConfig (if "use Module is checked) - If you already have clients in ISPConfig, and want to add them to Blesta, you can add a service in Blesta, and don't check the "use module" checkbox. You can then manually enter a the clientID of the existing ISPConfig client. Then the Blesta service and the ISPConfig client are connected through the clientID. - You can suspend and unsuspend a service, which locks/disables the client in ISPConfig. However, this is a new function in ISPConfig, and the remote API function for locking/disabling clients is not working correctly yet. So this will only really work as soon as the ISPConfig team fixes this function. What is not implemented, but should be i guess... - Reselling is not implemented at all. We don't need that, so I just ignored the reselling options of ISPConfig and Blesta The error-handling is also very lacking atm, and the source code is lacking documentation. But like I said - work in progress. Below is a little screenshot of package creation for a multiserver.
  5. thynan

    Eu - New Vat Rules

    I don't think so. I think it's exactly like you said. EU businesses have to be part-time detectives... it's ridiculous, but that's how i would interpret the regulation. This sentence kind of says it already: Another blog post explains it like this:
  6. Hi again! I have tried to get the plugin working, however, the error-message popup doesn't seem to work. When I click "create account" the website only flashes, and stays on the same page without a message. Here is the code from my plugin. It's not much, I basically just took the code from your admin tools plugin, and put in some test-strings - just to test the error message: <?php class CheckClientOriginPlugin extends Plugin { public function __construct() { // Load modules for this plugun Loader::loadModels($this, array("ModuleManager")); $this->loadConfig(dirname(__FILE__) . DS . "config.json"); } public function getEvents() { return array( array( 'event' => "Appcontroller.preAction", 'callback' => array("this", "checkClientOrigin") ) ); } public function checkClientOrigin($event) { if (isset($_POST['action']) && $_POST['action'] === "signup" ) { echo ' <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>test title</title> <!-- Latest compiled and minified CSS --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" /> <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --> <!-- WARNING: Respond.js doesnt work if you view the page via file:// --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> <![endif]--> </head> <body> <!-- Modal --> <div class="modal center-block"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">'. Language::_("AdminToolsPlugin.security.buttons.close", true ) .'</span></button> <h4 class="modal-title" id="myModalLabel">some label</h4> </div> <div class="modal-body"> <div class="alert alert-danger" role="alert">test message</div> </div> <div class="modal-footer"> </div> </div> </div> </div> <!-- jQuery (necessary for Bootstrap JavaScript plugins) --> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> <!-- Latest compiled and minified JavaScript --> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script> </body> </html> '; exit(); } } } ?>
  7. Hi, Thanks again! Your suggestion looks great. I will also have a look at your admin tools module, and try to learn from that. I will report back as soon as I got someting working.
  8. Hi! After this discussion: http://www.blesta.com/forums/index.php?/topic/3767-eu-new-vat-rules/, I want to create a plugin that does the following: Before a client is registered, the IP of the user who wants to register is matched against the country he selected. If the IP is from another country (geoIP lookup) the user cannot register and gets a message feedback. I have a few questions: My plugin has to register to an event, to plug into the client creation, and do the validation right? But is there an event which I can use? The "Clients.create" event is too late, because the client is already created there, correct? I need to do the validation before the client is created. Any tipps how to achieve this would be very appreciated. Thanks!
  9. thynan

    Eu - New Vat Rules

    Hi Naja7, Tanks for the great info! I will look into this. I guess the best way is to write a plugin that matches the IP and Telephone number to the clients country, and moves the order to pending if there is a mismatch. Or maybe just gives the client feedback that he cannot register because there is a mismatch. I would be however be interested in how other EU based companies/blesta users handle this? Do you all use the maxmind system? Or do most companies just ignore the new tax regulations? Seems kinda strange that I'm the first to talk about this, as it sould affect a lot of companies.
  10. thynan

    Tax Exemption

    Hi! If a client has a Tax ID/VATIN, he should generally not be charged tax. Is there a way to handle this in Blesta? I know there is the tax-exempt checkbox, however, if a new client registers while ordering, and enters a valid Tax ID/VATIN, he should be exempt automatically, or else the generated invoice is wrong. Is there a way to handle this in Blesta?
  11. Allright, thanks for the reply. What would be best is, to be able to search for a specific string in english, and translate that (if it's not already translated). I think that would really make the translator a lot more useful and help to build up the community translations a lot quicker. Because right now, most people will surely do their own translations, and they never get shared. A lot of duplicate work being done I think.
  12. Hi! I want to translate the client interfaces and order forms to german. Is it possible somehow to use the translator to translate specific strings? It's not feasible for me to use the translator if it only shows random strings - I can't spend a massive amount of time to translate random stuff, and hope that I am lucky and get most of the client area.. If there's no way to use the translator to select specific strings, or at least files to tranlate, can I then imput my translated files somehow into the community translation?
  13. Any update as to when the domain registrar plugin will be released? We're thinking of using the openSRS plugin by PauloV, but we would have to move our domains over there (currently using inwx.com, which has no blesta integration yet). This means quite a lot of work, so if the domain registrar plugin changes a lot, and comes out soon, maybe it's better to wait for it and see how this module / other modules develop before making the switch.
  14. thynan

    Eu - New Vat Rules

    Hi! I'm sure some of you have already heard of the new VAT regulations for EU Countries which apply as of 1.1.2015. There are some things which have to be considered for hosting companies, and I don't know if they are supported in Blesta yet. Here is a nice description of the changes in the VAT law: http://blog.names.co.uk/2014/11/2015-eu-vat-changes-mean/ Here is a nice overview-picture of the difference of the old and new law: http://ebiz.pwc.com/2013/01/eu-2015-vat-changes-to-eservices-the-keep-it-simple-edition/ Generally speaking, we have to apply different VAT percentages to customers who are ordering from differen countries. That's not a problem, because Blesta allready supports that, by checking the country of the client profile. However, what's concerning is this: So in essence, we have to check which country the customer is from (at the time of ordering?) with at least two pieces of information - but at the moment Blesta uses only one piece (Customer's address). So - if I understand correctly - in order not to risk committing "tax fraud", every EU company that uses Blesta has to check for another piece of information. I think the IP address would be a good bet? You can match IP addresses to a geoIP locator or something, and check if the customer who is ordering (or creating a client profile), is realy located in the country he selected in his profile. If not, there should be some sort of validation which asks for additional information (Tax ID/VATIN, Bank Account details?). Also, there has to be a way to retain the "customer location information" for at least 7 years, in case the governments tax authority comes checking. (at least accoring to austrian law - don't know if the period is the same in every EU country). Are there any other plans how to handle the new VAT regulation in Blesta? If not, maybe we can start a discussion here?
  15. Oh damn, I just completely overlooked the system tab - my bad. Thanks!
  16. Hi, I currently run the trial version of Blesta, and I tried to set up a Cron. The install instructions say: "Go to [settings] > [system] > Automation, and copy the "Cron Command"". However, in said interface I don't find any cron settings. No cron status, no cron key, not even a mention of the word "cron". What can be the problem?
  17. Hi, I'm interested in this as well. Any update on the project? I might be able to help with the development as well.
  18. Hi, I'm in the process of evaluating if Blesta is suited for our webhosting-company. So far I think it looks pretty good, but we would definitely need a domain registrar module for internetworx (inwx.com), because they offer cheap .at and .de domains. As far as I know there is no such module developed/planned for Blesta, so I'm thinking of developing it myself. Internetworx has a pretty decent API as far as I can tell, so it should be possible to implement this. However, I'm not sure if it's a good idea to start developing before the new Blesta domain management is released. Any suggestions on this? Does anyone know the timeline for the new domain management? Or details on what will change compared to now?
×
×
  • Create New...