function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Ivan WinzerIvan Winzer 

Open Magento 2 session within salesforce contact record

So we recently upgraded from magento 1 to magento 2 platfom. Before this we had a button created in SF that when pushed would open a magento session within the salesforce contact window (like a iframe within SF). Below is the link being used to open the session in M1:

https://www.waltwines.com/index.php/admin_HALLWINES_aHv0g/wineforce/view/model/customer/sfid/{!Contact.Case_Safe_ID__c}

This link would open the session for the contact in record in M1. Now that we are in the Magento 2 platform the URL has changed and not sure how to push the lookup the SF ID that is stored in Magento 2 to open the contact record:

https://www.waltwines.com/admin_HALLWINES_aHv0g/customer/index/index/key/contact_sf_id/{!Contact.Case_Safe_ID__c}

There are new proticals for pushing and sending data between the 2 systems but we figured that the link would still work with just some small modifications. But now even if i use the old link we either get a 403 forbidden page or a cant display depending on browser.

Not sure if anyone else has done this before with magento or with another platform and has any idea on how i can get this back working would be great. This was a huge help for our business and it being broken has doubled our times in working with customers records. Any thoughts, ideas or help is greatly appreciated.

Oh and side note we have one person when they select the button can get to the page still trying to figure that out. Does not open the customer record like before but does open a magento session. This is the url they have once they login:

https://na87.salesforce.com/servlet/servlet.Integration?scontrolCaching=1&lid=00b400000018RIt&eid=0034000001XN8nc&ic=1&linkToken=VmpFPSxNakF4T0MweE1pMHdNbFF4T0RvMU9Ub3lNeTQyTnpaYSxVUTVyTU16YnRrc1dyMnhfNF9lYmY5LFlXWmtNR0po


Ivan