add filter hook service.payment.pay.data
This commit is contained in:
parent
fdac7066ed
commit
59bcdb0fda
|
|
@ -56,6 +56,9 @@ class PaymentService
|
|||
'order' => $this->order,
|
||||
'payment_setting' => plugin_setting($orderPaymentCode),
|
||||
];
|
||||
|
||||
$paymentData = hook_filter('service.payment.pay.data', $paymentData);
|
||||
|
||||
$paymentView = view($viewPath, $paymentData)->render();
|
||||
|
||||
return view('checkout.payment', ['order' => $this->order, 'payment' => $paymentView]);
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@
|
|||
"license": "MIT",
|
||||
"require": {
|
||||
"php": "^8.0.2",
|
||||
"ext-curl": "*",
|
||||
"ext-iconv": "*",
|
||||
"ext-json": "*",
|
||||
"ext-pdo": "*",
|
||||
|
|
|
|||
Loading…
Reference in New Issue