{"id":399506,"date":"2026-11-08T20:43:02","date_gmt":"2026-11-08T20:43:02","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/kazeem-payment-order-controls-for-woocommerce\/"},"modified":"2026-11-08T20:42:37","modified_gmt":"2026-11-08T20:42:37","slug":"kazeem-payment-order-controls-for-woocommerce","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/kazeem-payment-order-controls-for-woocommerce\/","author":21088433,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.2.7","stable_tag":"1.2.7","tested":"7.1.4","requires":"6.2","requires_php":"7.2","requires_plugins":null,"header_name":"Kazeem Payment & Order Controls for WooCommerce","header_author":"Kazeem Quadri","header_description":"Comprehensive control suite for WooCommerce to manage order restrictions, payment gateway rules, shipping event webhooks, and advanced currency switching.","assets_banners_color":"","last_updated":"2026-11-08 20:42:37","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/Darkace01\/kazeem-payment-order-controls-for-woocommerce","header_author_uri":"https:\/\/github.com\/Darkace01","rating":0,"author_block_rating":0,"active_installs":0,"downloads":101,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.2.7":{"tag":"1.2.7","author":"kazeemquadri01","date":"2026-11-08 20:42:37","revision":3791503}},"upgrade_notice":{"1.2.7":"<p>Adds the currency switcher shortcode. A webhook secret is now required for the shipping webhook.<\/p>"},"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.2.7"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[21294,167204,6593,34953,286],"plugin_category":[45],"plugin_contributors":[291554],"plugin_business_model":[],"class_list":["post-399506","plugin","type-plugin","status-publish","hentry","plugin_tags-currency-switcher","plugin_tags-order-control","plugin_tags-payment-gateway","plugin_tags-webhooks","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_contributors-kazeemquadri01","plugin_committers-kazeemquadri01"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/kazeem-payment-order-controls-for-woocommerce.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Kazeem Payment &amp; Order Controls for WooCommerce gives you control over your store operations: order restrictions, payment gateway rules, shipping event webhooks and currency switching, all from one dashboard.<\/p>\n\n<h4>Order Control<\/h4>\n\n<ul>\n<li>Enable or disable ordering globally<\/li>\n<li>Daily time restrictions and exact date\/time ranges<\/li>\n<li>Restrict all products, specific categories or individual products<\/li>\n<li>Automatically hides Add to Cart buttons when ordering is closed<\/li>\n<li>Custom customer message and checkout redirect URL<\/li>\n<\/ul>\n\n<h4>Payment Gateway Control<\/h4>\n\n<ul>\n<li>Rules that decide which payment gateways appear for specific currencies<\/li>\n<li>Table view to add, edit, enable, disable and delete rules<\/li>\n<li>Multiple currencies and multiple gateways per rule<\/li>\n<\/ul>\n\n<h4>Currency Control<\/h4>\n\n<ul>\n<li>Custom manual exchange rates and currency symbols<\/li>\n<li>Frontend currency switcher via the <code>[kpoc_currency_switcher]<\/code> shortcode or <code>?currency=EUR<\/code> links<\/li>\n<li>Optional fixed price per currency on each product<\/li>\n<\/ul>\n\n<h4>Shipping Event Webhooks<\/h4>\n\n<ul>\n<li>REST API endpoint that receives events from shipping platforms<\/li>\n<li>Requests are logged with body, headers and response<\/li>\n<li>Updates WooCommerce order meta and adds order notes<\/li>\n<li>Protected by a secret header<\/li>\n<\/ul>\n\n<h4>Dashboard<\/h4>\n\n<ul>\n<li>Overview statistics, recent webhook activity and status indicators<\/li>\n<\/ul>\n\n<!--section=installation-->\n<p>Requires WordPress 6.2+, PHP 7.2+ and WooCommerce active. Without WooCommerce the plugin shows an admin notice and stays inactive.<\/p>\n\n<ol>\n<li>Install and activate WooCommerce.<\/li>\n<li>Upload the plugin to <code>\/wp-content\/plugins\/kazeem-payment-order-controls-for-woocommerce\/<\/code>, or install it from Plugins &gt; Add New.<\/li>\n<li>Activate it through the Plugins menu. A database table for webhook logs is created automatically.<\/li>\n<li>Open <strong>Kazeem Payment &amp; Order Controls<\/strong> in the admin sidebar.<\/li>\n<\/ol>\n\n<p>Defaults on a fresh install: orders are allowed, no restrictions are active, no payment gateway rules exist, the currency switcher is off, and the webhook is locked until you set a secret.<\/p>\n\n<h4>Shipping webhook usage<\/h4>\n\n<ol>\n<li>Go to Kazeem Payment &amp; Order Controls &gt; Event Logs.<\/li>\n<li>Set a Webhook Secret (until one is saved every request is rejected with HTTP 403).<\/li>\n<li>Send a <code>POST<\/code> request with the header <code>X-KPOC-Secret: &lt;your secret&gt;<\/code> and a JSON body to <code>https:\/\/yoursite.com\/wp-json\/shipping\/v1\/shipping-webhook<\/code>.<\/li>\n<\/ol>\n\n<p>Supported fields: <code>order_id<\/code>, <code>tracking_number<\/code>, <code>status<\/code>, <code>event_type<\/code>. Developers can hook the <code>kazeem_payment_order_controls_shipping_event_received<\/code> action.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id=\"can%20i%20restrict%20orders%20for%20specific%20products%20only%3F\"><h3>Can I restrict orders for specific products only?<\/h3><\/dt>\n<dd><p>Yes. Use the Restriction Type setting in Order Control to select specific products or categories.<\/p><\/dd>\n<dt id=\"do%20payment%20gateway%20rules%20work%20on%20the%20cart%20page%3F\"><h3>Do payment gateway rules work on the cart page?<\/h3><\/dt>\n<dd><p>Yes, the rules apply to both cart and checkout pages.<\/p><\/dd>\n<dt id=\"what%20happens%20when%20orders%20are%20disabled%3F\"><h3>What happens when orders are disabled?<\/h3><\/dt>\n<dd><p>Add to Cart buttons are hidden, a custom message is shown on product pages, checkout redirects to your chosen URL, and an error is shown if a customer tries to place an order.<\/p><\/dd>\n<dt id=\"is%20the%20webhook%20endpoint%20secure%3F\"><h3>Is the webhook endpoint secure?<\/h3><\/dt>\n<dd><p>Requests are rejected unless they send the <code>X-KPOC-Secret<\/code> header matching the secret you set. Always use HTTPS.<\/p><\/dd>\n<dt id=\"the%20webhook%20returns%20403\"><h3>The webhook returns 403<\/h3><\/dt>\n<dd><p>No Webhook Secret has been saved yet. Set one under Event Logs.<\/p><\/dd>\n<dt id=\"how%20do%20customers%20switch%20currency%3F\"><h3>How do customers switch currency?<\/h3><\/dt>\n<dd><p>Add the <code>[kpoc_currency_switcher]<\/code> shortcode to a page or widget. If you use a page-caching plugin, exclude pages that show prices from caching.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.2.7<\/h4>\n\n<ul>\n<li>Added <code>[kpoc_currency_switcher]<\/code> shortcode for the frontend currency switcher<\/li>\n<li>Added setup, usage and testing instructions<\/li>\n<li>Added a notice explaining that the webhook secret is required<\/li>\n<li>Renamed plugin to \"Kazeem Payment &amp; Order Controls for WooCommerce\"<\/li>\n<li>Updated text domain to <code>kazeem-payment-order-controls-for-woocommerce<\/code><\/li>\n<li>Added advanced currency switching features<\/li>\n<li>Fixed \"Trying to access array offset on null\" warning on fresh installations<\/li>\n<li>Added strict dependency check for WooCommerce to prevent fatal errors<\/li>\n<\/ul>\n\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>Added advanced order control features, date\/time ranges, product\/category restrictions and redirect URL<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Added dashboard and payment gateway rule table<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Manage WooCommerce order restrictions, payment gateway rules, shipping event webhooks, and currency switching from one dashboard.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/399506","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=399506"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/kazeemquadri01"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=399506"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=399506"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=399506"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=399506"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=399506"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=399506"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}