You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 19, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: guides/v2.1/payments-integrations/vault/vault-di.md
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -89,7 +89,7 @@ The following sample from Braintree configuration illustrates how to add the `au
89
89
90
90
## Add command manager
91
91
92
-
You also need to add a command manager for vault, and add it to the command manager pool. This pool is available for vault instance and enables performing payment provider actions.
92
+
You also need to create a command manager for vault. It is configured with the payment integration command pool and allows performing payment commands in any place of code.
93
93
94
94
Example of adding a command manager for Braintree vault:
95
95
@@ -102,6 +102,8 @@ Example of adding a command manager for Braintree vault:
102
102
{% endhighlight %}
103
103
104
104
105
+
Command manager must be added to the command manager pool. This pool is available for vault instance and enables performing payment provider actions.
106
+
105
107
There are two ways to add command manager to the pool:
106
108
107
109
* Add to default `CommandManagerPool` implementation. Example:
@@ -136,3 +138,5 @@ There are two ways to add command manager to the pool:
136
138
{% endhighlight %}
137
139
138
140
In the first case, this pool can be used in any module to perform vault payment commands. In the second case, only specific vault payment integration can use this pool.
141
+
142
+
You can use the samples as templates for your command manager configuration.You only need to change the Braintree-related names to your custom ones.
0 commit comments