Questions about Payment Form extension

Fee Calculation

  • timina4
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 8 months ago - 12 years 8 months ago #16353 by timina4
Fee Calculation was created by timina4
Hi,

How do i use the Fee Calculation Script field. I need to calculate certain payments are they are too varied to use the usual way. I have also submitted a ticket yesterday in regard to this.

Please Advice, Its kind of urgent. The link to the form is www.academicpapers.us/index.php/order/or...r-form-paper-masters

A. The fields that affect the price are:-
1. Academic Level (Variable)
2. No. of pages (Variable)
3. Deadline (Variable)

Conditional on the customer's choice
4. Top Writer (Constant= $20)
5. Top Priority Customer Service (Constant= $14.99)

B. If the client for example places
No of Pages: 10
Academic Level: Masters
Deadline: 24 Hours
Then according to the pricing list, the price/page for a masters level paper for a 24-hour deadline= $30
Then Amount= (No. of Pages* Price/page for a Masters paper for a deadline 0f 24 hours)= (10*30)=$300

Then if the client chooses
(i) Top Writer (Constant= $20) then Amount= (300+20)= $320
(ii)Top Priority Customer Service (Constant= $14.99) = (300=14.99)= $314.99
(iii) if he chooses both then Amount= (300+14.99+20)= $334.99

Kindly assist
Timina
Last edit: 12 years 8 months ago by timina4.

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

  • timina4
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 8 months ago #16413 by timina4
Replied by timina4 on topic Re: Fee Calculation
can anyone pleases assist. Really Urgent

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

More
12 years 8 months ago #16414 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Fee Calculation
Hi Timina

The fee calculation rule in your case is complicated, so you will need to know PHP/Joomla programming or find someone to help you. Basically, you will need to write PHP code, get data from the input on the form and then do the calculation, set the calculated fee into $fee variable. That's all .

You can find a developer and ask him to talk to me via Skype so that I can guide him more detail .

Regards,

Tuan

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

Moderators: Tuan Pham Ngoc