-
Posts
9,522 -
Joined
-
Last visited
-
Days Won
186
Everything posted by Michael
-
What's EFT mate, if it's a gateway, I recommend you open a feature request with a url to the API, if you need it fast you could hire Eric who can build it for a cheap price.
-
Migrating From Boxbilling To Blesta
Michael replied to BlacklightJDR's question in Pre-Sales Questions
You can try Blesta on your own server to try it, you could set it up and then buy a license key and update your installation. -
Ah mate I can't find out why that doesn't work on licensecart.com there's no folder or anythng to cause any issues. I wonder is it related to incorrect url to the file? require_once "/chroot/home/username/licensecart.com/html/billing/blesta_api.php"; Does it need to be 0777 chmod'd or something?
-
Migrating From Boxbilling To Blesta
Michael replied to BlacklightJDR's question in Pre-Sales Questions
Hello, welcome to the community, there's no importer yet from BoxBilling and I tried but the tables are all over the place so gave up. As you've got ten customers it should be a blast to move over as it's just simple. 1) set up the modules needed, make the packages, and assign them groups. 2) create customers and then add the service (Untick use module) 3) change the renewal date (on the server click: Manage > renewal date) 4) set up the order forms 5) set up the crons and other bits you need on Blesta and you should be ready to go live. -
Please follow the instructions below to set up your Blesta email piping on your InterWorx installation. 1. SSH into your VPS if possible, if not please contact your provider to do this for you. 2. cd /home/username/var/domain.com/mail 3. nano .qmail-emailname (This is the bit before @domain.com) 4. Paste in your code like so: |/usr/bin/php /chroot/home/username/domain.com/html/billing/plugins/support$upport_manager/pipe.php plugin/support_manager/ticket_pipe/index/1/ (You can get this from Support > Departments > Edit > (Email Handling) Piping > Piping Configuration) And all emails sent to emailname@domain.com will open a ticket for you. Credits to Justec on the InterWorx forum, I just made a tutorial out of it for Blesta customers.
-
Moved to InterWorx from cPanel mate and I removed company 1 from the new billing area as CubicWebs is closing. Would it be because it's not got a SSL? because on cubicwebs we had https://billing.cubicwebs.com however we didn't have one on the billing.licensecart.com hostname for company 2.
-
With that code mate I get this: NULL object(stdClass)#3 (1) { ["error"]=> NULL } missing package id: 17NULL object(stdClass)#3 (1) { ["error"]=> NULL } missing package id: 18NULL object(stdClass)#3 (1) { ["error"]=> NULL } missing package id: 19NULL object(stdClass)#3 (1) { ["error"]=> NULL } missing package id: 20NULL object(stdClass)#3 (1) { ["error"]=> NULL } missing package id: 23NULL object(stdClass)#3 (1) { ["error"]=> NULL } missing package id: 24NULL object(stdClass)#3 (1) { ["error"]=> NULL } missing package id: 24
-
Thanks mate I'll have a look at that, I might of missed something on the import :s By white price I mean if you go to: http://licensecart.com/blesta there's no prices That's weird mate haha. NULL missing package id: 17NULL missing package id: 18NULL missing package id: 19NULL missing package id: 20NULL missing package id: 23NULL missing package id: 24NULL missing package id: 24 But I'm sure 17 has a month and year because of the ID on the url for the package: Is there a debug code to see if the API connection is correct or not working mate?
-
You're welcome hopefully you can get it solved .
-
We re installed the cPanel module I believe. It was a while ago and forgot sorry. I'm up to help you if you would like to discuss it.
-
Hello, and welcome to the community. If you purchase a license from a authorised reseller you don't get an account at account.blesta.com. If you need to re-issue your license you will need to contact LicensePal. For renewal and updates LicensePal can tell you. If you need updates like 3.1.4 or 3.2.0 beta you will find out about them here.
-
That shows a white price still mate and in the error_log it shows: [Thu Apr 03 18:24:05 2014] [error] [client MYIP] PHP Warning: Invalid argument supplied for foreach() in /chroot/home/username/licensecart.com/html/html/blesta.php on line 48, referer: http://licensecart.com/products The full code is: <?php require_once "/chroot/home/username/licensecart.com/html/billing/blesta_api.php"; $user = "Licensecart_user"; $key = "9d383a*******************1b6a6e8"; $url = "https://billing.licensecart.com/api/"; $api = new BlestaApi($url, $user, $key); $company_id = 2; // Set acceptable currencies $valid_currencies = array("USD", "GBP", "EUR"); // Set default currency $selected_currency = "USD"; // Set another currency if given if (isset($_GET['currency']) && in_array(strtoupper($_GET['currency']), $valid_currencies)) $selected_currency = strtoupper($_GET['currency']); $price1 = getPackagePrice($api, 17, "month", 1); $price2 = getPackagePrice($api, 18, "month", 1); $price3 = getPackagePrice($api, 19, "onetime", 0); $price4 = getPackagePrice($api, 20, "onetime", 0); $price5 = getPackagePrice($api, 23, "onetime", 0); $price6 = getPackagePrice($api, 24, "onetime", 0); $price7 = getPackagePrice($api, 24, "month", 1); $price1_amount = formatCurrency($api, $price1->price, $price1->currency, $selected_currency, $company_id); $price2_amount = formatCurrency($api, $price2->price, $price2->currency, $selected_currency, $company_id); $price3_amount = formatCurrency($api, $price3->price, $price3->currency, $selected_currency, $company_id); $price4_amount = formatCurrency($api, $price4->price, $price4->currency, $selected_currency, $company_id); $price5_amount = formatCurrency($api, $price5->price, $price5->currency, $selected_currency, $company_id); $price6_amount = formatCurrency($api, $price6->price, $price6->currency, $selected_currency, $company_id); $price7_amount = formatCurrency($api, $price7->price, $price7->currency, $selected_currency, $company_id); function getPackagePrice($api, $package_id, $period, $term) { $package = $api->get("packages", "get", array('package_id' => $package_id))->response(); if (!$package) return false; $package_price = null; foreach ($package->pricing as $price) { // Get monthly term if ($price->period == $period && $price->term == $term) { return $price; } } return false; } function formatCurrency($api, $amount, $from_currency, $to_currency, $company_id) { // Do the currency conversion $amount = $api->get("currencies", "convert", array('amount' => $amount, 'from_currency' => $from_currency, 'to_currency' => $to_currency, 'company_id' => $company_id))->response(); // Format the currency return $api->get("currencies", "toCurrency", array('value' => $amount, 'currency' => $to_currency, 'company_id' => $company_id))->response(); } ?>
-
Hello guys I'm a bit confused with this, it only happens on InterWorx was working fine on cPanel just wondering if I need to install anything. On licensecart.com we use the new API the guys did for the community to make our lifes easier however I get this in the error log: [Thu Apr 03 15:22:07 2014] [error] [client MYIP] PHP Warning: Invalid argument supplied for foreach() in /chroot/home/username/licensecart.com/html/blesta.php on line 48 The code on that line is important: foreach ($package->pricing as $price) { // Get monthly term if ($price->period == $period && $price->term == $term) { return $price; } } It's part of this: function getPackagePrice($api, $package_id, $period, $term) { $package = $api->get("packages", "get", array('package_id' => $package_id))->response(); $package_price = null; foreach ($package->pricing as $price) { // Get monthly term if ($price->period == $period && $price->term == $term) { return $price; } } return false; } And I have: InterWorx 5.0.14 (Beta Tier) Blesta 3.1.3 MySQL 5.5.36 PHP 5.4.26 Apache 2.2.26 Thanks guys.
-
You don't have a email for voiding invoices, you I believe is looking for prorota or something invoices which is coming in 3.3
-
Agreed, I want to move from Resellerclub myself to OpenSRS due to their buyout, I know the guys have been working on the new plugin but everything needs to be broken down for easy maintenance and a nice structure for their other registrars in the future, so it will take a while but hopefully not long as you want to move over and this is blocking you.
-
I could be wrong but I believe the OpenSRS is coming with their new domain plugin which offers the table for registration, transfer, renew prices.
-
We managed to fix it, it was just PHP Soap wasn't installed .
-
Just going to download it mate and sort the account out now the SQL is sorted lol.
-
I love the idea it's like a ddos attack but a small one to knock them offline for a few secs.
-
I do like the idea of tiers maybe you could select on certain plans maybe a plugin could add that function.
-
Yes when 3.2 comes out as it is responsive anyway, I will continue to work on this because it will be easier for everyone .
-
Could you make this a plugin? It would be better for everyone mate but I love this though.
-
Ah I see sorry I didn't realise in the patch it overwrites the app_controller.php file which is one of the encoded files.
-
app/views/client/default/structure.pdt is the file needed.
-
It won't be done yet until 3.2.0 as this can be a easier edit for everyone.