Fixed issue where the gatewayTransactionId
is being incorrectly determined for KNET payments in the webhook & transaction lookup services
Update the InvoiceValue
population to not use .getNumber
, and instead use MonetaryUtils.toValue
that returns the money-friendly format. This fixes an issue where the incorrectly formatted InvoiceValue
caused a payment transaction to fail.
Get the CustomerMobile
value from the billing address if the com.broadleafcommerce.paymentgateway.domain.GatewayCustomer.phone
is empty.
Remove the phone number format. For example, the formatted phone number +(965)900-000-01
will be changed to 96590000001
.