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

Order: Ajax form fatal error on fraud check order rejection

    Details

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

      Description

      When clients fail fraud check to the extent that the order is rejected, they are redirected to the cart page. See checkout.php lines 80-90. This problem is that cart.pdt does not exist for the ajax form template. This causes a fatal error on redirect.

      As a short term fix we can redirect users to the main/index page rather than cart.index when they are using an ajax form. This has some issue in that the user must re-select their product and they will now see their old cart as well as the product they just re-selected.

      In the long term maybe we should consider adding a cart step/template to the ajax order form.

        Issue Links

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                24/Sep/19

                Time Tracking

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

                  Agile