Gutschriften manuell hinzufügen, Yard 0& tax
This commit is contained in:
parent
e670b92f5d
commit
c02fffd883
24 changed files with 497 additions and 68 deletions
|
|
@ -295,19 +295,18 @@ class CheckoutController extends Controller
|
|||
$pay->setPersonalData();
|
||||
return $pay->ResponseData($identifier);
|
||||
}
|
||||
|
||||
return redirect()->back();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public function final($transactionId, $reference, $identifier) {
|
||||
|
||||
$payt = PaymentTransaction::findOrFail($transactionId);
|
||||
if($payt->shopping_payment->reference != $reference){
|
||||
abort(404);
|
||||
}
|
||||
|
||||
|
||||
Yard::instance('shopping')->destroy();
|
||||
$this->destroy();
|
||||
|
||||
|
|
@ -552,8 +551,9 @@ class CheckoutController extends Controller
|
|||
|
||||
$shopping_order->txaction = 'open';
|
||||
$shopping_order->save();
|
||||
|
||||
|
||||
if($shopping_payment){
|
||||
|
||||
if($payt->status === 'vor'){
|
||||
$shopping_payment->txaction = 'open';
|
||||
$shopping_order->txaction = 'open';
|
||||
|
|
@ -563,7 +563,7 @@ class CheckoutController extends Controller
|
|||
$send_link = Payment::paymentStatusPaidAction($shopping_order, true);
|
||||
$shopping_payment->txaction = 'open';
|
||||
$shopping_order->txaction = 'open';
|
||||
}
|
||||
}
|
||||
$shopping_payment->save();
|
||||
}
|
||||
|
||||
|
|
@ -576,6 +576,7 @@ class CheckoutController extends Controller
|
|||
];
|
||||
Payment::paymentStatusSendMail($shopping_order, $shopping_payment, $data);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue