Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ACSYNCSTATUS not synced #54

Open
premkumarbsetec opened this issue Feb 21, 2023 · 0 comments
Open

ACSYNCSTATUS not synced #54

premkumarbsetec opened this issue Feb 21, 2023 · 0 comments

Comments

@premkumarbsetec
Copy link

magento v 2.3
active campaign v 2.0.1
customer synchronization after cannot be updated customer_grid_flat table customer ac_sync_status

not working (vendor/activecampaign/module-integration/customer/model/customer.php)
public function saveResult($customerId, $syncStatus, $contactId, $ecomCustomerId)
{
$customerModel = $this->customerFactory->create();
if ($customerId) {
$this->customerResource->load($customerModel, $customerId);
}

    $customerModel->setAcSyncStatus($syncStatus);
    if ($contactId) {
        $customerModel->setAcContactId($contactId);
    }
    if ($ecomCustomerId) {
        $customerModel->setAcCustomerId($ecomCustomerId);
    }

    $this->customerResource->save($customerModel);
    }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant