Jump to content

serge

Members
  • Posts

    695
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by serge

  1. try to put your javascript like this: <script type="text/javascript"> your javascript code here </script> and you have maybe to create you own form
  2. I have not read the doc and will not answer you on specific technical point, but regarding Merchant VS Non merchant definition, I'm also not certain, I think there is no an unique definition. - some say merchant, because you need a merchand card from a bank - other say merchant when you do not redirect customer on the payment gateway website, because all is embed on your website - other say, it when you collect & store credit card detail on your database. - or a mix of all above So this is just from my understanding or missunderstanding...
  3. ok, but using very own custom path can give issue with folder ownership/group, etc... I'm also hard to understand this link given in one of above post: https://mydomain/usr/share/apache2/beta/pay/method/4880/?sid=tuweiutmu maybe a typo, there is no domain extension and it's really a long sub/ sub directory path
  4. The root path i am using is : /usr/share/apache2/ ...same as in our virtualhost. DocumentRoot "/usr/share/apache2/" Is your blesta realy working fine (loading html page, etc..) at above path? It's very strange path what distro or OS are you using?
  5. thxs for the feedback, I will let other people answer about the quote as I only code for my business project. Other, I found carrotpay interresting at first look, and I would like to know from you, in what are you thinking there are the most differents or advantageous than other gateways?
  6. The error is likely caused by the name of the class or directory. The class name of the gateway should be in camel-case format, while the directory name should be separated by underscores as described in the Programming Style Guide, following the gateway file structure. You can use the other gateways as reference. i.e. The class name "CarrotPay" means the directory it is within should be "carrot_pay" @ /components/gateways/nonmerchant/carrot_pay/carrot_pay.php Like randvegeta, not certain if I'm a developer by trade, I learned code (php, html) by my own, and lately created payment gateway extensions for MVC CMS like joomla or magento, and I was also with whmcs before. Using my word, comparing Blesta vs whmcs at coding is like compare WP vs a MVC CMS like joomla so whmcs is less structured/formal code, so it's flexible to start little things but unflexible for more (and most files are encrypted). So Blesta do have is few more learning curve to get it, but more powerfull at doing what you want, hopefully a payment gateway plugin/module is certainly not the more harder to do or start at doing custom code and there are existing models. Good luck :-)
  7. Best will be to take an existing Blesta payment gateway as model
  8. I think it would make more sense if it was the text-background color rather than the font color since gray wouldn't be very differential from the font color already there whereas no text has background colors. yeah, why not
  9. Most hosting control panel have a way to import data from csv, so I recommend you to use it . As only one database table is concerned "customers", it's not so hard to import. Create an excel file, and make all colums match to blesta customer table, and export your excell file as csv, next use this csv file to import your data in the blesta table
  10. yes to proposal + adding color for the text of status label. Active: green Pending: orange Suspended: red Cancelled: red
  11. I agree with such kind of easy cross navigation. I think we are here talking about editing invoice from the admin interface, and having there a direct link to the related service or manage service. certainly the exact reverse thing is also nedded: Having still at the admin interface when editing a service, a direct link to the related invoice or invoices list.
  12. I agree, direct display in column, is in my opinion needed
  13. Using now PHP 5.6.7-1~dotdeb.2. will go to version 7 as soon it's available in the dotdeb (debian) repos
  14. I think in structure.pdt you need to create condition . In my case my homepage content comme from blesta portal plugin (edited from blesta interface) and I created condition in structure.pdt to display metatag depending if it's the display of homepage or a custom page, so you could take inspiration of this to apply on header display at basing your condition on the page tittle. and your custom page title will be definited in /plugins/cms/controllers/main.php in structure.pdt: <?php if ($this->Html->ifSet($metatags)) { // CASE : NOT BEING HOMEPAGE // PAGE TITLE COME FROM CMS $title = (($page_title = (isset($page_title) ? $page_title : $this->_($page_title_lang, true, $get_params))) ? $this->Html->_($page_title, true) . " | " : "") . 'SiteShop . ph'; echo "<title>".$title."</title>"; // METATAGS IN ADITION TO ABOVE 2 (viewport & Content-Type"), COME FROM CUSTOM STATIC PAGE ADDED IN: /plugins/cms/controllers/main.php echo $this->Html->ifSet($metatags); } else { // CASE: HOMEPAGE, add missing metatags $metatags = " <title> xxxxxxxxxxxxxxxxxxxxxxx </title> <meta name=\"Description\" content=\"xxxxxxxxxxxxxxxx\"> <meta name=\"Geography\" content=\"xxxxxxxxxxx\"> <meta name=\"country\" content=\"xxxxxxxxxxx\"> <meta name=\"language\" content=\"xxxxxxxxxxxxxx\"> <meta name=\"publisher\" content=\"xxxxxxxxxxxxxxxxxx\"> <meta name=\"application-name\" content=\"xxxxxxxxx\"> <meta name=\"identifier-url\" content=\"http://xxxxxxxxxx\"> <meta property=\"og:title\" content=\"xxxxxxxxxxxxxxxxxxxx" /> <meta property=\"og:description\" content=\"xxxxxxxxxxxxxxx\" /> <meta property=\"og:image\" content=\"xxxxxxxxxxxxxxxxx.png\" /> <meta property=\"og:url\" content=\"http://xxxxxxxxxxxxxxx\" /> "; echo $metatags; } ?> in /plugins/cms/controllers/main.php at the ending of your given custom page: It's like above post, but it was missing common metatag VS only facebook metatag ("og: ) EOT; $metatags = <<<EOT <meta name="Description" content="xxxxxxxxx"> <meta name="Geography" content="vvvvvvvv"> <meta name="country" content="xxxxxxxxxxxx"> <meta name="language" content="xxxxxxxxxxxx"> <meta name="publisher" content="xxxxxxxxxxxxxxxxxxxx"> <meta name="application-name" content="xxxxxxxxxxxxxxxxx"> <meta property="og:title" content="Your Page Title" /> <meta property="og:description" content="xxxxxxxxxxxxxxxxx" /> <meta property="og:image" content="xxxxxxxxxxxxxxxxxxxxxxxxx" /> <meta property="og:url" content="{$blesta_url}xxxxxxxxxxxxxxxx" /> EOT; $this->structure->set("metatags" , $metatags); $this->set("content", $html); break; // default: $this->redirect($this->base_uri);
  15. We are here only talking about initial starting date of service that define all following renewall dates yes, I think I ever mention this before. For now all is done in Blesta like if all payments are always or should be done same day as order but it's very wrong if payment come later ( check, cash deposit, etc...). Service must start from payment date and not from the date of the order, it's just common sence in my opinion. Some type of payment can take 2-7 days to arrives (particulary in countries where the mass do not have a bank account but people can do cash deposit through many retail networks), so for now with Blesta, customer are invoiced for service there was not able to use, because service was not yet active before their payment date.... I never saw this issue with other billing system, common rule is service start at payment date.
  16. may I recommend you to transfert by FTP (over-writte files), your "vendors" folder in your blesta install folder.
  17. there is no more higher step for using Blesta than with any other website, only thing as being a billing software, there is always a learning curve to understand how create service, price, parameters, etc. And regarding to know or not php, html or mysql, there is no pre-requisted knowledge to have or obligation to learn it for being able to use Blesta, but if you want to customize deep, it's help, and this is not specific to Blesta but same as any website system (CMS).
  18. I will be answering your very last point regarding content/design integration. Blesta itself is a CMS, but you can use other CMS to integrate with, - if you like joomla, there is a full module integration (paid) it's integrate: design/user/content. - there is also something with WP but with less integration than Joomla - or you just integrate design with any CMS Or if you have very few products like me, I just chosen to stay fully in Blesta, so any Company I setup in Blesta do have his own template (a customised copy of the bootstrap). the bootstrap folder is here, you can do a copy & rename it to a custom name : /app/views/client/bootstrap and the most important files are: - structure.pdt - css*** and from the blesta admin interface there is the cms/portal plugin, where you can edit the portal page. And if you do a search in Blesta forum about CMS, there is 2 way to add more pages in Blesta (code hack more powerfull for now in my opinion) or use the "admin module" for that. I think, Integrate with other CMS is nice if you really need to manage catalogue, having a lot of pages, etc. if not why add an other layer? Here an example of site (my own) fully using blesta: SiteShop(dot)ph
  19. Countries I given have empty ISO code in your list, so that why I did notice to you, example from you: " " => "Norfolk Island", --------- So I suppose it will be later an issue at selecting one of these country in your application?
  20. Great! For info: Norfolk Island is ISO : NF Gambia is ISO : GM West Bank is ISO: PS Gaza Strip is ISO: PS Kosovo is ISO: XK and you missed my country of heart "Réunion" ISO : RE http://en.wikipedia.org/wiki/ISO_3166-2:RE
  21. serge

    Cron Error Help

    check your firewall to see if it's allow port used by cpanel, from memory 2083,2087, 2086,....(check it in cpanel doc) but I'm no more using cpanel, I moved to webmin, very best in my opinion
  22. thanks every one for details given that will help other later, Like on cpanel there general option to prevent any email to be send (or send without using local MTA), above given "smtp restriction" in cpanel, same kind of option exist in most other control panel, and it's in adition to allowed ports at firewall level. For people using CSF firewall, please note, in addition to needed opened port, there is also an option to disable email sending, but this option is disabled on a default install. In firewall configuration, it's at "SMTP Settings" section: SMTP_BLOCK = / Default: 0 [0-1]. It's should be set to "0" for disable it (allowing email sending), and see also following parameters like SMTP_ALLOWLOCAL and SMTP_PORTS
  23. yes, asking customer to select his country before to order is nice, the earlier we know his location the better it is. Not certain about using IP to automatize it, certainly if using IP, it's still need to be seconded (second check & price update) at order step with location taken from user account (user registration / login). Regarding script using ip, we can take inspiration from this: http://www.geobytes.com/iplocator/ they seem to be dead by today, but was they was able to do very custom message depending of IP So idea for us could be to use short code to be able to display message depending of customer location (IP), so it could be: - special discount for XXX country - coupon code CCCCCC - special discount for XXX city - coupon code CCCC - Price for given country/location - etc... from IP with geobyte, there was able to give script to include in template (java script), for display message depending of country, language, state, city, region, all of this from their ip database. So in the example case of above special discount, we can display special discount like special discount to Florida US state, when by the way any US user will see such discount but for his own state, it's a king of general personalization. And can be utilized as well to display price very early to customers, but certainly price still should need to be updated when customer register or login (for prevent error from people using proxy).
  24. wanah, on 31 Mar 2015 - 10:50 AM, said: For the number padding, I haven't found an official docment that states that it's obligatory, in 2007 our accountant told us we had to choose the right number of digits corresponding to roughly our sales estimates + 1 or 2 zeros. I'm in France and never heard about such requirement for Invoice number structure, the law never go deep in such detail where it's to each business to setup his own rules, of course invoice number must be chronological and without missing number, and that's it. But some accountant people like to setup their own religion...
  25. as VAT depend mostly of customer location, so display price with VAT should be done after customer registered or do login. It very common having a sentence saying that price could be updated depending of customer location. But I suppose it's really depend if you sell only local or global or both
×
×
  • Create New...