Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit 3687445

Browse files
authored
Merge pull request #5628 from atwixfirster/declare-payment-method-in-layout
magento/devdocs#: Add a custom payment method to checkout. Fix Step 4
2 parents 3a08d66 + 1022541 commit 3687445

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

guides/v2.2/howdoi/checkout/checkout_payment.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -279,19 +279,20 @@ In your custom module directory, create a new `<your_module_dir>/view/frontend/l
279279
</item>
280280
</item>
281281
</item>
282-
<!-- Declare the payment method (the component that registrates in the list). END -->
283-
<!-- Declare additional after payment components. START -->
284-
<item name="afterMethods" xsi:type="array">
285-
<item name="component" xsi:type="string">uiComponent</item>
286-
<item name="displayArea" xsi:type="string">afterMethods</item>
287-
<item name="children" xsi:type="array">
288-
<item name="%your_feature_name%" xsi:type="array">
289-
<item name="component" xsi:type="string">%path/to/your/feature_js_component%</item>
290-
</item>
282+
</item>
283+
<!-- Declare the payment method (the component that registrates in the list). END -->
284+
285+
<!-- Declare additional after payment components. START -->
286+
<item name="afterMethods" xsi:type="array">
287+
<item name="component" xsi:type="string">uiComponent</item>
288+
<item name="displayArea" xsi:type="string">afterMethods</item>
289+
<item name="children" xsi:type="array">
290+
<item name="%your_feature_name%" xsi:type="array">
291+
<item name="component" xsi:type="string">%path/to/your/feature_js_component%</item>
291292
</item>
292293
</item>
293-
<!-- Declare additional after payment components. END -->
294294
</item>
295+
<!-- Declare additional after payment components. END -->
295296
</item>
296297
</item>
297298
</item>

0 commit comments

Comments
 (0)