<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Store:etc/config.xsd">
    <default>
        <facebook>
            <orders_sync>
                <!-- No longer has a UI toggle. To update post-install,
                 run the following sql command and then refresh cache using `bin/magento cache:clean`
                 `update core_config_data set value=1 where path like 'facebook/orders_sync/active';`
                 -->
                <active>1</active>
                <default_order_status>processing</default_order_status>
                <auto_subscribe_to_newsletter>1</auto_subscribe_to_newsletter>
                <default_fulfillment_location>1</default_fulfillment_location>
            </orders_sync>
        </facebook>
        <payment>
            <facebook>
                <active>1</active>
                <model>Meta\Sales\Model\PaymentMethod</model>
                <order_status>processing</order_status>
                <title>Paid on Facebook/Instagram</title>
                <allowspecific>0</allowspecific>
                <email_customer>0</email_customer>
                <payment_action>authorize_capture</payment_action>
            </facebook>
        </payment>
    </default>
</config>
