mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-21 17:12:15 +00:00
Payment setting frontend part 2 - payment setup front/backend
This commit is contained in:
15
resources/js/store/modules/app.js
vendored
15
resources/js/store/modules/app.js
vendored
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user