commerce icon indicating copy to clipboard operation
commerce copied to clipboard

Issue #2842827: Offsite payment return fails on orders created from admin UI

Open maciejzgadzaj opened this issue 8 years ago • 0 comments

Orders created from admin UI have $order->checkout_flow = NULL. This causes a fatal error when trying to add a new offsite payment for them in OffsitePaymentController::returnCheckoutPage() when trying to load the $checkout_flow_plugin. Same thing applies to OffsitePaymentController::cancelCheckoutPage().

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

maciejzgadzaj avatar Jan 11 '17 23:01 maciejzgadzaj