23.11 Upload to live

This commit is contained in:
Kevin Adametz 2019-11-23 15:02:41 +01:00
parent 8cae2f92a4
commit 8ebdacec98
80 changed files with 7320 additions and 3937 deletions

View file

@ -120,7 +120,6 @@ class CheckoutController extends Controller
return back()->withErrors($validator)->withErrors($validator)->withInput(Input::all());
}
$data = Input::all();
//make User
$shopping_user = $this->makeShoppingUser($data);
@ -129,6 +128,7 @@ class CheckoutController extends Controller
//check credit Card
if(Input::get('payment_method')){
$cc_ret = [];
//need precheck the card
if(Input::get('payment_method') == 'cc'){
@ -295,7 +295,7 @@ class CheckoutController extends Controller
'price' => $item->price,
'slug' => $item->options->slug,
])->save();
return;
return false;
}
}
return $model->delete();