Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-48855

In the shopping cart portlet, user's are able to submit duplicate orders by hitting the back button

Details

    Description

      Once an order has been completed, the user can press back on the browser and submit again. Each time this occurs, the user is sent a unique order number and confirmation email.

      Steps to reproduce
      1. Go to Shopping Cart Portlet and add items to the catalog.
      2. Add any item to the cart and checkout.
      3. Fill in billing/shipping info and click Continue. You can use this test Credit Card number 4222222222222
      4. Click Finished to submit the order.
      5. Press back on the browser and click Finished again.
      You'll see that a new OrderID has been generated, and that Liferay has tried to send out a new confirmation email each time.

      Testing
      Reproducible in:
      6.1.x 67eb3f7f6b55c1a6f995858cabe43c08a48fef76
      Master 4057c0bbd31f122bd1a4ed6076a2882f5edc4e2c

      Attachments

        Issue Links

          Activity

            People

              shitian.zhang Shitian "Shelton" Zhang (Inactive)
              andrew.betts Andrew Betts (Inactive)
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                6 years, 39 weeks, 1 day ago

                Packages

                  Version Package
                  6.2.X EE
                  7.0.0 M1