Skip to content

Commit 237968b

Browse files
committedAug 2, 2017
Merge branch 'pw-v2.1master' into v2.1-master
2 parents 4a46ced + 44b6100 commit 237968b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
 

‎src/etc/frontend/di.xml

+8
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<arguments>
55
<argument name="configProviders" xsi:type="array">
66
<item name="paymentwall_gateway_config_provider" xsi:type="object">Paymentwall\Paymentwall\Model\Ui\ConfigProvider</item>
7+
<item name="paymentwall_brick_config_provider" xsi:type="object">Paymentwall\Paymentwall\Model\Ui\BrickConfigProvider</item>
78
</argument>
89
</arguments>
910
</type>
@@ -14,4 +15,11 @@
1415
</argument>
1516
</arguments>
1617
</type>
18+
<virtualType name="Brick" type="Magento\Payment\Model\CcGenericConfigProvider">
19+
<arguments>
20+
<argument name="methodCodes" xsi:type="array">
21+
<item name="paymentwall_brick" xsi:type="const">Paymentwall\Paymentwall\Model\Brick::CODE</item>
22+
</argument>
23+
</arguments>
24+
</virtualType>
1725
</config>

0 commit comments

Comments
 (0)
Please sign in to comment.