|
|
@@ -54,6 +54,7 @@ class NewSupefinaSpeiLogic extends BaseApiLogic
|
|
|
$currency = $config['currency'] ?? 'MXN';
|
|
|
$aesKey = $config['aesKey'] ?? '';
|
|
|
$privateKey = $config['privateKey'] ?? '';
|
|
|
+ $productNo = $config['productNo'] ?? '';
|
|
|
|
|
|
if ($merId === '' || $baseUrl === '' || empty($privateKey) || $callbackUrl === '') {
|
|
|
$this->error = 'Payment config error';
|
|
|
@@ -88,7 +89,7 @@ class NewSupefinaSpeiLogic extends BaseApiLogic
|
|
|
|
|
|
|
|
|
$body = [
|
|
|
- 'productNo' => 'CLABE',
|
|
|
+ 'productNo' => $productNo,
|
|
|
'data' => Aes::encrypt(json_encode($params), base64_decode($aesKey)),
|
|
|
];
|
|
|
|