Jump to content

serge

Members
  • Posts

    695
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by serge

  1. I think you should delete all log in db & apply a manual cron from blesta interface, this should make all restart fine. As per the service question, I think Paul was meaning, it's about blesta service not being in the status they should (not yet updated from cron), like invoice paid but service not activated yet, etc.
  2. ok, there is nothing more than you found, all I said was from memory only, the one I said is for resell blesta license, not that you want. An other way could be to add a new company at blesta, & give credential to your reseller, but this is maybe not what your aspirant reseller want it or also you do have an addon company cost from Blesta. If not affilation is an other way, I did hack in Blesta checkout file for https://www.postaffiliatepro.com tracking. Just curious in your former idea, your reseller will be selling from what shopping cart type: woocommerce, magento, blesta, other?
  3. maybe with the pipe method: double check the path to your php file or the syntax there. could be also right/permission missing for php file be executed, chmod, etc What hosting panel are you using?
  4. "Blesta is multi-company/multi-domain able system build to rock. Not like hyped competitors with low quality plugins/modules. With Blesta, ignore the noise, test it, learn it and follow your choice!" Serge Frankin, NetPublica.
  5. I only rely on webmin/virtualmin as from experience, I found any other panel buggy a lot or finally fully modify the distro (like cpanel), so webmin/virtualmin do not modify the distro, you can still use regular distro command line in case you need. if you do not like their default design/template: this free one is modern & work fine: https://github.com/qooob/authentic-theme
  6. serge

    Redirect Error

    what webserver are you using: apache, nginx, other? have you an upper php cache layer like xcache or other ?
  7. I think if you search on google / github you could found a reseller API for blesta (maybe an old version you could use it as starting base), I think it's was from germany or a german man.
  8. regarding affiliation, I was able to make blesta checkout work with https://www.postaffiliatepro.com/ tracking I could give more detail if wanted
  9. serge

    One Service Per Person

    @Paul, yes I use the license manager but not with anonymous trials. so, I agree with this: Maybe a way if possible mate to check a box on the package and if a client has one active or cancelled throw up an error on ordering?
  10. serge

    One Service Per Person

    since for now there is no way to prevent customer to order more than one trial. What I have done is a script run by CRON job that cancel such abuse trial, but since it's software license trial, my script is very specific and is associated with a custom table for log/history of abuse.
  11. on an other than Blesta software (shopping cart) , I had to manage a like similar case, so I did it with hacking a core template: I make just before the given step : - the cookie "option_xx-enable" was deleted (as cookie can never be updated but only deleted first) And next: If given option was ticked or validated: - the cookie "option_xx-enable" was created, with a value, say "1" And at for later steps, the cookie value is checked, to proceed given operation or conditional code
  12. but the invoice creation I did a typo, I was wanting to say : with the.... As regarding the rest in fact if you can wait native feature from Blesta, that's certainly better.
  13. i'm not good at MVC & so not good to create plugin.... but the invoice creation (regroup of service), from a cron look fine, doing a loop for each user being reseller (maybe you create an user group for reseller), that calculate to total for not yet invoiced service for a given period. So the result could need to be written in a new table for better recap/history. certainly add a row in service table like "reseller_invoiced" with value "1" when invoicing has be done from above cron. As regarding prevent of invoicing as per the native blesta do (by service/order), I will just do a mysql trigger, that work before any insert at the invoice table, or maybe service ?, for just "abort" invoice creation, or create invoice on an single same "internal user" only, when your service given conditions are meet (say you give specifically this type of service associated with a specific package group).
  14. Was in battle for hours on that & even restarted from whole server backup and nothing was solving it. Thank you, I could sleep Tonight :-)
  15. not done any blesta upgrade since very longtime....and not having more than one javascript version. by the way this worked fine :-) and even stay stable after if I clear my internet browser cache & go direct at home page: Edit 2: https://siteshop.ph/member/'>https://siteshop.ph/member/ and then clicking home to https://siteshop.ph works fine. How did you find this dam good idea? It's like I maybe had wrong result cached, being very persistent on my server and your tip, "cleared" it.
  16. some security application are sometime wrong because, example --------- your mail box is : me@mydomain.com but your mail-server hostname is : mymailserver.com -------- but some security application do not accept an email send by mydomain.com, what ever your SPF, DKIM , DNS record are well set Or you need to make the mail-server network include IP(s) of your Blesta and IP(of you mail box hostname), on postfix it's in the config, but since you use google service mail-server, I suspect you will not be able to set it (it's not a dns record)
  17. My Blesta website load half broken since today: siteshop (dot) ph While no change have be done on server/config and all was working fine until yesterday. Webserver cache has ever been cleared, & server restarted & internet browser cache cleared. but that did not fixed the issue, and I see an error in the Browser, using a bebug tool: ----------------- jQuery is not defined jQuery(function($){ --------------- Any idea? Should I re-upload (over-write) Jquery and where?
  18. serge

    Custom Pages

    By looking at Rodrigo's code it appears as though it only modifies the portal? I used Rodrigo way to create custom pages, it's work fine, and even for muti-companies. Check my own contribution on this OR my comment in the former Rogrigo post.
  19. Think also at internal vs external domains, the last case is when you offer DNS hosting for external domains (so not registered through you). Having one single blesta's DNS editor interface is better than having 2 types of DNS editor interfaces (internal / external domain), I found billing systems offering different DNS editors (native one + plugin/extension for external domains), are so bad, because they are completely different at look/design, so when customers have internal & external domains at same time in their account, the interface is very different depending of given domain, so all of this came from a bad system architecture, why the interface should be different when it's still for just for edit DNS records? So from a same/unique DNS editor interface, developer should just be able to use available functions to create automation with given platform (DNS only, powerdns, etc), and domain registration (at registrar) should not be mandatory for a DNS editor, but see as Zone creation only, as zone creation is not about registrar or not, it's just about DNS management, and it's common for both case (internal or external domain). Regarding URL forwarding, it's not a DNS records, but just better to manage it at same place as DNS records. Admin should be able to tick/untick what type of DNS records can be edited by customers for a given context (like registrar, extension, customer group, etc)
  20. My feeling was it's was issue from Paypal, everything was working fine before. Here is code at paypal page for section , buton/link back to Shop (language is French), I can see it's has the wrong URL prefix paypal object </script><script type="text/javascript" src="https://www.paypalobjects.com/MERCHANTPAYMENTWEB-640-20151004-1/js/lib/min/global.js"></script><script type="text/javascript">PAYPAL.util.lazyLoadRoot = 'https\x3a\x2f\x2fwww\x2epaypalobjects\x2ecom\x2fMERCHANTPAYMENTWEB\x2d640\x2d20151004\x2d1';</script><link rel="shortcut icon" href="https://www.paypalobjects.com/en_US/i/icon/pp_favicon_x.ico"><link rel="apple-touch-icon" href="https://www.paypalobjects.com/en_US/i/pui/apple-touch-icon.png"></head><body><noscript><style type="text/css">body{display:block !important;}</style><p class="nonjsAlert">De nombreuses fonctionnalités PayPal nécessitent JavaScript. Pour payer, <a target="blank" href="https://www.paypal.com/fr/webapps/mpp/preview/how-to-turn-on-javascript?locale.x=fr_FR">activez JavaScript dans votre navigateur Internet</a>.</p></noscript><div class="" id="stdpage"><div id="header"><h1 class="confidential">Netpublica.com Corp.</h1></div><hr><div id="content"><div id="headline"><h1 class="accessAid">Merci de votre commande</h1> </div><div id="messageBox"></div><div id="main"><form method="post" id="merchantredirectform" name="merchantredirectform" action="siteshop.ph/order/checkout/complete/test/56aa5587c8130" accept-charset="utf-8" class=""><input type="hidden" name="mc_gross" value="1.00"><input type="hidden" name="protection_eligibility" value="Ineligible"><input type="hidden" name="payer_id" value="9VYUAQ5W2X6XA"><input type="hidden" name="tax" value="0.00"><input type="hidden" name="payment_date" value="09:54:39 Jan 28, 2016 PST"><input type="hidden" name="payment_status" value="Completed"><input type="hidden" name="charset" value="utf-8"><input type="hidden" name="first_name" value="guy"><input type="hidden" name="mc_fee" value="1.00"><input type="hidden" name="notify_version" value="3.8"><input type="hidden" name="custom" value="222=1.0000"><input type="hidden" name="payer_status" value="verified"><input type="hidden" name="business" value="pay@netpublica.com"><input type="hidden" name="quantity" value="1"><input type="hidden" name="payer_email" value="paypal@netpublica.com"><input type="hidden" name="verify_sign" value="An5ns1Kso7MWUdW4ErQKJJJ4qi4-AG.xizH9AbBf5dKQogKwc3vPfjjh"><input type="hidden" name="txn_id" value="7VH60272ML304063M"><input type="hidden" name="payment_type" value="instant"><input type="hidden" name="payer_business_name" value="NetPublica"><input type="hidden" name="last_name" value="frankin"><input type="hidden" name="receiver_email" value="pay@netpublica.com"><input type="hidden" name="payment_fee" value=""><input type="hidden" name="receiver_id" value="7M54EHLWEN66C"><input type="hidden" name="txn_type" value="web_accept"><input type="hidden" name="item_name" value="Invoice #PROFORMA-SS4536"><input type="hidden" name="mc_currency" value="PHP"><input type="hidden" name="item_number" value=""><input type="hidden" name="residence_country" value="FR"><input type="hidden" name="handling_amount" value="0.00"><input type="hidden" name="transaction_subject" value="222=1.0000"><input type="hidden" name="payment_gross" value=""><input type="hidden" name="shipping" value="0.00"><div class="layout1"><div class="rounded maxWidth"><div class="top outer"></div><div class="body outer nobg clearfix"><div id="secureCheckout" class="lockLogo"><span class="spriteLogo paypallock" title="PayPal"></span></div><h2>Merci de votre commande</h2><p>Votre paiement d'un montant de P1,00 PHP a été effectué.</p><p>Vous allez maintenant être redirigé vers <span class="emphasis confidential">Netpublica.com Corp.</span>. </p><p>Si vous n'êtes pas redirigé d'ici 10 secondes, <span class="buttonAsLink"><input type="submit" value="cliquez ici" id="merchantReturnLink" name="merchant_return_link" class=""></span>.</p><img src="https://altfarm.mediaplex.com/ad/bk/3484-16283-2054-9?MerchPayFlow=1&mpuid=%3b7D973470HA0428622%3b0%3bEUR" border="0" alt=""></div><div class="bottom outer nobg"></div></div><script type="text/javascript"> PAYPAL.util.Event.onDomReady( function() { setTimeout("document.forms.merchantredirectform.submit()", 4000); } ); </script></div><input name="auth" type="hidden" value="AARae.RziSJAii91L2nMiDCo4AQ5WHeqiaY9N5nyjxYQSBgdSS4B2v3wRPpNLWnw.hKC1-ow1LiE5kWjn4HjdYQ"></form></div></div><div id="footerhps"><p>PayPal. Votre réflexe sécurité pour payer en ligne.</p><p> Pour en savoir plus, consultez notre <a target="_blank" href="https://www.paypal.com/fr/cgi-bin/merchantpaymentweb?cmd=p/gen/ua/policy_privacy_pop-outside&country.x=FR" onClick="PAYPAL.core.openWindow(event, {width: 640, height: 300})">Règlement sur le respect de la vie privée</a>, nos <a target="_blank" href="https://www.paypal.com/fr/cgi-bin/merchantpaymentweb?cmd=p/gen/ua/ua_pop-outside&country.x=FR" onClick="PAYPAL.core.openWindow(event, {width: 640, height: 300})">Conditions d'utilisation</a> et notre <a target="_blank" href="https://cms.paypal.com/fr/cgi-bin/marketingweb?cmd=_render-content&content_ID=ua/ServiceDescription_full" onClick="PAYPAL.core.openWindow(event, {width: 640, height: 300})">Description du service</a>.</p><div id="footer" role="contentinfo"><p id="legal">Copyright © 1999-2016 PayPal. Tous droits réservés.</p></div></div></div><script type="text/javascript" src="https://www.paypalobjects.com/MERCHANTPAYMENTWEB-640-20151004-1/js/lib/min/widgets.js"></script> So I will contact paypal support
  21. IPN is enabled at paypal account, but URL set is for an other website of me (not blesta), But until: - IPN is enable at Paypal, the URL paypal use is the one given by Blesta API when the transaction is created. So regarding IPN, all is fine, the order/invoice is well updated as paid from IPN, the issue is on the web-redirection, the URL paypal generate well include the good "part" but Paypal added a prefix : So I add here a space between the 2 URL parts, the issue is "www.paypalobjects.com/fr/cgi-bin/" part: https://www.paypalobjects.com/fr/cgi-bin/ MY-SITE.COM/order/checkout/complete/test/56aa291d30917
  22. Strange After payment, Paypal redirection back to blesta using this URL: https://www.paypalobjects.com/fr/cgi-bin/MY-SITE.COM/order/checkout/complete/test/56aa291d30917 So it's a full wrong URL/page, as it's should be: https://MY-SITE.COM/order/checkout/complete/test/56aa291d30917 Is there a way to fix it or the error just come from Paypal?
  23. serge

    Next Module

    A Linux containers (LXC) provisioning module for https://en.wikipedia.org/wiki/CoreOS
  24. so your mailserver & blesta install is on a computer at home? For use SMTP & Blesta, you need SSL certificate (not self signed certificate), installed for the mailserver hostname, and it's need fixed/dedicated ip for mailserver hostname. So, I do not see well how you could accomplish it at hosting this at your home, I think you are just losing your time
  25. thanks for the contribution, I suppose Blesta use only http as not all people using Blesta will have a SSL certificate. but in the wait of an option from Blesta, I do like your contribution
×
×
  • Create New...