Skip to content

Commit

Permalink
Added store config for payflowpro vault
Browse files Browse the repository at this point in the history
  • Loading branch information
prabhuram93 committed Jul 29, 2020
1 parent d723f24 commit 065c780
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
8 changes: 8 additions & 0 deletions app/code/Magento/PaypalGraphQl/etc/graphql/di.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,12 @@
</argument>
</arguments>
</type>

<type name="Magento\StoreGraphQl\Model\Resolver\Store\StoreConfigDataProvider">
<arguments>
<argument name="extendedConfigData" xsi:type="array">
<item name="payflowpro_vault_enabled" xsi:type="string">payment/payflowpro_cc_vault/active</item>
</argument>
</arguments>
</type>
</config>
4 changes: 4 additions & 0 deletions app/code/Magento/PaypalGraphQl/etc/schema.graphqls
Original file line number Diff line number Diff line change
Expand Up @@ -142,3 +142,7 @@ input PayflowProResponseInput @doc(description:"Input required to complete payme
type PayflowProResponseOutput {
cart: Cart!
}

type StoreConfig {
payflowpro_vault_enabled: String @doc(description: "Payflowpro vault status.")
}

0 comments on commit 065c780

Please sign in to comment.