Skip to content

Commit 065c780

Browse files
author
Prabhu Ram
committed
Added store config for payflowpro vault
1 parent d723f24 commit 065c780

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

app/code/Magento/PaypalGraphQl/etc/graphql/di.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,12 @@
5454
</argument>
5555
</arguments>
5656
</type>
57+
58+
<type name="Magento\StoreGraphQl\Model\Resolver\Store\StoreConfigDataProvider">
59+
<arguments>
60+
<argument name="extendedConfigData" xsi:type="array">
61+
<item name="payflowpro_vault_enabled" xsi:type="string">payment/payflowpro_cc_vault/active</item>
62+
</argument>
63+
</arguments>
64+
</type>
5765
</config>

app/code/Magento/PaypalGraphQl/etc/schema.graphqls

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,3 +142,7 @@ input PayflowProResponseInput @doc(description:"Input required to complete payme
142142
type PayflowProResponseOutput {
143143
cart: Cart!
144144
}
145+
146+
type StoreConfig {
147+
payflowpro_vault_enabled: String @doc(description: "Payflowpro vault status.")
148+
}

0 commit comments

Comments
 (0)