Skip to content

Commit

Permalink
feat(instrument): INT-1780 Map customer id in offsite payment
Browse files Browse the repository at this point in the history
  • Loading branch information
FranciscoOnt committed Dec 5, 2019
1 parent aa7176f commit 83b98b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/payment/offsite-payment-mappers/customer-mapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export default class CustomerMapper {
customer_email: customer.email,
customer_first_name: customer.firstName,
customer_geo_ip_country_code: quoteMeta.request ? quoteMeta.request.geoCountryCode : null,
customer_id: customer.customerId,
customer_last_name: customer.lastName,
customer_locale: store.storeLanguage,
customer_name: customer.name,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ describe('CustomerMapper', () => {
customer_email: data.customer.email,
customer_first_name: data.customer.firstName,
customer_geo_ip_country_code: data.quoteMeta.request.geoCountryCode,
customer_id: data.customer.customerId,
customer_last_name: data.customer.lastName,
customer_locale: data.store.storeLanguage,
customer_name: data.customer.name,
Expand Down

0 comments on commit 83b98b8

Please sign in to comment.