From 065c78027a30f1ae4e65d6927c5535c4398e60cd Mon Sep 17 00:00:00 2001 From: Prabhu Ram Date: Wed, 29 Jul 2020 13:41:17 -0500 Subject: [PATCH] Added store config for payflowpro vault --- app/code/Magento/PaypalGraphQl/etc/graphql/di.xml | 8 ++++++++ app/code/Magento/PaypalGraphQl/etc/schema.graphqls | 4 ++++ 2 files changed, 12 insertions(+) diff --git a/app/code/Magento/PaypalGraphQl/etc/graphql/di.xml b/app/code/Magento/PaypalGraphQl/etc/graphql/di.xml index cbb70d52c401a..9c884aa32ace4 100644 --- a/app/code/Magento/PaypalGraphQl/etc/graphql/di.xml +++ b/app/code/Magento/PaypalGraphQl/etc/graphql/di.xml @@ -54,4 +54,12 @@ + + + + + payment/payflowpro_cc_vault/active + + + diff --git a/app/code/Magento/PaypalGraphQl/etc/schema.graphqls b/app/code/Magento/PaypalGraphQl/etc/schema.graphqls index 905e702c512fd..2cefc7d0c68af 100644 --- a/app/code/Magento/PaypalGraphQl/etc/schema.graphqls +++ b/app/code/Magento/PaypalGraphQl/etc/schema.graphqls @@ -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.") +}