• #20220
    Salesforce | Santosh Santosh #370
    Forcetalks

    How to integrate Salesforce with Magento?

    I am new salesforce. Can anyone help me how to integrate salesforce with magento? I need sample coding. I have setup magento as well as I have sandbox account in Salesforce.

     

    #24787
    Salesforce | Manpreet Manpreet #958
    Forcetalks

    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.

    #59360
    Salesforce | Cloud Data Cloud Data #851
    Forcetalks

    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.

Viewing 3 posts - 1 through 3 (of 3 total)

Please to reply to this topic.

CONTACT US

We're not around right now. But you can send us an email and we'll get back to you, asap.

Sending

About Us

Forcetalks is a Salesforce collaboration platform for coders & developers, geeks & nerds, consultants & business heads, admins & architects, managers & marketers and of course the business owners. A community where you can learn from, where you can contribute to. For you. For Salesforce. Read More...

Copyright 2020 Forcetalks. All Right Reserved.

Log in with your credentials

or    

Forgot your details?