|
|
@ -22,7 +22,6 @@ class Payment extends Controller |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public function options(): Json |
|
|
|
public function options(): Json |
|
|
|
{ |
|
|
|
{ |
|
|
|
$this->merchantId = $this->request->param("merchantId"); |
|
|
|
|
|
|
|
$options = PaymentModel::getAll($this->storeId, $this->merchantId); |
|
|
|
$options = PaymentModel::getAll($this->storeId, $this->merchantId); |
|
|
|
return $this->renderSuccess(compact('options')); |
|
|
|
return $this->renderSuccess(compact('options')); |
|
|
|
} |
|
|
|
} |
|
|
|