Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment | File | Size | Author |
---|---|---|---|
commerce_addressbook-use-order-uid.patch | 1.15 KB | Marvine |
Comments
Comment #1
mglaman+1 to this, will review. Some sites have a support checkout process where support users have their own account, but checkout for a customer.
Comment #2
mglamanThere 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.