OroCRM Forums

Covering OroCRM topics, including community updates and company announcements.

Forums Forums OroCRM Can't sync magento customers

This topic contains 5 replies, has 2 voices, and was last updated by  Mike Kudelya 7 years, 5 months ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
    Topic
  • #30461

    gaggy
    Participant

    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 1.9.2.2 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
    Replies
  • #30462

    Mike Kudelya
    Participant

    Hi

    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?

    #30463

    gaggy
    Participant

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

    #30464

    Mike Kudelya
    Participant

    Hi

    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.

    #30465

    gaggy
    Participant

    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=”http://schemas.xmlsoap.org/soap/envelope/” xmlns:ns1=”urn:Magento” xmlns:xsd=”http://www.w3.org/2001/XMLSchema” xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xmlns:SOAP-ENC=”http://schemas.xmlsoap.org/soap/encoding/” SOAP-ENV:encodingStyle=”http://schemas.xmlsoap.org/soap/encoding/”><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=”http://schemas.xmlsoap.org/soap/envelope/”>
    <SOAP-ENV:Body>
    <SOAP-ENV:Fault>
    <faultcode>1</faultcode>
    <faultstring>Internal Error. Please see log for details.</faultstring>
    </SOAP-ENV:Fault>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>

    [code] 200

    #30466

    Mike Kudelya
    Participant

    Hi,

    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)

The forum ‘OroCRM’ is closed to new topics and replies.

Back to top