Remove initial 0 from mobile number passed to paymongo checkout api #761
This commit is contained in:
parent
2432a08c4d
commit
ff753d5452
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ class PayMongoConnector
|
||||||
// build billing info
|
// build billing info
|
||||||
$billing = [
|
$billing = [
|
||||||
'name' => implode(" ", [$cust->getFirstName(), $cust->getLastName()]),
|
'name' => implode(" ", [$cust->getFirstName(), $cust->getLastName()]),
|
||||||
'phone' => "0" . $cust->getPhoneMobile(),
|
'phone' => $cust->getPhoneMobile(),
|
||||||
];
|
];
|
||||||
|
|
||||||
if ($cust->getEmail()) {
|
if ($cust->getEmail()) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue