Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Commit

Permalink
fix: send lms, not ecommerce user id on fulfill to coordinator
Browse files Browse the repository at this point in the history
  • Loading branch information
pshiu committed Apr 19, 2023
1 parent c38b94a commit 9aaa07e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ecommerce/extensions/checkout/mixins.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def create_commerce_coordinator_order(self, basket, line):
api_client = site_config.oauth_api_client
api_url = site_config.build_commerce_coordinator_url('/ecommerce/order/')
query_params = {
'edx_lms_user_id': basket.owner.id,
'edx_lms_user_id': basket.owner.lms_user_id,
'email': basket.owner.email,
'product_sku': line.product.stockrecords.first().partner_sku,
'coupon_code': list(basket.vouchers.values_list('code', flat=True)),
Expand Down

0 comments on commit 9aaa07e

Please sign in to comment.