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

          jonathan Jonathan Reissmueller created issue -
          jonathan Jonathan Reissmueller made changes -
          Field Original Value New Value
          Rank Ranked higher
          jonathan Jonathan Reissmueller made changes -
          Sprint 4.8.0 Sprint 1 [ 92 ]
          jonathan Jonathan Reissmueller made changes -
          Rank Ranked higher
          Automated transition triggered when Jonathan Reissmueller created a branch in Stash -
          Status Open [ 1 ] In Progress [ 3 ]
          Automated transition triggered when Jonathan Reissmueller created pull request #102 in Stash -
          Status In Progress [ 3 ] In Review [ 5 ]
          Resolution Fixed [ 1 ]
          jonathan Jonathan Reissmueller made changes -
          Remaining Estimate 0 minutes [ 0 ]
          Time Spent 15 minutes [ 900 ]
          Worklog Id 12630 [ 12630 ]
          Automated transition triggered when Tyson Phillips (Inactive) merged pull request #102 in Stash -
          Status In Review [ 5 ] Closed [ 6 ]
          jonathan Jonathan Reissmueller made changes -
          Link This issue Testing discovered CORE-3286 [ CORE-3286 ]

            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