Can you try this with another theme?
Payment Forms for Paystack always load its assest on every page on the website
I am using Bricks Builder as my page builder and theme. I found a ‘hack’ / work around for this. I added the short code to the block editor for each page I want it to load on and its working now.
Maybe test this and add this to the documentation, I’m sure their will be the same issue with other page builders.
so after some test, i figured out that the plugin is looking inside the global $post, however, since the Paystack form shortcode will be inside the pagebuidlers template post body and Paystack form is not looking inside template.
This issue will affect major pagebuilders that make post template
Ref: payment-forms-for-paystack/includes/classes/class-setup.php:131
Maybe the developers will revert to old way of Enqueue the frontend scripts on every page or add support for know Meta box on Post or Page where you can tick a box Add PayStack script to this page
-
This reply was modified 1 year, 6 months ago by
goodmuyis.