Activity Forums Salesforce® Discussions How to integrate Salesforce with Magento?

  • Manpreet

    Member
    January 31, 2018 at 10:31 am

    Hi santosh,
    In order to integrate salesforce with magento the steps are as follows :

    get the client--> get the seesion ID-- > and do the callouts:

    Code:

    $proxy = new SoapClient('http://magentohost/api/v2_soap/?wsdl');
    // TODO : change url $sessionId = $proxy->login('apiUser', 'apiKey');
    // TODO : change login and pwd if necessary $result = $proxy->salesOrderShipmentCreate($sessionId, '200000006', array('8', '1'), 'shipment comment'); var_dump($result);

    Apex Code:
    HttpRequest req = new HttpRequest();
    req.setEndpoint('callout:Magento_Admin');
    req.setMethod('GET');
    Http http = new Http();
    HTTPResponse res = http.send(req);
    System.debug('Response ===' +res.getBody());
    System.debug('Response ===' +res.getstatusCode());

    This will give you a basic Idea on how to proceed.
    Thanks.

  • Cloud Data

    Member
    April 30, 2019 at 2:57 pm

    Hi Santesh,

    Cloud Data Exchange is an integration tool that lets you connect Salesforce to Magento and automates the transfer of data between the two systems.

    Visit the site to find out more: https://www.clouddataexchange.com/integration/crm-system-integration/salesforce-integration/

    Hope this helps.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos