- Posts: 8
- Thank you received: 0
Donation Type
- Bill Haslam
- Topic Author
- Offline
- New Member
Less
More
3 years 2 months ago - 3 years 2 months ago #146900
by Bill Haslam
Donation Type was created by Bill Haslam
Hi Mr. Dam,
Our donors can choose to make regular payments but only monthly or yearly (as well as one payment). I have set the parameters for monthly and annually in the config setup (see screen shot below) but left it blank in the setup of the campaign config pages as is suggested. However on the online donation form the radio buttons to allow the donor to select once-off or regular payment, become invisible once I select the campaign on this page. Please can you help me - is there an additional setting somewhere that I should be aware of?
Also am I able to change the default from the 'once-off' option to 'regular payments'?
Regards,
Bill
Our donors can choose to make regular payments but only monthly or yearly (as well as one payment). I have set the parameters for monthly and annually in the config setup (see screen shot below) but left it blank in the setup of the campaign config pages as is suggested. However on the online donation form the radio buttons to allow the donor to select once-off or regular payment, become invisible once I select the campaign on this page. Please can you help me - is there an additional setting somewhere that I should be aware of?
Also am I able to change the default from the 'once-off' option to 'regular payments'?
Regards,
Bill
Last edit: 3 years 2 months ago by Bill Haslam.
Please Log in or Create an account to join the conversation.
- Mr. Dam
- Offline
- Administrator
Less
More
- Posts: 12818
- Thank you received: 1659
3 years 2 months ago #146908
by Mr. Dam
Replied by Mr. Dam on topic Donation Type
Hi Bill,
The Donation type (One time, Recurring) will also depend on selected Payment gateway. If the selected payment gateway doesn't support recurring payment, the Donation type won't show anymore.
Currently, there are some payment options support recurring
- Paypal
- Paypal Pro
- Authorize.net
- Stripe
- Stripe Checkout
- iDeal Mollie
Thanks
Dam
The Donation type (One time, Recurring) will also depend on selected Payment gateway. If the selected payment gateway doesn't support recurring payment, the Donation type won't show anymore.
Currently, there are some payment options support recurring
- Paypal
- Paypal Pro
- Authorize.net
- Stripe
- Stripe Checkout
- iDeal Mollie
Thanks
Dam
Please Log in or Create an account to join the conversation.
- Bill Haslam
- Topic Author
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 0
3 years 2 months ago #146916
by Bill Haslam
Replied by Bill Haslam on topic Donation Type
Thanks Dam.
We are using PayFast which we bought from you. I have checked their site and they do support regular payments. I have changed the settings on the PayFast site and accepted by PayFast. This doesn't solve the problem, though. Is there something else I have to do? Does your plugin for PayFast support regular payments?
Thanks,
Bill
We are using PayFast which we bought from you. I have checked their site and they do support regular payments. I have changed the settings on the PayFast site and accepted by PayFast. This doesn't solve the problem, though. Is there something else I have to do? Does your plugin for PayFast support regular payments?
Thanks,
Bill
Please Log in or Create an account to join the conversation.
- Mr. Dam
- Offline
- Administrator
Less
More
- Posts: 12818
- Thank you received: 1659
3 years 2 months ago #146919
by Mr. Dam
Replied by Mr. Dam on topic Donation Type
Hi Bill,
Currently, the JD Payfast doesn't support recurring donation. That's the reason the Donation type options aren't show.
Thanks
Dam
Currently, the JD Payfast doesn't support recurring donation. That's the reason the Donation type options aren't show.
Thanks
Dam
Please Log in or Create an account to join the conversation.
- Bill Haslam
- Topic Author
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 0
3 years 2 months ago - 3 years 2 months ago #146950
by Bill Haslam
Replied by Bill Haslam on topic Donation Type
Hi Dam,
OK, I have changed to PayPal and it works.
Just one small point - how do I change the default option from "Once Only" to "Recurring". If you give me the place where I can find the source code, I can do an override.
Many thanks for your help.
Regards,
Bill
OK, I have changed to PayPal and it works.
Just one small point - how do I change the default option from "Once Only" to "Recurring". If you give me the place where I can find the source code, I can do an override.
Many thanks for your help.
Regards,
Bill
Last edit: 3 years 2 months ago by Bill Haslam.
Please Log in or Create an account to join the conversation.
- Mr. Dam
- Offline
- Administrator
Less
More
- Posts: 12818
- Thank you received: 1659
3 years 2 months ago #146966
by Mr. Dam
Replied by Mr. Dam on topic Donation Type
Hi Bill,
You can find code in file: root -> components -> com_jdonation -> view -> donation -> html.php
Thanks
Dam
You can find code in file: root -> components -> com_jdonation -> view -> donation -> html.php
Code:
$options = array();
$options[] = JHtml::_('select.option', 'onetime', JText::_('JD_ONETIME')) ;
$options[] = JHtml::_('select.option', 'recurring', JText::_('JD_RECURRING')) ;
$lists['donation_type'] = JHtml::_('select.radiolist', $options, 'donation_type', ' class="form-select" onclick="changeDonationType();" ', 'value', 'text', $donationType);
Thanks
Dam
Please Log in or Create an account to join the conversation.
- Bill Haslam
- Topic Author
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 0
3 years 2 months ago #146974
by Bill Haslam
Replied by Bill Haslam on topic Donation Type
Thanks Dam. However, this isn't where one can set the checked status of the default option on the radio list. Is that perhaps part of the class JHtml, and if so where would I find it?
Regards,
Bill
Regards,
Bill
Please Log in or Create an account to join the conversation.
- Mr. Dam
- Offline
- Administrator
Less
More
- Posts: 12818
- Thank you received: 1659
3 years 2 months ago #146977
by Mr. Dam
Replied by Mr. Dam on topic Donation Type
OK, in that file, please change this line:
and change by
Good luck
Dam
Code:
$donationType = $input->get('donation_type', 'onetime', 'string');
Code:
$donationType = $input->get('donation_type', 'recurring', 'string');
Good luck
Dam
The following user(s) said Thank You: Bill Haslam
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.