Remove initial 0 from mobile number passed to paymongo checkout api #761

This commit is contained in:
Ramon Gutierrez 2023-10-23 12:42:09 +08:00
parent 2432a08c4d
commit ff753d5452

View file

@ -28,7 +28,7 @@ class PayMongoConnector
// build billing info
$billing = [
'name' => implode(" ", [$cust->getFirstName(), $cust->getLastName()]),
'phone' => "0" . $cust->getPhoneMobile(),
'phone' => $cust->getPhoneMobile(),
];
if ($cust->getEmail()) {