givewp
givewp copied to clipboard
Classic template should allows scripts to run inside the payment gateways session
User Story
As a payment method developer, I want the classical template to run scripts so that payment methods work properly.
Details
I'm utilizing the 'give_gateway_' hook to render the form. After the payment HTML form render I noticed some things didn't load and the console.log alert didn't run, apparently nothing inside the
Expected Behavior
The script inside the
Steps to Reproduce
- Register new payment method;
- Hook a function and render a new payment method form with a
- Select the new payment method;
- No functions inside the
Visuals
Additional Context
System Information
Details
- Ubuntu Server 20.04;
- Ngnix;
- WordPress 5.9;
- PHP 7.4;
Acceptance Criteria
- [ ] Script inside the