signed url get payment method fixed..
This commit is contained in:
parent
6822763d3c
commit
c2feffe123
10
resources/assets/js/views/portal/invoices.js
vendored
10
resources/assets/js/views/portal/invoices.js
vendored
@ -141,7 +141,9 @@ const app = new Vue({
|
||||
|
||||
this.form.payment_action = payment_method;
|
||||
|
||||
let payment_action = payment_action_path[payment_method];
|
||||
let method = payment_method.split('.');
|
||||
|
||||
let payment_action = payment_action_path[method[0]];
|
||||
|
||||
this.method_show_html = Vue.component('payment-method-confirm', function (resolve, reject) {
|
||||
resolve({
|
||||
@ -149,7 +151,11 @@ const app = new Vue({
|
||||
})
|
||||
});
|
||||
|
||||
axios.get(payment_action)
|
||||
axios.get(payment_action, {
|
||||
params: {
|
||||
payment_method: payment_method
|
||||
}
|
||||
})
|
||||
.then(response => {
|
||||
this.method_show_html = '';
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user