Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

...

  1. Change Integration Mode to "Magento Salesforce (only)" or "Bi-directional".
  2. Enter your API Username and API Password (your Username and Password for Salesforce account).
  3. Enter your Security Token (In some cases token is not required, please check with your Salesforce Administrator for more information). To reset your Security Token use the following instruction: https://help.salesforce.com/articleView?id=user_security_token.htm&type=5
  4. Enter the path to your WSDL file, but we are hoping you've already saved the file. Related article: Magento 2 & Salesforce: Installation Instructions
  5. Verify your connection configuration by clicking the "Test Connection & Apply Changes" button.
  6. If the connection was successful, click Save Config at the top right of the page.

...

Expand Advanced section and select synchronization mode from Message Queue drop-down list

  • Standard - Message Queue work with CRON
  • RabbitMQ - send Message Queue via RabbitMQ

...

Expand the Advanced (section) section. 

Set "Developer Mode" to "Yes"

Note

Enable this feature only if your Salesforce organization leverages State and Country picklists for addresses. 

...

  • Enable Log - allows Powersync integration to log all its transactions to the server.
  • Database Logging - allows PowerSync integration to store partial transaction data and allows you to access that data via Magneto Admin panel
  • Database Log Limit - The maximum number of records to be stored in the database.
Warning

Do NOT enable Database Logging if your store is heavily loaded 


STEP 6: Customers Configuration

...

ItemDescription
Create Order

Specifies when the PowerSync integration should create a Salesforce order:

  • For paid order: Creates a Salesforce order only when the Magento order is Paid.
  • For every order: Creates a Salesforce order for every Magento order.
Create Opportunity

Specifies when the PowerSync integration should create a Salesforce Opportunity to capture potential sales in Magento:

  • For every order: When a customer clicks Proceed to Checkout, a Salesforce Opportunity is created. A Salesforce Order is created when an order in Magento is Paid.
  • No - A Salesforce Order is created only when a Magento order is Paid.

Examples:

  • Create Opportunity set to No, Create Order set to For every paid order. No opportunity is created but when the order is paid, Powersync creates an  order in Salesforce.
  • Create Order set to For paid order, Create Opportunity set to For every order. The Salesforce opportunity is created when the customer places the order. When the order is placed, the opportunity status is updated. When the order is paid, the opportunity status is changed to Closed Won. Powersync creates the order in Salesforce and links the order to the opportunity to show where the order originated from. 

Enable Contact Roles

  • Set to Yes to cause the Powersync integration to assign a Salesforce Contact to the Opportunity (linking the customer and a potential order).
  • Set to No to prevent the Powersync integration from assigning a contact.
Opportunity Customer RoleChoose the Magento customer role for the created Salesforce Opportunity. Decision Maker is the typical role for e-commerce use cases.
Abandoned Cart StatusOpportunity Stage Name when checkout process begins 
Default Opportunity Draft StatusOrder's Opportunities will be placed in this Draft status when Magento needs to make updates
Sales Cycle Length

Enter the number of days for the Salesforce Opportunity close date.

Convert Opportunity

  • Set to Yes - Update Opportunity Stage name if the order is paid in Magento and set the Stage name to match the value set in Converted Opportunity Status.
  • Set to No - Keep Opportunity Stage name as defined on Opportunity Status mapping page
Converted Opportunity StatusOpportunity status used to identify a Closed Won Opportunity.

Use Invoice date as close date

  • Set to Yes to allow Powersync to update the Close Date on the Opportunity when the order is paid to make sure the Close Date matches the date on the invoice.
  • Set to No to cause Powersync to update the Close Date when the order is placed.

...