by Brainvire Infotech Pvt. Ltd

The solution for your Magento store. The new SuiteCRM Magento bridge lets you integrate and access all the major features of Magento allowing your accounting and sales teams to have a complete view of your customers and orders within Magento right from SuiteCRM.

Free 30 day trial
Try it Now

#4114 - Sync does not start

Closed Installation created by diligent technology & business consulting GmbH 2 years ago

Hi, we were posting already in another support ticket, but we thought its better to split topics to have a clean, understandable thread for each customer.

reference: https://store.suitecrm.com/support/magento-bridge/3947

our post:

Hi, we are testing your extension, and we can see the exact same issue. We verified that file ownerships/permissions are fine, we are sure that magento is responding (request from the log executed with postman, customer data is returned), and both syncs behave just like the author described it here. Can you post the usual workarounds?

thank you in advance, d. Issues: 1. "sync customers": endless loading page, no sync triggered 2. "sync products": error message after clicking the button

Since you asked how we retrieve the token: we did a curl request (https://our.magento.tld/index.php/rest/V1/integration/admin/token) that contains a data array with our username/password. the token is returned, and if I test that token with postman and a request like this one (taken from our suitecrm.log when clicking "sync customers"):

index.php/rest/V1/customers/search?searchCriteria[sortOrders][0][field]=email&searchCriteria[sortOrders][0][direction]=asc&searchCriteria[filterGroups][0][filters][0][field]=updated_at&searchCriteria[filterGroups][0][filters][0][value]=2021-02-07 16:36:00&searchCriteria[filterGroups][0][filters][0][condition_type]=gteq

we see a list of roughly 100 records. Still, the CRM doesn't refresh the page and we can see an endless loading page. the log itself is not updated during that time. even on the next day, not a single record has been added in Suite.

Secondly, the "sync product" button is also not working. When clicked, we immediately get

{"status":"error","response":"unauthorized access for magento"}

shown in the UI. the log does not contain anything.

Besides that (just as a side note, was also mentioned already, but is not a major issue): there is no label for the magento sync shown on the admin page, instead the placeholder is visible ("LBL_MAGENTO_SYNCUP")

  1. BrainvireInfotech member avatar

    Brainvire Infotech Pvt. Ltd Provider Affiliate

    2 years ago

    Hello,

    Both the sync will properly if CRM gets the authorized access for magento.

    I hope you have properly added OAuth for CRM and the detail settings for magento as below. Magento Sync up settings

  2. diligent member avatar

    Hi, yes, both magento plugins are installed (in Suite/in magento), the credentials are added just like you described. We actually also tested for field "Magento access token"

    Bearer <ourToken>
    

    like in your screenshot. First, we tested only with the token itself, but there is no difference. Same test result.

  3. BrainvireInfotech member avatar

    Brainvire Infotech Pvt. Ltd Provider Affiliate

    2 years ago

    Dear Diligent,

    If possible please share FTP and CRM details on skype or we need remote access to check the issue.

    Skype ID: [email protected]

  4. BrainvireInfotech member avatar

    Brainvire Infotech Pvt. Ltd Provider Affiliate

    2 years ago

    Hi,

    You had reached out to us earlier for assistance, but for some reason we weren't able to connect at that time.

    If you are still looking for assistance, please feel free to ping us on Skype: [email protected]

    We are closing this ticket for now, but we can reopen it later once we connect.

    Thanks, Team Brainvire.

This case is public. Please leave out any sensitive information such as URLs, passwords, etc.
Saving Comment Saving Comment...
  • "A complex plugin, so except some teething problems when ensuring a full integration to Magento 2. However saying this the support provided by Brainvir..." - CHRISSHELDON

    Read More Reviews