
serge
Members-
Posts
695 -
Joined
-
Last visited
-
Days Won
6
Everything posted by serge
-
and maybe restart mysql server/service
-
you could check webserver log, to see http error code
-
have you check in given template file how to remove it?
-
I do not know if blesta support it and how to do,, but I think at gateway side you need to pass by these 2 transaction status: 1/ authorization 2/ capture: Only when you want to get paid A gateway explanation here: https://support.cybersource.com/cybskb/index?page=content&id=C35&actp=RSS But also think, that invoice should only be passed as paid when being really paid, and not when there was "caputure", mostlly at shopping cart side it's match to a pending or on hold status.
-
depending of if you are shoppingcart or gateway side, the term , callback URL or postback URL mean the same, it's the Notification URL, what paypal mean by IPN (Instant Payment Notification) URL.
-
thxs for the interresting feedback. As my purpose here was to use a framework to makes easy database grid, I found most of them do have integration issue with blesta, from jquery/bootstrap load to session sharing(I tried up to 5), the one that is related to the origin of this post and having (as most other) session issue is xcrud.com And at the end, the only one that is not using jquerry/bootsrapt and not ussing session sharing, and can work fine for my goal for now: http://sourceforge.net/projects/lazymofo/ I just use very limited css only related to table and I apply css directlly in the given blesta template, with 2-3 modification and it's do not change/alter Blesta display. Only things is I had no chance with associating php function with grid action, like action before or after save, even at following their examples, when this was working for xcrud.com but having session issue with blesta, I will makes a try to adapt xcrud.com for it's use session stored in db by blesta.
-
My code rely at 99% on an external framework that it's included from an include file function in the blesta template, so it's will be hard to post here. By the way I know blesta manage it's own ruling session & store session in mysql, but my question was only about how blesta is acting regarding native php "session_start(); " that Blesta start, and how Blesta could modify/alter it later? In the minPHP was thinking, Blesta could have own way change/alter or rename, etc... native php native session, I saw few part of code about it but I'm not exactly certain about what it's do really, /components/session/sessions.php So if a custom script in the Blesta template is trying to re-use info from native php session created by Blesta, it's could fail, that why I was asking if Blesta is altering the way native php session work? http://www.blesta.com/category/developer-corner/page/14/
-
any feedback, thanks
-
@naja7host ------------------ thxs, naja7host by the way my english have mabye some limitation ;-) and i was saying I fully agree with you. we need flexible way using the blesta method/function to make querry in the database, and using the blesta db connection directlly from blesta template I was also faced to do custom database connexion/querry in my template, and even if I know it's no the best, it's still more light work than creating plugin/module.. --------------- But for ty0716 , as I think the amount in customer account do not come from a field in the database & table (I have not found it) but maybe more from a calculation and how? That why I have no code example to give to him, that follow custom database connexion & with an apropriate querry
-
naja7host said i was forcing the same issue already when i was working in adminLTE template . i think blesta should think about a way that let the developpers/designer to add thier own function or request in the template, as now ,we can just use what blesta offer . there a re a old thread about this subject . I can not agree more with naja7host Impose MVC for all is very rigid and it's more easy for most people to simply do light customization only from template, VS follow full MVC way
-
Selling Domains With Multiple Registrar Module
serge replied to lonea's question in Pre-Sales Questions
a close topic: http://www.blesta.com/forums/index.php?/topic/995-domain-checker/ -
Selling Domains With Multiple Registrar Module
serge replied to lonea's question in Pre-Sales Questions
I think the more flexible setup is to create one package by domain's extension, and doing that you can have the flexibility to change price by extension, define a registrar (module or universal module), by package (extension), define group for your package, say (domains). and at order form, if all your package are on same group (domains), but even maybe not needed, all domains will be available at the order form but you have to select not the general kind order form but the domain one, and all should be fine to makes available all your extension on a single order form. -
I'm trying to integrate a script within a blesta template (a light framework for create database grid edit/view) the script can re-use the blesta session & blesta session name, or makes a new session, but all my try always given me sames error, being when doing some action (like edit a field), I do have an error saying the session key has changed or expired, So the developper of the script is asking me if my CMS is broking/destroying native php session?
-
Blesta Offline Payment And Username Issue
serge replied to windsson's question in Pre-Sales Questions
not certain to understand well your question, you have to create service/package, and maybe see the universal module for that, and I would recommend you to see tutorial from our friend licensecart. and once all the setup is ok, it's mean your customer can order, and if it's offline payment, once you get fund, you pass manually invoice as paid, and then Blesta will be automatically do the provisionning/service/product activation. -
Blesta Offline Payment And Username Issue
serge replied to windsson's question in Pre-Sales Questions
I think there is no payment button for offline payment, because it's by design, if the payment is offline, what the payment button will server and to communicate with what system? there is no gateway to communicate with, as it's offline payment. in the template, you could add intrustruction, that is displayed only for this payment method like: pay to bank account xxxxx with this number (order number) as message and when merchant receive offline payment, he has to do manual action to pass invoice as paid and can add bank reference for tracability -
hahaha, domain & webhosting are intrinsec but there will be always people to see other things..... but I would not put sugar in my petrol ;-)
-
electric said: yes, same line as you
-
ok my dev server has no SSL cerrtificate, so the error I had: "The API user or key appears to be invalid." was just the generic error, But when trying on my live server that do have SSL certificate at blesta, the API request given fine the decrypted string
-
this error is printed : stdClass Object ( [user] => stdClass Object ( [valid] => The API user or key appears to be invalid. ) ) but my API user & key seem good, I also tried other user/key I created, but all give above error
-
yes, I just figured I suppose now it's connecting with API, I I do have this error in my webserver log: [Sun Jun 14 18:31:41 2015] [error] [client 108.161.128.170] user apitest not found: /index.php/api/encryption/systemDecrypt.json and here is my code to connect with API <?php require_once "blesta_api.php"; require_once "blesta_response.php"; $user = "apitest"; $key = "xxxxxxxxxxxxxxxxxx"; $url = "http://dev-bill.netpublica.com/index.php/api/"; $api = new BlestaApi($url, $user, $key); $response = $api->post("encryption", "systemDecrypt", array('value' => "GzJ9GD+TuG21ChSb4Dl0WzLpW+h8SiYcexW17UiwMJ8=")); print_r($response->response()); print_r($response->errors()); ?> But in blesta the API user exist with it's api key, so, I do not understand
-
documentation give this php code example: <?php require_once "blesta_api.php"; $user = "username"; $key = "key"; $url = "https://yourdomain.com/installpath/api/"; $api = new BlestaApi($url, $user, $key); $response = $api->get("users", "get", array('user_id' => 1)); print_r($response->response()); print_r($response->errors()); ?> but I do not understand where is this file: blesta_api.php
-
interesting if someone do have a naxsi rule, I think I tried naxsi but found it's make connection slow, so I was prefering having haproxy in front with some connection request limit by ip, and having also haproxy including the banned ip from csf firewall.
-
For a custom php script on same server as Blesta, but not within Blesta, I would like to decrypt an encrypted custom client field. So my script will get the encrypted value from a database query, but after that, how to decrypt the field?
-
also maybe re-upload the whole blesta in case of file alteration during FTP transfer
-
just create these 2 file in you public directory: 1/ hello.txt with content: hello 2/ info.php with content: <?php phpinfo(); ?> ---------------------------------- next load these file in your internet browser, first file should say: hello second file should show; your entire php info in a table ------------ And as I suspect it's will not work in your case because server or webserver is miss-configurated, so it's not related to blesta