我是 Laravel 的新手。我在PaymentController. 我想从SmartpaySController. 这是 中可用的功能PaymentController。帮助我通过留在SmartpaySController.
public function getPaymentFailed($paymentId) {
$transactionData = $this->paymentRepo->find($paymentId);
if($transactionData) {
$data['quote'] = $this->quoteRepo->getQuoteById($transactionData->quote_id);
$data['metaTitle'] = 'Payment failed';
$data['returnMessage'] = $transactionData->return_message;
return view('payment::payment.quote_payment_failed', $data);
}
}
鸿蒙传说
慕村225694
有只小跳蛙
慕虎7371278