Problem/Motivation

See https://www.drupal.org/node/2816059

Similar to what was required in 1.x, 2.x CartProvider needs to track not only session orders but completed carts.

Proposed resolution

Basically we just have "commerce_cart_orders" but we also need now need "commerce_cart_completed_orders"; CartProvider needs to be patched to respect these two. and finalizeCart needs to move it from commerce_cart_orders to commerce_cart_completed_orders.

Comments

steveoliver created an issue. See original summary.

mglaman’s picture

steveoliver’s picture

Status: Active » Closed (duplicate)
Parent issue: #2816059: Previous carts persist after guest checkout »

Gonna mark this as a duplicate of #2816059: Previous carts persist after guest checkout since that issue contains the solution to this and includes other related fixes related to guest checkout / completed orders.