SalesforceCommerceCloud / b2c-crm-sync

... a contemporary perspective on how to integrate B2C Commerce and the Salesforce Customer 360 Platform to power frictionless customer experiences in the B2C domain.
https://salesforcecommercecloud.github.io/b2c-crm-sync/
BSD 3-Clause "New" or "Revised" License
65 stars 46 forks source link

[BUG] ...b2c cym sync #204

Closed vsrvanukuru closed 1 year ago

vsrvanukuru commented 1 year ago

We are implemented OOTB b2ccym capabilities between SFCC and SFDC. We have identified a scenario that is causing an issue and we need to some guidance on a few things. When a user creates a new billing address using a different first/last name, b2c is invoking a NEW contact to be created instead of just updating the users billing address.

1) Is this expected behavior with b2c ootb? 2) Assuming it's not, is this a bug that require a patch? 3) Assuming its not a buig, can you help us identify where we would look to address this issue? Is this an issue on the SFCC side or SFDC side? We are just using the ootb b2c cartridge so we don't even know where to start looking since b2c operates in both sfcc and sfdc.

Additional context Add any other context about the problem here.

jbachelet commented 1 year ago

Hello,

Thank you for opening an issue here.

The standard way of working of b2c-crm-sync is to only perform sync of profiles on profile creation or update. Any change related to the customer's address (shipping/billing) from B2C does not trigger any API call between B2C and SFDC.

That being said, I cannot provide much details for you, as it seems you extended the b2c-crm-sync implementation to also sync on address changes.