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: In Review
    • 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

        There are no comments yet on this issue.

          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