Jump to content

hsidhu

Members
  • Posts

    13
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by hsidhu

  1. Hello,

    I had a situation when Blesta sends out a link in an email for the client to pay an invoice.  

    So, When client click on that link he/she reach select payment method page. After selecting a payment method and move to the confirmation page.

    If client refresh payment confirmation page his/her account is charged twice. Amount is added as credit in account if all the invoices are paid 

    How can I avoid charging credit card again if there is no invoice is due.

     

    Thanks in advance

  2. Thanks 

    Another thing I notice that when u delete client it doesn't delete Clients contact information and not client card form account_cc.

    Since, google is not supporting Recaptcha old version. I edited the Recaptcha helper base on https://github.com/google/recaptcha

    This change applies to verion 3.6.X

    It need little change in order form plugin 

    Order/controllers/signup.php

    around line 53 where it has

    if (!$this->Recaptcha->verify($this->post['recaptcha_challenge_field'], $this->post['recaptcha_response_field']))

    Replace with

    if (!$this->Recaptcha->verify($this->post['g-recaptcha-response']))

    and update helpers/recaptcha/recaptcha.php with the code in attached file

     

     

    blesta_Recaptcha.php

  3. Thanks for quick reply Paul,

    On the last step when user about to pay if anything went wrong with the payment and user refresh page few times. It just keeps creating orders, services, invoices and  transection .

    For instance, user went to all the steps -> select service, fill out user information after user information is submitted successfully. Order form will redirect to payment form where user select a payment method and enter payment information.

    If anything went wrong with the payment it will still create service and if user refresh it again create another service. And if user refresh again then it will redirect to first step.

    I can clear the item or put service to pending or cancel it But the issue is now I have random data in my database which I cann't get rid of and its taking up space. Order, service, invoice and transaction tables have random data.

     

    One of the solution could be authorization check before Blesta generates service for user user can create with order form with login. Let me know what you think about this.

    Thanks in advance

  4. Hello,

    Does order form have any option which I can use to Not Create Service or order if payment is not received. Otherwise user can fill out the form and keep generating services and orders.

    I know invoice is generated if service created and therefore than payment process and transaction.

    But I want something to stop user to keep keep ordering service and creating service without payment.  

    Thanks in advance

  5. That works while

    one more thing came up - how do i make sure that line is add to right invoice - service and package.

    For example : One service is renew everyday and other every month both have domain cost which has to be add on every renew.

     

    I have rough idea how i can do it. e.g by finding the service id from invoice_lines but not sure its right way to go.

  6. Doesn't any event attach to that will only run when Invoice.edit will be called in url or it will run by cron or other means too? 

    I have other idea in mind let me know if i am wrong. I should do a look up in invoice table for client and get there latest invoice and edit that but ( what if any thing like package got changed or do you think anything will effect that ).

×
×
  • Create New...