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

CI: PayPal Express Checkout Page Load Issues #368

Closed erw13n closed 2 years ago

erw13n commented 3 years ago

Describe the bug

There's seem a bug on "Paypal Express Checkout" page, when do "Paypal Checkout", after payment, clicking on Continue Shopping will redirect to Cart page, and the previous order is displayed. While clicking "Place Order" first time will process the order, but it stay on the same page, and when clicking "Place Order" the second time, it throw error. If do "Secure Checkout", after payment and redirect to "Paypal Express Checkout" clicking "Place Order" will throw an error.

Software Versions

To Reproduce

Steps to reproduce the behavior:

  1. View Shopping Cart
  2. Checkout using "Paypal Checkout"
  3. After payment, it will redirect to PayPal Express Checkout
  4. Clicking "Place Order" will process the order, but it still open the same page
  5. Clicking "Place Order" once again, will throw an error.

Case 2:

  1. View Shopping Cart
  2. Checkout using "Paypal Checkout"
  3. After payment, it will redirect to PayPal Express Checkout
  4. Clicking on "Continue Shopping" will redirect to "Cart" page that still show previous Order.

Case 3:

  1. View Shopping Cart
  2. Checkout using "Secure Checkout",
  3. Choose "Paypal Express" as payment, and click "Place Order"
  4. Process with Payment
  5. Redirect to Paypal Express Checkout
  6. When clicking on "Place Order" it will throw an error

Expected behavior

When clicking "Place Order" and Process with Payment, it should display confirmation/thank you page

Error log

Error: is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at Hotcakes.Modules.Checkout.ThirdPartyPaymentView.RenderView()

erw13n commented 3 years ago

as reported at hotcakes forum