mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-28 02:50:39 +00:00
Payment setting frontend part 2 - payment setup front/backend
This commit is contained in:
Vendored
+12
-3
@@ -82,9 +82,6 @@ const mutations = {
|
||||
SET_SAAS(state, data) {
|
||||
state.config.isSaaS = data
|
||||
},
|
||||
SET_STRIPE_PUBLIC_KEY(state, data) {
|
||||
state.config.stripe_public_key = data
|
||||
},
|
||||
FILE_INFO_TOGGLE(state, isVisible) {
|
||||
state.isVisibleSidebar = isVisible
|
||||
|
||||
@@ -108,6 +105,18 @@ const mutations = {
|
||||
STORE_REQUESTED_PLAN(state, plan) {
|
||||
state.requestedPlan = plan
|
||||
},
|
||||
SET_STRIPE_CREDENTIALS(state, data) {
|
||||
state.config.stripe_public_key = data.key
|
||||
state.config.isStripe = true
|
||||
},
|
||||
SET_PAYSTACK_CREDENTIALS(state, data) {
|
||||
state.config.paystack_public_key = data.key
|
||||
state.config.isPaystack = true
|
||||
},
|
||||
SET_PAYPAL_CREDENTIALS(state, data) {
|
||||
state.config.paypal_client_id = data.key
|
||||
state.config.isPayPal = true
|
||||
},
|
||||
}
|
||||
|
||||
const getters = {
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@ const actions = {
|
||||
const mutations = {
|
||||
SET_SINGLE_CHARGE_AMOUNT(state, amount) {
|
||||
state.singleChargeAmount = amount
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
const getters = {
|
||||
|
||||
Reference in New Issue
Block a user