Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-4771

Payment Reminder invoice fail messenger delivery

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.6.0-b1
    • Component/s: None
    • Labels:
      None

      Description

      To reproduce:

      1. Configure the messenger payment notice
      2. Enable error reporting
      3. Create 2 clients with different phone numbers
      4. Create an invoice the is due for a payment reminder
      5. Run the cron
      6. See a fatal error

      In core/Automation/Tasks/Task/PaymentReminders.php around line 438 change:

              $this->MessengerManager->send($options['email_template'], $tags, [$invoice->client->user_id]);
      

      To

              $this->MessengerManager->send($options['email_template'], $tags, [$client->user_id]);
      

        Activity

        jonathan Jonathan Reissmueller created issue -
        jonathan Jonathan Reissmueller made changes -
        Field Original Value New Value
        Rank Ranked higher
        jonathan Jonathan Reissmueller made changes -
        Sprint 5.6.0 Sprint 4 [ 168 ]
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked higher
        jonathan Jonathan Reissmueller made changes -
        Assignee Jonathan Reissmueller [ jonathan ]
        abdy Abdy Franco made changes -
        Assignee Abdy Franco [ abdy ]
        abdy Abdy Franco made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        abdy Abdy Franco made changes -
        Remaining Estimate 0 minutes [ 0 ]
        Time Spent 42 minutes [ 2520 ]
        Worklog Id 16011 [ 16011 ]
        abdy Abdy Franco made changes -
        Status In Progress [ 3 ] In Review [ 5 ]
        Resolution Fixed [ 1 ]
        jonathan Jonathan Reissmueller made changes -
        Status In Review [ 5 ] Closed [ 6 ]
        Hide
        jonathan Jonathan Reissmueller added a comment -

        This bug may cause all invoice delivery messages to be sent to a single user.

        Show
        jonathan Jonathan Reissmueller added a comment - This bug may cause all invoice delivery messages to be sent to a single user.

          People

          • Assignee:
            abdy Abdy Franco
            Reporter:
            jonathan Jonathan Reissmueller
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              15/Nov/22

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 42 minutes
              42m

                Agile