Open KennyCamba opened 9 months ago
The GpEcomAuthorizationRequestBuilder class always formats the amount to two decimal places, but this format depends on the currency. For example the CLP currency has no decimal places.
https://github.com/globalpayments/php-sdk/blob/2cde8d97ce77c7175a8c47f429465a7c764eb3f3/src/Builders/RequestBuilder/GpEcom/GpEcomAuthorizationRequestBuilder.php#L84
The GpEcomAuthorizationRequestBuilder class always formats the amount to two decimal places, but this format depends on the currency. For example the CLP currency has no decimal places.
https://github.com/globalpayments/php-sdk/blob/2cde8d97ce77c7175a8c47f429465a7c764eb3f3/src/Builders/RequestBuilder/GpEcom/GpEcomAuthorizationRequestBuilder.php#L84