Hi @ujavaid15
I hope you are doing good today.
I pinged our Forminator Team to review your query. We will post an update here as soon as more information is available.
Kind Regards,
Kris
Hi @wpmudevsupport13
Thank you, I will be waiting for an update 🙂
Hi @ujavaid15
Our developers updated, can you please try this other code as a mu-plugin?
https://gist.github.com/wpmudev-sls/7077822d3f398d509f7c0aff268028c4
Let us know if this worked as expected.
Best Regards
Patrick Freitas
Hi @wpmudevsupport12
Thanks for quick response. But I have used this code as a mu-plugin, it is still not working as expected.
Hello, I just checked this as well: https://gist.github.com/wpmudev-sls/0ff0dd003ed3f3e9b4ff0416da8ee25a. This is for Submission before Paypal Payment. This snippet is also not working. I have used it as a mu-plugin. please update me on this issue.
Thank you
Hi @ujavaid15
Thank you for the update.
I was able to replicate the issue using the https://gist.github.com/wpmudev-sls/7077822d3f398d509f7c0aff268028c4
I can see on our Roadmap that the PayPal visibility is coming on the 1.15 release
Feature- The one you’ve been waiting for… Collect recurring/subscription payments with PayPal and Stripe!
Improvement – Following on from the above – conditional payment support for PayPal
I asked the developers if we have any other code created for a temporary solution.
We will update once hearing back from the team.
Best Regards
Patrick Freitas
Hello there @ujavaid15
Our developers updated the custom snippet and I gave this a test and it seems to work well. Could you please give this another try and let us know if you’re still having issues?
https://gist.github.com/wpmudev-sls/7077822d3f398d509f7c0aff268028c4
Thank you,
Dimitris
Hello @ujavaid15 ,
We haven’t heard from you for several days now, so it looks like the updated code snippet worked for you.
Please feel free to re-open this ticket if needed.
kind regards,
Kasia
Hi @wpmudev-support2
Thanks for the Help. Sorry I was very busy so could get in touch.
I just updated the code and tried to test it, it is still not working.
You can also try to test it through the URL which I attached with it.
Hi there @ujavaid15
I just checked your page and see that the PayPal button is displaying only when that checkbox is checked. So it looks like the code is working:
https://recordit.co/WxISatcfFB
If you still don’t see it working on your end, it may simply be browser cache. Try clearing the cache in your browser, or check in an incognito/private window.
Cheers!
Patrick
Hello @wpmudevsupport16 ,
This modification you asked me to check already works without the code implementation because I enabled the paypal button on Checkbox checked condition inside the form.
My main problem is I want to enable the default Submit button and need to work it correctly when the Paypal buttons are not enabled.
For example, when other or no options are checked, Default submit button should show. But when Paypal option is checked, only paypal submit buttons should show. I hope I have explained my problem. Please let me know if question. Thank you 🙂
Hi @ujavaid15
I hope you are doing well.
This is how that code should work, could you please export your current form and upload on Google drive so we can take a closer look?
To export:
https://premium.wpmudev.org/docs/wpmu-dev-plugins/forminator/#import-export
Video from my form:
https://monosnap.com/file/LQxkZPzoNoKs1Qo5gBGjoECeNmFQzl
Best Regards
Patrick Freitas
Hi @wpmudevsupport12 , thanks again for instant support.
I have uploaded the exported form here: https://drive.google.com/file/d/1WqevesAe-0dmPfZh9gogv1kzNvqE0HVv/view?usp=sharing
I saw your working form video, may be my form is not working correctly due to the fact that I am using checkboxes instead of radio buttons?
But I tried to use Radio Buttons as well and its still not working
Hi @ujavaid15
Can you double-check if this option is enabled:
https://monosnap.com/file/RtcW2UXOi3Udj2AXiVng8Dcw9T25t5
Once it is not a native function from plugin not sure if it was disabled or on just didn’t come on the export file but I had to enable it back.
About the Checkbox vs radio, both should work.
The radio is the best option for this case because it allows selecting only one option.
But it worked just fine on your form too:
https://monosnap.com/file/Iea7hXXNGKLeuizyN851vR0NWpKSrH
I would suggest switching to the radio button.
In case it still not working on your end, please, make sure the PHP file has the latest version from Github.
Try to install a fresh WordPress and form on a local site and in case it works fine, you can try a plugin conflict test to make sure no other plugin is conflicting with the custom code.
https://premium.wpmudev.org/wp-content/uploads/2015/09/Support-Process-Support-Process.gif
Best Regards
Patrick Freitas