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

Paypal Payments Standard: Paypal Checkout transactions may be recorded in duplicate

    Details

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

      Description

      To reproduce:

      1. Install both Paypal Payments Standard and Paypal Checkout
      2. Set up IPN in Paypal
      3. Make a payment with Paypal Checkout
      4. See that two payments are recorded

      To resolve (not tested):
      components/gateways/nonmerchant/paypal_payments_standard.php around line 424 add

              Loader::loadComponents($this, ['Record']);
              if (($transaction = $this->Record->query(
                      "select * from transactions where reference_id = ? AND `status` = 'approved'",
                      [$post['txn_id'] ?? null]
                  )->fetch()
              )) {
                  return;
              }
      

        Activity

        jonathan Jonathan Reissmueller created issue -
        jonathan Jonathan Reissmueller made changes -
        Field Original Value New Value
        Sprint 5.12.0 Sprint 2 [ 209 ]
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked higher
        abdy Abdy Franco made changes -
        Remaining Estimate 0 minutes [ 0 ]
        Time Spent 1 hour, 40 minutes [ 6000 ]
        Worklog Id 17633 [ 17633 ]
        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 -
        Status In Progress [ 3 ] In Review [ 5 ]
        Resolution Fixed [ 1 ]
        jonathan Jonathan Reissmueller made changes -
        Status In Review [ 5 ] Closed [ 6 ]

          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:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 1 hour, 40 minutes
              1h 40m

                Agile