Jump to content

PauloV

Members
  • Posts

    1,387
  • Joined

  • Last visited

  • Days Won

    42

Everything posted by PauloV

  1. Hello I think they are more like PayPal https://www.sofort.com/eng-GB/buyer/sb/how-sofort-banking-works/
  2. Hello Blestars Once again free content for all This time one of the best Banking gateway in Europe, SOFORT Banking - https://www.sofort.com/ Teaser 1: Teaser 2: Just set your merchant acccount https://www.sofort.com/, create a "Project" and set your URL's, copy your "Configuration Key" of your "Project" and your are done! How to Install 1º- Download the Sofort Payment Module here: updated 05-09-2015 2º- Uncompress, and upload the folder "sofort" to blesta /components/gateways/nonmerchant/ directory. 3º- Go to Blesta Admin, and click on Setings->Company->Payment Gateways->Available and it will list the "Sofort" module, just Click on "Install" 4º- Now Add your Sofort.com Config Key, and select your Currency. 5º- Got to your Order Forms in Packages->Order Forms and edit and select your new Payment Sofort, below. How to Upgrade 1º- Download the Sofort Payment Module here: updated 05-09-2015 2º- Uncompress, and upload the folder "sofort" to blesta /components/gateways/nonmerchant/ directory and replace all files. 3º- Go to Blesta Admin, and click on Setings->Company->Payment Gateways and it will list the "Sofort" module, just Click on "Upgrade" 4º- Now test it How to Uninstall Go to Blesta Admin, and click on Setings->Company->Payment Gateways and it will list the "Sofort" module, just Click on "UNINSTALL" Any problem just say Regards, PV
  3. Sorry about the late reply, I have PM you but for everyone else, the error code "485" on new registration, shows that the domain was taken, maybe you have executed directly on OPENSRS or you executed two times, or someoneelse have regestry the domain before you. If you apply the patch to be able to set diferent prices for diferent types, you have to create a domain package for "transfers" and "Rewnew" for the term you want, 1yes, 2, years etc.., If you set the renew to anual, and you have in the package set to 1 year, yes it will renew for one year (after payment confirmation). Regards, PV
  4. I have tried in 2 situation but no luck, I can retive sucessful retive a valid token in the 2 situations, to bypass the token check, but still shows erros validating the view: Situation one using curl, like this: <!DOCTYPE html> <html dir="ltr"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Domain Form Exemple</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css"> <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css"> <!--[if lt IE 9]> <script type='text/javascript' src="//cdnjs.cloudflare.com/ajax/libs/modernizr/2.7.1/modernizr.min.js"></script> <script type='text/javascript' src="//www.weblx.pt/js/css3-mediaqueries.js"></script> <script type='text/javascript' src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> <script type='text/javascript' src="//cdnjs.cloudflare.com/ajax/libs/respond.js/1.4.2/respond.js"></script> <![endif]--> <style type="text/css"> div.c1 {margin-top: 50px} </style> </head> <body> <div class="row col-md-8 col-md-offset-2 whois c1"> <?php $blesta_order_form_url = "http://[your-blesta-order-form-url]"; function Get_Domain_Contents($url){ // get the html content from the blesta order from $ch = curl_init(); curl_setopt($ch,CURLOPT_URL,$url); curl_setopt($ch,CURLOPT_RETURNTRANSFER,1); curl_setopt($ch,CURLOPT_CONNECTTIMEOUT,5); curl_setopt($ch, CURLOPT_TIMEOUT, 10); $data = curl_exec($ch); curl_close($ch); // fectch the input token from the html content $pattern = '/<input type="hidden" name="_csrf_token" value="(.*?)" \/>/'; preg_match($pattern, $data, $matches); //return only the token string return $matches[1]; } // initiate the call to the function to get the token from blesta order form $token = Get_Domain_Contents($blesta_order_form_url); ?> <form method="post" action="<?php echo blesta_order_form_url;?>"> <input type="hidden" name="_csrf_token" value="<?php echo $token;?>" /> <div class="well well-order"> <div class="form-group"> <input type="text" name="domain" value="" placeholder="yourdomain.com" class= "form-control input-md"> </div> <div class="form-group tlds"> <label class="checkbox-inline"><input type="checkbox" name="tlds[]" value=".com"> .com</label> </div> </div> <div class="search btn-group"> <button class="btn btn-default" type="submit" name="lookup" value="1">Check Availability</button> <button class="btn btn-default" type="submit" name="transfer" value="1"> Transfer</button> <a href="<?php echo $blesta_order_form_url;?>/?skip=true" class="btn btn-default"> Skip, Order Other Items</a> </div> </form> </div> </body> </html> Situation 2 using this method to get the token (http://www.blesta.com/forums/index.php?/topic/1107-login-and-redirect-client-user-from-custom-website-to-billing-website/#entry9077) also no luck: <!DOCTYPE html> <html dir="ltr"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Domain Form Exemple</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css"> <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css"> <!--[if lt IE 9]> <script type='text/javascript' src="//cdnjs.cloudflare.com/ajax/libs/modernizr/2.7.1/modernizr.min.js"></script> <script type='text/javascript' src="//www.weblx.pt/js/css3-mediaqueries.js"></script> <script type='text/javascript' src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> <script type='text/javascript' src="//cdnjs.cloudflare.com/ajax/libs/respond.js/1.4.2/respond.js"></script> <![endif]--> <style type="text/css"> div.c1 {margin-top: 50px} </style> </head> <body> <div class="row col-md-8 col-md-offset-2 whois c1"> <?php require_once "api/blesta_api.php"; //your blesta api sdk path get from here https://github.com/phillipsdata/blesta_sdk $blesta_order_form_url = "http://[your-blesta-order-form-url]"; $user = "[your-blesta-api-username]"; $key = "[your-blesta-api-password]"; $url = "http://[your-blesta-order-form-url]/api/"; $api = new BlestaApi($url, $user, $key); $token = $api->get("custom.custom_api", "getCsrf")->response(); // this is a custom plugin just folow this steps to implement ?> <form method="post" action="<?php echo $blesta_order_form_url; ?>"> <input type="hidden" name="_csrf_token" value="<?php echo $token;?>" /> <div class="well well-order"> <div class="form-group"> <input type="text" name="domain" value="" placeholder="yourdomain.com" class= "form-control input-md"> </div> <div class="form-group tlds"> <label class="checkbox-inline"><input type="checkbox" name="tlds[]" value=".com"> .com</label> </div> </div> <div class="search btn-group"> <button class="btn btn-default" type="submit" name="lookup" value="1">Check Availability</button> <button class="btn btn-default" type="submit" name="transfer" value="1"> Transfer</button> <a href="<?php echo $blesta_order_form_url;?>/?skip=true" class="btn btn-default"> Skip, Order Other Items</a> </div> </form> </div> </body> </html> Blesta is validating something ele that is missing my eyes lol The error is still this: Oh noes! Files does not exist: /home/[my-folder]/public_html/dev/plugins/order/views/client/bootstrap/message.pdt on line 120 in /home/[my-folder]/public_html/dev/lib/view.php Printing Stack Trace: #0 /home/[my-folder]/public_html/dev/lib/controller.php(197): View->fetch('message', 'client/bootstra...') #1 /home/[my-folder]/public_html/dev/app/app_controller.php(0): Controller->partial() #2 /home/[my-folder]/public_html/dev/app/app_controller.php(0): AppController->setMessage() #3 /home/[my-folder]/public_html/dev/app/app_controller.php(0): AppController->verifyCsrfToken() #4 /home/[my-folder]/public_html/dev/plugins/order/order_controller.php(15): AppController->preAction() #5 /home/[my-folder]/public_html/dev/plugins/order/order_form_controller.php(38): OrderController->preAction() #6 /home/[my-folder]/public_html/dev/plugins/order/controllers/config.php(17): OrderFormController->preAction() #7 /home/[my-folder]/public_html/dev/lib/dispatcher.php(102): Config->preAction() #8 /home/[my-folder]/public_html/dev/index.php(21): Dispatcher::dispatch('/order/config/p...') #9 {main} I have told Richard to implement the easy way, with the disable tokens from blesta.php config file and works great, but with tokens something is missing Any help Cody/Tyson/Paul? Thanks in advance, PV
  5. For any one asking Yes im helping on this "giant" custumisation based on my Support Manager Pro Plugin mode Lots and lots of features, its the best weel coded support manager pro i have (still working on it), made for now + 1 for this features, its easy to implement
  6. Hello Make sure you have uploaded all files, after that try to uninstall and install it again Any problem just post it here Regards, PV
  7. lol, yes I see some episodes in Portugal I love british comedy, my favourites are: Allo Allo (memories) benny hill (memories) Mr Bean (memories) The Office Blackadder Ali G eheh
  8. They only "pile up" if there isnt any verification for exemple put a key on database that tell its still running, if so, the cron will execute returning/executing "nothing", to finish and not run in background, and they will not "pile up" Isnt the way that is working right now? they check the time/date on the cron database and if is not finish the cron will not run?
  9. I have replyed to your PM, I will try to debug on Friday
  10. Hello Great work Licensecart + ModulesBakery (the A team eheh) Keep it comming (free or paid), are welcome, the more the best for all P.S- What about a Donation PayPal account ? you deserve (also for ModulesBakery)it also for your hard work on the Forum comunity and also for many, many free stuff you have released Regards, PV
  11. I have detected the problem and implementos a fix on my support manager pro (its a core file) Try to write this in the Ticket below eheh : Im - Bold -- Or not? The problem is on markdown , here is the solution [blesta-instalation-directory]/vendors/parsedown/Parsedown.php find on line 608: return $Block; replace (comment that line) with: //return $Block; And that's it
  12. But is there any Input? if so, can you PM me the Log to try to debug? Regards, PV
  13. Great design One note only, needs a friendly mobile theme to match nowdays is a must have
  14. Thanks for helping I will review the code before the first RC release Regards, PV
  15. New problem added on first post: Problem: Custummers dosent have a Country Select Box to select "Country Tax" to show on Services and on Checkout (yes, i know after register the VAT is recalculated). Solution: Add an option or better yet a BOX to show (wen pro forma is enable in admin) on any Blesta Page wen enterying for the first time, (If not Logged In), to select a Country Flag with a warning telling its to show prices with country VAT. Exemple:
  16. Didnt test yet , did some elese tested and what is missing or what needs to be updated on my first Post of this forum?
  17. I think the .htaccess from wordpress directory needs some twicking Try this solution: Open your Wordpress folder and edit the file .htacess (make a backup of the file first) Then remove all content and put this (change [blesta-sub-folder] with your blesta sub-folder name): <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_URI} ^/[blesta-sub-folder]/(.*)$ [OR] RewriteRule ^.*$ - [L] </IfModule> Then try it hope it helps
  18. Yes, PIPE works wonderfull, but wen for exemple you use multi company and/or multiple MX servers you have to use IMAP or POP Yes, I whant to see a response from Cody and/or Tyson (Paul also eheh)
  19. But if you set Only some tasks to one minute like: Download Tickets Delivery Invoices Provision Paid Pending Services (I think are the most important tasks to run quickly) The server will not overload, because the outher tasks are "Pending" and they will not run every one minute Or at least have a RULE to apply some "time" limits on some Modules/Plugins this way the adverge admin will not be able to set by mistake the one minute task of course this will take more time to implement on core files because it will need changes on several core files, in modules/plugins, and maybe database
  20. Great that its working Any bug or problem you found just post it I want to change from "Beta" to "Release Candidate" the OpenSRS Module for Blesta
  21. Hello blestars Long time I post in here eheh My request is simple, and me personally and one client that Im working with, asks for CORE implementation, to be able to set, also, Cron Jobs to run in "Interval", by 1 (one) minute and not by the default minimum 5 minutes, that I think is to hight to check for exemple new Incoming Emails on IMAP/POP Support Manager (Pro also) Here is the solution to implement on CORE, only 2 lines of code change in 2 files Edit: [your-blesta-instalation]/app/controllers/admin_company_automation.php Find on line: 160 $intervals = array(5=>5, 10=>10, 15=>15, 30=>30, 45=>45); Change to: $intervals = array(1=>1, 5=>5, 10=>10, 15=>15, 30=>30, 45=>45); Edit: [your-blesta-instalation]/app/controllers/cron.php Find on lines 2087/2088: // The last run date rounded down to the nearest 5 minute interval $last_run_date = date("c", floor($this->Date->toTime($last_run->start_date)/(60*5))*(60*5)); Change to: // The last run date rounded down to the nearest 1 minute interval $last_run_date = date("c", floor($this->Date->toTime($last_run->start_date)/(60))*(60)); Finally, change your server/host blesta CRON task from something like: */5 * * * * /usr/bin/php /home/[path-to-your-blesta-instalation]/index.php cron Change it to: * * * * * /usr/bin/php /home/[path-to-your-blesta-instalation]/index.php cron Thanks in advance Keep it up Regards, PV
  22. PauloV

    Blesta Design

    SImple and beautiful, the best integration I have seen so far (naja7host theme also very, very good) I only think in my mind, maybe the top menu bar from blesta where it shows "Dashboard - Payment Accounts - Etc.." something is missing, some color, arrangement or divider. Also maybe adding some boarder limit (with very light grey) to all Blocks/Modules will transform also. But seriously, its fine like this, you can only try if you like it, I know I like it and I will "Copy" some ideas for our Blesta theme Keep it up
  23. Many thanks for the donation Buf fixed, thanks for find it Please download the upgraded version on my first post and try Hello Try the folowing: a) Generate a ney APY Key on your OpenSRS Enviorment, and on blesta, insted of "Copy" and "Paste" the Key type one by one, because some times wen you use "Copy/Paste" it adds a blank space in the beginning or in the end of the string Make sure your username is the same username you use to acess OpenSRS enviorment c) The HashKey filed on OpenSRS Blesta Module is a random combination of number and/or letters, try someting simple as "abc123" for exemple, you can put your own combination its not any "Hash" given by OpenSRS d) Make sure you known that your account username is a DEV/SandBox or a LIVE account, and select the option wen adding the account on Blesta OpenSRS Module e) (I dont see any errots, but...) make sure you have added on OpenSRS Enviorment your server/domain IP's as allowed f) (I dont see any errots, but...) make sure you have added on your firewall the ports 5500 and 55443 Any problem just say
×
×
  • Create New...