--- title: "How should an integration between RetailVista and Magento2 be set up?" slug: "how-should-an-integration-between-retailvista-and-magento2-be-set-up" description: "How should an integration between RetailVista and Magento2 be set up?" tags: ["QA854"] updated: 2024-07-03T11:05:56Z published: 2024-07-03T11:05:56Z canonical: "docs.retailvista.net/how-should-an-integration-between-retailvista-and-magento2-be-set-up" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.retailvista.net/llms.txt > Use this file to discover all available pages before exploring further. # How should an integration between RetailVista and Magento2 be set up?
' can be used to specify a value that will be automatically removed if a payment type code starts with it.
**Example:**
PaymentTypeCodeRemoveLeader=buckaroo_magento2_
Now, if a payment type 'buckaroo_magento2_ideal' is received, the final payment type code will be 'ideal' due to this setting. This code will ultimately be written in the RetailVista order message, and during processing, a deposit type with the code 'Ideal' will be searched for. Therefore, it is important to activate this setting before receiving an order message, as it determines the content of the message! If this setting is added afterwards, manually modify the content of the message if necessary.
## Deposits
It is possible on webshops to choose payment for an order by bank transfer. Magento also makes such a payment, with the risk that RetailVista sees it as a normal deposit. By using the setting 'PaymentCodeToPrepaymentRequest=', this type of payment can be automatically converted into a deposit request during order processing.
## Example:
PaymentCodeToPrepaymentRequest=banktransfer
This ensures that if a payment of type 'banktransfer' is found, the amount will be converted into a deposit request. The financial administration will have to use the received payments to offset against the outstanding deposit request.
## Transport
Magento does not mention a chosen delivery/shipping method in the order. By using the advanced setting 'TransportTypeCode=', a fixed transport type can be specified. All incoming orders will be assigned the specified transport type.
**Example:**
TransportTypeCode=Pakketpost
## Products
The Magento2 integration also synchronizes product information. The synchronization updates the stock and price of products that exist in Magento2. This is done using the products marked as a webshop in RetailVista. For these products, the available stock and selling price are taken over during a mutation. If a product is removed from the webshop in RetailVista, the synchronization adjusts the visibility so that the product is no longer visible in Magento. The product synchronization with Magento2 is based on the standard barcode of the product. If the product cannot be found in Magento2 with that barcode, the product is ignored.
It is possible to cautiously start an initial synchronization with an existing Magento2 webshop.This is possible by using the advanced setting 'SyncProductNumber='. If that setting is active, only that product will be synchronized. If it turns out that the stock and price of that product are correctly transferred, then it is time to remove that setting and resend all product mutations since a specified date and time.