Developer forum

Forum » Ecommerce - Standard features » After upgrading to DW 9.19.3 from 8.9.2.23 checkout steps are not working

After upgrading to DW 9.19.3 from 8.9.2.23 checkout steps are not working

Kevin O'Driscoll
Reply

We have made the subject upgrade and find the last check out step fails to arrive (a Reciept template) the page just refreshes.
In the database we see the CART being persited as a cart and any changes made were updated.
Its just not changing into an order.

We have some NotificationSubscribers set up
[Subscribe(Ecommerce.Order.BeforeSave)] we see the persisted CART
[Subscribe(Ecommerce.Cart.OrderValuesSaved)] we see the CART values updated
[Subscribe(Ecommerce.Cart.CheckoutDoneOrderIsComplete)] is never called

We are using the same templates and setup as the prevoius version but with updated API for v9.19
Any settings we must check? Are we still doing it correctly?

Regds
Kevin


Replies

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

You could start by looking at if you have a configured checkouthandler (payment). If you do not do payments, use the "Default checkouthandler" that basically does nothing - and ensure you set that as default payment method for all countries.

On the cart app, you have a list of steps - ensure that the second last step is "Checkout step" - that step handles the conversion from cart to order using the default checkouthandler.

Also on the order/cart you see in the backend you should be able to see a log (from the ribbon on the top) - it could contain some information on why the order never reaches that last step.

BR Nicolai

 
Kevin O'Driscoll
Reply

Thanks for your help Nicolai, The cart is used to order free samples so there are no charges or payment for products or shipping.
In the backend the log did not help with identifying any errors of obvious problems (see screenshot 1)
Screenshot 2 is the setup of the cart steps, all standard.
Screenshot 3 is the payment handler there is no option to select the "Default checkouthandler". If I select "Checkout Handler (Shopping Cart v2)"
there is no option to select so I guess selecting "None" would select the "Default checkouthandler". If not can you tell me how to do this?

Best Regards
Kevin

Order_Log.JPG Order_Steps.JPG Settings.jpg
 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

The setup looks ok.

Next look at what is being posted from the final step before checkout - in your setup it is called "Information". When you click the submit button a post happens - what is the payload in that post - take a look at the developer tools and see what is being posted and drop that here for us to look at.

BR Nicolai

 
Kevin O'Driscoll
Reply

Here is the payload attached. 

Submit_Payload.JPG
 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

Your post shows it goes to step 2. Your checkout is step 3. So that is worth checking.

 
Kevin O'Driscoll
Reply

Yes I thought that too but it transpires that in DW 8.9.2.23 the Internationalization > Countries > [Country code] > Default methods dont need to be selected

But in 9.19.3 they do (see screenshot)

So now we have a fully functioning cart

Thanks for your help and patience Nicolai

 

The_Answer.JPG

 

You must be logged in to post in the forum