- Posts: 24
- Thank you received: 1
Payment Gateway Fee Configuration
- Ryan Wildauer
- Topic Author
- Offline
- Junior Member
Less
More
8 years 6 months ago #69574
by Ryan Wildauer
Payment Gateway Fee Configuration was created by Ryan Wildauer
I would like to set the default option to yes on the PayPal gateway fee. What is the easiest way to accomplish this?
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
8 years 6 months ago #69587
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Payment Gateway Fee Configuration
Hi Ryan
You will need to edit small code. Open the file components/com_jdonation/view/donation/html.php (or components/com_jdonation/views/donation/view.html.php if you are using old version), find the code below:
2. Change it to:
After that, it should work as expected
Tuan
You will need to edit small code. Open the file components/com_jdonation/view/donation/html.php (or components/com_jdonation/views/donation/view.html.php if you are using old version), find the code below:
Code:
if ($config->pay_payment_gateway_fee)
{
$lists['pay_payment_gateway_fee'] = JHtml::_('select.booleanlist', 'pay_payment_gateway_fee', ' class="inputbox" ', $input->getInt('pay_payment_gateway_fee', 0)) ;
}
2. Change it to:
Code:
if ($config->pay_payment_gateway_fee)
{
$lists['pay_payment_gateway_fee'] = JHtml::_('select.booleanlist', 'pay_payment_gateway_fee', ' class="inputbox" ', $input->getInt('pay_payment_gateway_fee', 1)) ;
}
After that, it should work as expected
Tuan
Please Log in or Create an account to join the conversation.
Moderators: Mr. Dam, Dũng Nguyễn Việt
Support
Documentation
Information
Copyright © 2024 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.