Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Custom fee being rounded

Custom fee being rounded 13 years 10 months ago #12516

  • steve30000
  • steve30000's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 106
  • Thank you received: 0
I'm having a problem with a custom fee. I have the following set up:

Base Price: 169,95 euros

I then have a drop down option that will provide a discount of 35 euros for the 1st 75 registrants. When the user registers, it shows correctly as 134,95 euros for the Amount Owed (they are using the Pay Later option). However, the database (and backend administration) is showing:

basefee: 169.95
customfee: -35
fee: 134,00

So it appears as though the user only owes 134,00 euros instead of 134,95 euros. I'm not sure if the problem is because I am using commas instead of decimals for the divider or where it may be.

Any ideas? Thanks.

Please Log in or Create an account to join the conversation.

Custom fee being rounded 13 years 10 months ago #12517

  • steve30000
  • steve30000's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 106
  • Thank you received: 0
I think I've determined that the error is being introduced in the back end when you edit a registration. When you edit a registration is does not like the "Amount Due" field to have a comma in it (which I am using for dollar and cents separator since I am in Europe). Anything after the comma is just dropped.

So when the registration initially comes in, the amount due is correct. If I edit the registration and leave the Amount Due as 134,95, when I click Save, the Amount Due changes to 134,00. If, however, I change the amount due to 134.95 when editing the registration information, it saves properly and shows as 134,95 in the database.

Hopefully that makes sense and won't be too difficult to fix. Thanks.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.109 seconds