- Posts: 1
- Thank you received: 0
Questions about Payment Form extension
sample Fee Calculation Script
- jai
- Topic Author
- Offline
- New Member
-
Less
More
11 years 10 months ago - 11 years 10 months ago #29773
by jai
sample Fee Calculation Script was created by jai
could some one please help. I need a sample Fee Calculation Script.
I have a camp booking form, with 2 calculation fields
The [total payment] then should be [pf_No_of_Children]+[pf_Adult]
STEP 1:
I want to add a 3rd field where members prefer to pay just an [pf_advance_amount], in this case the value in [pf_advance_amount] field should then become the total amount to be checked out.
STEP 2:
ALSO [pf_advance_amount] should be deducted from the [total payment] and put into a 4th field Called [pf_Balance].
is this possible, i am currently finding it to do STEP 1 AND STEP 2
Any help will be much appreciated...
I have a camp booking form, with 2 calculation fields
Name | Values | Fee Value |
pf_Adult | 1 - €50 2 - €100 3 - €150 4 - €200 5 - €250 | 50 100 150 200 250 |
pf_No_of_Children | 1 - €25 2 - €50 3 - €75 4 - €100 5 - €125 6 - €150 | 25 50 75 100 125 150 |
The [total payment] then should be [pf_No_of_Children]+[pf_Adult]
STEP 1:
I want to add a 3rd field where members prefer to pay just an [pf_advance_amount], in this case the value in [pf_advance_amount] field should then become the total amount to be checked out.
STEP 2:
ALSO [pf_advance_amount] should be deducted from the [total payment] and put into a 4th field Called [pf_Balance].
is this possible, i am currently finding it to do STEP 1 AND STEP 2
Any help will be much appreciated...
Last edit: 11 years 10 months ago by jai. Reason: correction
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
11 years 10 months ago #29811
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: sample Fee Calculation Script
Hi
You can submit a support ticket sending me administrator account of your site. I will try to help you with step #1. For step #2, unfortunately, it is not possible.
Tuan
You can submit a support ticket sending me administrator account of your site. I will try to help you with step #1. For step #2, unfortunately, it is not possible.
Tuan
Please Log in or Create an account to join the conversation.
- tripledm
- Offline
- New Member
-
Less
More
- Posts: 9
- Thank you received: 0
11 years 3 months ago #38509
by tripledm
Replied by tripledm on topic Re: sample Fee Calculation Script
Is it possible to update the documentation to include a few samples.
Trying to add a % fee to the total amount via the "fee calculation script" field but having no luck.
Trying to add a % fee to the total amount via the "fee calculation script" field but having no luck.
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.