Jump to content

serge

Members
  • Posts

    695
  • Joined

  • Last visited

  • Days Won

    6

Posts posted by serge

  1. Thanks Tyson, following your process, there was no error reported, manual cron (web cron) worked fine, giving at cron log the missing and end date for the "download tickets" task.

    But cron from crontab (php cli), was not working, so I just remember me I have instlated lastly php7, while I make webserver still use php 5.6 for blesta compatibility, I missed make php cli use php5 and not php7,

    so in the cron command, I changed "php" to "/usr/bin/php5" and tested cron manualy from terminal, and all was fine, so cron now just work fine at the every given mins

     

     

     

  2. While nothing changed at my Blesta parameters and all was working fine before,

     

    But since 3 days, I have Cron task "Download Tickets" that never end while I still receive Support ticket fine.

     

    For collect Tickets I use IMAP way & TSL

     

    I ever cleared the log for this unfinished Cron task, & do Manual cron once, but a same Cron task "Download Tickets" that will never end, is coming again.

     

    Any idea?

  3. I finally found in paypal account the place for IPN history the change of late paypal interface confused me at re-finding it.

     

    So if at paypal account, I re-sended notify, but it's make none new transaction to be see at blesta & billing & transactions (at any blesta tab).

    But the auto-notify of this transaction few day ago, is there at blesta in the "pending" transaction tab.

     

    So I suppose somethings is wrong at blesta or paypal regarding the management of this kind of transaction status, not certain blesta manage the transaction status given by paypal when the month-try of the subscription is finally aborted by paypal.

     

    Since, at paypal account they do not display or give logs of the transaction status code send through IPN, it's not easy to better track.

  4. In complement to above instruction,

     

    here bellow untested code/instructions specifically for your need.

     

     

    in file  /app/views/client/YOUR-BLESTA-THEME/client_pay_method.pdt

     

    After this block:

    <?php
    // Set non-merchant gateways
    foreach ($this->Html->ifSet($nm_gateways, array()) as $gateway) {
    ?>
    

    replace this block:

    					<div class="radio">
    						<label>
    							<?php
    							$this->Form->fieldRadio("gateway", $this->Html->ifSet($gateway->id), ($this->Html->ifSet($vars->pay_with) == $this->Html->ifSet($gateway->id)), array('class' => "gateway"));
    							$this->Html->_($gateway->name);
    							?>
    						</label>
    					</div>
    

    by this:

    
                                        <?php
    
                                           // from above foreach loop, by default blesta will list here all enabled gateway(s) on by one, so we add some conditions:
     
    
                                                     // here the blesta package group(s) id for witch you want to hide a given gateway that is enabled in blesta interface 
                                                     if ($package_group->id == "4" OR $package_group->id == "10" )    {         
                                                                    
    
                                                                       // the gateway(s) to hide when above package group id are concerned
                                                                       if ($gateway->id == "2" OR $gateway->id == "3")     {      
                                                                                       
     
                                                                                                 // case: nothing to display
    
    
    
                                                                                 } else  {
    
                                                                                      
                                                                                               // case: gateway can be displayed:
                                                                                                 
    
                                                                                                 ?>
    
    					                                         <div class="radio">
    						                                     <label>
    							                                  <?php
    							                                  $this->Form->fieldRadio("gateway", $this->Html->ifSet($gateway->id), ($this->Html->ifSet($vars->pay_with) == $this->Html->ifSet($gateway->id)), array('class' => "gateway"));
    							                                  $this->Html->_($gateway->name);
    							                                  ?>
    						                                      </label>
    					                                          </div>
    
    
                                                                                  <?php
                                                                                 }     
    
    
    
                                                         } 
                                                             ?>
    
    

    So in last above block you have to fill your own package group id, and gateway id, you can find theses id from blesta interface when you edit package group or gateway, next just just find the id in the URL at the ending or close to.




     

  5. thanks naja7host, you are correct,

     

    my above instruction are for the checkout, but I miss case where payment is from invoice.

     

    also my above instruction is when the order template is using the "wizard" one, if not it's need to be adapted within the given used order template.

     

    I'm going to post a complementary instruction for the file  /app/views/client/YOUR-BLESTA-THEME/client_pay_method.pdt as from my last check it's should be there, same way as other instruction I ever did.

  6. since paypal way of working is ever redirection to paypal website, so what do you want to accomplish, can you explain?

     

    Ok, I got it, you wanted open new window for paypal while keeping the blesta one, I think it's bad idea, it's not common natural flow shopper would like.

  7. it's not some webhosting comp. that make not possible to send php email from their server, as they "lock" it in the servers config, mostly it's could happen with some provider of shared servers

  8. Thanks, I can not find in paypal account where I can resend IPN (notification), I was opening there the given last monthly aborted transaction that came from the subscription.

     

    I'm also asking my self how blesta could update a paid invoice in case of chargeback (payment canceled after firstly being paid)  since I'm using such kind of invoice label for unpaid invoice "Invoice #PROFORMA-SS4539" and paid invoice are using and other prefix name & other serial at the ending", so I'm also suspecting IPN can not be associated with the "hidden" real internal only blesta invoice number, but I'm uncertain about it?

  9. that's true if issue are email / server related, if you do not know how set SPF DNS record , create reverse DNS record for IP, etc...

     

    it's very common to have email delivery issue, nothing specific with blesta, so here the community can list what to check/do when you report issue, and you can ask your webhosting to help, if they are flexible for like managed service, like Licencecart was saying.

     
  10. The email from Paypal is only about failed retry payment after x unsuccessful time (but not the whole subscription being canceled, just the try to transact this given month ended with no success), i can not paste here as it's in French.

     

    I can not find related transactions about such canceled try inBlesta transaction section, and every month this subscription is failing after x paypal re-try.

     

    As Blesta transaction even do not match (the one that make Blesta invoice be paid/closed)...I found hard even from Paypal account to track to get the whole picture.

     

    I'm now thinking there was subscription started where payment try are aborted each month after few unsuccessful Paypay auto re-try.

     

    While customer pay invoice just from buy now (pay once), I will continue to investigate.

  11. you said

     

    "leave the billing system to experts" 

     

    but in fact since I suppose you are SMB biz, I will say you need to learn it.

     

    learn come from experience, but never assume your system work if you have not tested all situation you want that work for shopper, you need to test order, etc, like shopper, so until your blesta work, all is fine, and when having issue , just learn to solve & use support & community.

  12. Posted Today, 01:58 PM

    serge, on 18 May 2016 - 09:03 AM, said:snapback.png

    But i want some other service will use ONLY bitcoin and not paypal.


    How is that possible to do ?

    this can be done by adding a rule/code within a checkout file, I have done it, it's based on the blesta service group(s) condition, let me know if you need detail and I will post in the forum contribute section

     

     

    Yes please it will be REALLY useful! and also a guide how to do this would be really really useful. Thank you

     

    Answer:

     

    I checked my file(s), I was wrong I made it but in an other shopping cart system, since I play with about 5 systems, what really I did was something close in blesta but no same as you asked, so here bellow untested code/instructions specifically for your need:

     

     

     

    in file  /plugins/order/views/templates/wizard/checkout.pdt

     

    After this block:

    // Set non-merchant gateways
    foreach ($this->Html->ifSet($nonmerchant_gateways, array()) as $gateway) {
    ?>
    

    replace this block:

                                                                  <div class="radio">
    									<label>
    										<?php
    										$this->Form->fieldRadio("gateway", $this->Html->ifSet($gateway->id), ($this->Html->ifSet($vars->gateway) == $this->Html->ifSet($gateway->id)), array('class' => "gateway"));
    										$this->Html->_($gateway->name);
    										?>
    									</label>
    								</div>
    

    by this block:

    
                                        <?php
    
                                           // from above foreach loop, by default blesta will list here all enabled gateway(s) on by one, so we add some conditions:
     
    
                                                     // here the blesta package group(s) id for witch you want to hide a given gateway that is enabled in blesta interface 
                                                     if ($package_group->id == "4" OR $package_group->id == "10" )    {         
                                                                    
    
                                                                       // the gateway(s) to hide when above package group id are concerned
                                                                       if ($gateway->id == "2" OR $gateway->id == "3")     {      
                                                                                       
     
                                                                                                 // case: nothing to display
    
    
    
                                                                                 } else  {
    
                                                                                      
                                                                                               // case: gateway can be displayed:
                                                                                                 
    
                                                                                                 ?>
    
                                                                           <div class="radio">
    									                                     <label>
    										                                      <?php
    										                                                $this->Form->fieldRadio("gateway", $this->Html->ifSet($gateway->id), ($this->Html->ifSet($vars->gateway) == $this->Html->ifSet($gateway->id)), array('class' => "gateway"));
    										                                               $this->Html->_($gateway->name);
    										                                      ?>
    									                                    </label>
    								                                    </div>
    
    
                                                                                  <?php
                                                                                 }     
    
    
    
                                                         } 
                                                             ?>
    

    So in last above block you have to fill your own package group id, and gateway id, you can find theses id from blesta interface when you edit package group or gateway, next just just find the id in the URL at the ending or close to.

  13. not a lot of experience about it, but found strange I had invoice paid from shopper subscription (credit card transaction applied fine on blesta invoice passed to close status), but x days later,  paypal send me email to say the subscription can not be successfull.

     

    What I do not understand is why the like transaction cancellation is not applied on the invoice (to pass it's from , closed status to unpaid status), is there a IPN management missing at blesta paypal plugin, to manage such kind of transaction cancellation events?

×
×
  • Create New...