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

Pass GET parameters from gateway callback to client/pay/received page

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.5.2
    • Fix Version/s: 3.6.0-b1
    • Component/s: Gateways
    • Labels:
      None

      Description

      Some gateways do not differentiate between a callback URL and a notification URL, in which case the callback URL should be used for both the notification and redirecting the client back to Blesta.

      After the client is redirected to the callback URL, they are redirected again to the client/pay/received page. However, the original GET parameters included in the callback are not included in the subsequent redirect to client/pay/received. It may be necessary to include those GET parameters, such as the client ID, as it may be useful in GatewayPayments::processReceived and gateway method calls. Similarly, the POST parameters may be necessary as well.

      See http://www.blesta.com/forums/index.php?/topic/4339-payment-gateway-redirect-problem/?p=37256

      It may be best to have the callback redirect a customer to the given return_url instead of assuming that is always the client/pay/received page.

        Issue Links

          Activity

          Hide
          tyson Tyson Phillips (Inactive) added a comment -

          Need to test

          Show
          tyson Tyson Phillips (Inactive) added a comment - Need to test

            People

            • Assignee:
              tyson Tyson Phillips (Inactive)
              Reporter:
              tyson Tyson Phillips (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                28/Sep/15

                Agile