diff --git a/modules/ppcp-wc-gateway/src/Gateway/PayUponInvoice/PaymentSourceFactory.php b/modules/ppcp-wc-gateway/src/Gateway/PayUponInvoice/PaymentSourceFactory.php index 5fd42e99d..d4dc82562 100644 --- a/modules/ppcp-wc-gateway/src/Gateway/PayUponInvoice/PaymentSourceFactory.php +++ b/modules/ppcp-wc-gateway/src/Gateway/PayUponInvoice/PaymentSourceFactory.php @@ -43,7 +43,7 @@ class PaymentSourceFactory { $address['first_name'] ?? '', $address['last_name'] ?? '', $address['email'] ?? '', - (string) $birth_date, + $birth_date, preg_replace( '/[^0-9]/', '', $address['phone'] ) ?? '', $phone_country_code, $address['address_1'] ?? '',