Skip to content

Commit

Permalink
Убираем лишние символы из номера
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Zelenkov committed Aug 27, 2020
1 parent 4baea88 commit 01b3c62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unitpay/catalog/controller/extension/payment/unitpay.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function index()
'resultUrl' => $data['success_url'],
'cashItems' => $this->getOrderItems($order_info['currency_code'], $order_info['currency_value']),
'customerEmail' => $order_info['email'],
'customerPhone' => $order_info['telephone'],
'customerPhone' => preg_replace('/\D/', '', $order_info['telephone']),
'locale' => $locale,
'signature' => hash('sha256', join('{up}', array(
$data['inv_id'],
Expand Down

0 comments on commit 01b3c62

Please sign in to comment.