Hi,

When I use a REST API to create an order (with commerce_services module), and I go to the checkout page, I can't see my default billing profile. This is because the module use the global user id to assign a billing address and this value is 0 when I am creating an order with a remote API. We could also use the uid related to the current order, in my case it works fine :) , see the patch attached.

This issue is linked with : https://www.drupal.org/node/2070643

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mglaman’s picture

Version: 7.x-2.0-rc8 » 7.x-2.x-dev

+1 to this, will review. Some sites have a support checkout process where support users have their own account, but checkout for a customer.

mglaman’s picture

Status: Needs review » Closed (duplicate)

There was actually an issue in the queue with a patch which was older #2417055: When creating order for another user as administrator, a default profile from admin is used.