HotcakesCommerce / hotcakes-commerce-core

The core of the e-commerce part of the overall solution. This is an ecommerce shopping cart solution built on top of the DNN (DotNetNuke) CMS. Anyone can do commerce online now!
https://mmmcommerce.com
MIT License
68 stars 55 forks source link

Cart Parameter: RedirectToCheckout parameter doesn't redirect properly #350

Closed joshgk00 closed 3 years ago

joshgk00 commented 3 years ago

Describe the bug

According to the docs, using a querystring parameter &RedirectToCheckout=true inconjunction with the AddSku and AddSkuQty parameters should add the product to cart and redirect the user directly to the checkout without the need to go to the Cart page first. Use the above mentioned parameters, the redirect to the checkoutpage isn't happening.

Software Versions

To Reproduce

Steps to reproduce the behavior:

  1. Install Hotcakes
  2. Add the Sample Products to the store
  3. Use a url like /Cart?AddSku=SAMPLE001&AddSkuQty=1&RedirectToCheckout=True
  4. Items is added to Cart, and the Shopping Cart page is displayed

Expected behavior

The items should be added to the cart and the user should be taken to the Checkout page

Actual behavior

The items is added to the cart and the Shopping Cart page is displayed

joshgk00 commented 3 years ago

@hismightiness I will submit a new PR for this. The previous one was complete.