So I figured this out…I realized I was adding my charge_customer_data()
function within a class and that it was never being called. I created a new file in my plugin directory separate from the class, added the function, and it worked.
Related Posts:
- How to create a form and display its content as table in admin panel?
- WooCommerce/WordPress: how hide entire table form after submit (Admin Dashboard)?
- How to make my custom widget appear within WordPress widgets? Plugin development
- Usage of call back function of add_meta_box()
- WordPress shortcode returns the data before
- Adding Additional Variables on Menus Page
- wordpress contact form messages not sending although it saying they were sent successfully with this php code
- Store user form submitted information in post type
- Save custom field on WP_List_Table
- not able to access $_POST on backend profile update
- Custom Plugin Develoment, Form Action
- defined (‘ABSPATH’) false after AJAX post to other PHP-file
- Styling admin page rows in order of importance (checkboxes)
- Using Nonce for my Form
- Trouble using wordpress functions in a pop-up modal form
- How do I change the Go To Categories link in the term_updated_messages
- Should I use spl_autoload_register() in my plugin?
- How can I save a multiple select array with the settings API for a plug-in options page?
- How to correctly submit a search form and display the result in an independent page
- Is there a way for a plugin to add an attribute to the tag of a theme?
- Metabox repeating fields – radio buttons not saving correctly
- Gutenberg Blocks doesn’t render correctly when using do_blocks
- How to handle a custom form in wordpress to submit to another page?
- Admin Media grid view images won’t load
- My shortcode is showing up twice
- Database “Migration” for Plugins?
- Does wp-cron runs all tasks scheduled at same time together or one after other?
- Making Quote Plugin more efficient
- How do I use the Simple HTML DOM Parser in plugin when other plugin already uses it?
- Will simple function names in a class structure conflict with other plugins?
- Instantiate class to be available to all plugin functions
- How do I let users upload files to a chosen location?
- How to test nonce with AJAX – Plugin development
- How can i upload images in an admin page?
- Unreadable pagination
- remove wp floating submenu in wp dashboard
- Modify HTML structure of fields in woocommerce checkout form
- Retrieve $_POST data submitted from external URL in WordPress(NOT API)
- Reprinting tags with all attributes
- Cannot access wp-admin/wp-login.php (WordPress backend) anymore, what could be wrong?
- Update results, Before deleting the related category [closed]
- Adding function to Genesis genesis_header [closed]
- Styling my own password protected page, how to deal with wrong password?
- Login to wordpress by clicking a link and specifying usernaname and password in url
- how to update and display an option without reloading the page
- How to change menu labels
- How to obtain the current website URL in my theme?
- Plugin Generate Unexpected output during activation
- Undefined method class::construct() when creating a plugin
- How to make multiple admin pages for one plugin?
- Hook called before text widget save
- wpdb prepare insert table doesn’t work
- Hooks for post saving make a post-new.php to load latest post’s data
- Using flickr api in custom wordpress plugin
- Toolbar Hidden in a Virtual Page
- PHP: $_SESSION destroyed after page reload for my custom session
- Contact form – problem with displaying message about sent mail
- How to correctly escape an echo
- Adding image upload in tag section – WordPress plugin development
- How to Remove Theme Style CSS inside Custom Plugin?
- WordPress Custom Form – Getting Query Vars, Weird Glitch?
- Creating plugin with front-end pages
- How to Send Pingbacks for all Posts in WordPress?
- I am having errors with checkout on wordpress
- Form from within a page
- Has a PHP update given me a 404?
- I want to retrieve the email or username data entered for password reset, but failed. how can I do it?
- 400 bad request admin-ajax file upload
- get Woocommerce product format json for WP_Query
- form submission reverts to index.php template
- Update user meta when an external link in admin notice is clicked
- Is there an option to execute javascript file only on plugin activation
- How do I remove an action hook inside a class that is called by another class?
- Is admin section completely customizable in terms of styling?
- The plugin generated 225 characters of unexpected output during activation
- Ajax in a class instantiated via shortcode
- Parsing webhook from Shopify in WordPress
- Adding action item to admin users table and sending email
- Shortcode Works for Logged in Users but Not Working for Guest
- Submit to itself don’t work
- WordPress / PhpStorm / XDebug and plugin_dir_path issues
- Send data from plugin to external database
- WordPress error on my website
- Why this plugin is not working?
- Permission error on plugin save
- Display default WordPress login/registration form into a modal window
- WP Login Button for current domain
- How to execute add_action() function from custom plugin to Crontrol plugin or do_action()?
- ajax form function error
- Use HTML Form Data in PHP Function – WordPress Admin Page
- Why can’t I enter the wordpress admin interface?
- base64_encode conflict with convert_smilies in wordpress
- Properly process a custom WP REST API request (Authenticate, Authorize + Validate)?
- Contact form with dynamic dropdown and filter
- Implement OAuth2 in custom plugin
- login redirect based on user role not work as expected
- redirect user from login page if is logged
- How to lock users account until approvation
- How to create a User Role and give permission to only use Web Stories plugin?
- WordPress REST API – Custom field not added to pages