Removing decimals from order prices

yesyo
New Member
3 0 0

Hi,

Is there any way to round the order price sent to payment gateways so that the price doesn't involve decimals?

Our payment gateway reject prices with decimals.

 

Thanks.

0 Likes
Michal_Morek
Shopify Partner
821 72 136

Hi @yesyo 

I'm sorry for your inconvenience.

There is a way to do this but it will require a change in the code. Please, what theme are you using? What payment gateway do you use? What are the charges that are automatically (delivery charges?) calculated in your store before checking for the checkout?

Founder of Shopify agency - Accomplishify.com
If you would like to hire us as Shopify experts, please reach out via:
  • Email michal.morek@accomplishify.com
  • WhatsApp +48 507 613 425
0 Likes
yesyo
New Member
3 0 0

Hi @Michal_Morek 

The theme we're using is customized by ourselves and is based on Debut. We use ECPAY (https://www.ecpay.com.tw/Activities/ShopifyIntro), it's a Taiwan company.

The problem is happening when applying discount codes on the checkout page.

Thanks.

 

0 Likes