mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-19 16:32:15 +00:00
swap stripe subscription
This commit is contained in:
@@ -130,11 +130,9 @@ export default {
|
||||
},
|
||||
payByStripe() {
|
||||
axios
|
||||
.post('/api/stripe/checkout', {
|
||||
planCode: this.selectedPlan.data.meta.driver_plan_id.stripe,
|
||||
})
|
||||
.post(`/api/subscriptions/swap/${this.selectedPlan.data.id}`)
|
||||
.then((response) => {
|
||||
window.location = response.data.url
|
||||
console.log(response);
|
||||
})
|
||||
},
|
||||
payByPaystack() {
|
||||
|
||||
Reference in New Issue
Block a user