Forums OroCRM Can't sync magento customers

This topic contains 5 replies, has 2 voices, and was last updated by  Mike Kudelya 1 year, 3 months ago.

  • Creator
  • #27365


    Hi I have used latest version of orocrm.
    Created channel and installed oro bridge extension in magento and done all needed configurations both side.

    Commands I have used for sync is php {path to app}/oro:cron:integration:sync –integration-id=1 -v -f
    This command runs 5 connectors website_dictionary, regions_dictionary, customer, cart, order.

    I can get all regions from magento, but for customers it shows :-

    Scheduling initial synchronization
    Start processing “customer” connector
    Looking for batch
    found 0 entities
    Stats: read [0], processed [0], updated [0], added [0], deleted [0], invalid entities: [0]

    And same for cart and orders.
    I am using magento version, oro-bridge version is latest and orocrm installed is latest.

    Can someone help me in this.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Author
  • #27366

    Mike Kudelya


    When you are creating channel do you select all these entities in Entities section?
    Do you set date in “Sync start date” less than updated date of your entities?



    Yes I have selected following entities – Magento Customer, Magento Shopping Cart, Magento Order, Magento Newsletter Subscriber.


    Mike Kudelya


    When you created channel with our magento site, please add to cron “*/1 * * * * /usr/local/bin/php /path/to/app/console –env=prod oro:cron >> /dev/null”, after that begins starting synchronisation.



    Thanks for above solution. It got customers from one channel(which was my testing magento). But in other channel where all my customers are there, I have received following status in failed Initial Customer Connector :-

    Failed Initial Customer connector
    [message] Internal Error. Please see log for details.
    [request] <?xml version=”1.0″ encoding=”UTF-8″?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV=”” xmlns:ns1=”urn:Magento” xmlns:xsd=”” xmlns:xsi=”” xmlns:SOAP-ENC=”” SOAP-ENV:encodingStyle=””><SOAP-ENV:Body><ns1:oroCustomerList><sessionId xsi:type=”xsd:string”>20136153b0da6237eee2baa2404ca607</sessionId><filters xsi:type=”ns1:filters”><complex_filter SOAP-ENC:arrayType=”ns1:complexFilter[2]” xsi:type=”ns1:complexFilterArray”><item xsi:type=”ns1:complexFilter”><key xsi:type=”xsd:string”>created_at</key><value xsi:type=”ns1:associativeEntity”><key xsi:type=”xsd:string”>from</key><value xsi:type=”xsd:string”>2016-09-24 00:00:00</value></value></item><item xsi:type=”ns1:complexFilter”><key xsi:type=”xsd:string”>created_at</key><value xsi:type=”ns1:associativeEntity”><key xsi:type=”xsd:string”>to</key><value xsi:type=”xsd:string”>2016-09-24 08:24:22</value></value></item></complex_filter></filters><pager xsi:type=”ns1:pager”><page xsi:type=”xsd:string”>1</page><pageSize xsi:type=”xsd:string”>100</pageSize></pager></ns1:oroCustomerList></SOAP-ENV:Body></SOAP-ENV:Envelope>

    [response] <?xml version=”1.0″ encoding=”UTF-8″?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV=””>
    <faultstring>Internal Error. Please see log for details.</faultstring>

    [code] 200


    Mike Kudelya


    Your xml tells you:

    Internal Error. Please see log for details

    Please give me errors from log if they exist.

Viewing 5 replies - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.