{"id":279531,"date":"2026-03-12T05:16:43","date_gmt":"2026-03-12T05:16:43","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/flexilay-gateway-for-woocommerce\/"},"modified":"2026-04-10T01:58:19","modified_gmt":"2026-04-10T01:58:19","slug":"flexilay-gateway-for-woocommerce","status":"publish","type":"plugin","link":"https:\/\/ast.wordpress.org\/plugins\/flexilay-gateway-for-woocommerce\/","author":23421702,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.3.0","stable_tag":"trunk","tested":"6.9.4","requires":"6.0","requires_php":"7.4","requires_plugins":null,"header_name":"FlexiLay Gateway for WooCommerce","header_author":"FlexiLay Pty Ltd","header_description":"FlexiLay lay-buy payment gateway for WooCommerce. Creates a FlexiLay plan and redirects the customer to set up their flexible lay-buy schedule.","assets_banners_color":"979797","last_updated":"2026-04-10 01:58:19","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/flexilay.com\/woocommerce\/","header_author_uri":"https:\/\/flexilay.com\/","rating":5,"author_block_rating":0,"active_installs":0,"downloads":303,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.2.6.0":{"tag":"1.2.6.0","author":"flexilay","date":"2026-03-12 21:29:55"},"1.2.6.1":{"tag":"1.2.6.1","author":"flexilay","date":"2026-04-01 03:18:48"},"1.2.6.2":{"tag":"1.2.6.2","author":"flexilay","date":"2026-04-01 03:25:49"},"1.2.6.3":{"tag":"1.2.6.3","author":"flexilay","date":"2026-04-01 03:51:47"},"1.2.6.4":{"tag":"1.2.6.4","author":"flexilay","date":"2026-04-01 04:10:11"},"1.2.6.5":{"tag":"1.2.6.5","author":"flexilay","date":"2026-04-01 05:07:22"},"1.2.6.6":{"tag":"1.2.6.6","author":"flexilay","date":"2026-04-01 05:33:33"}},"upgrade_notice":{"1.2.6.0":"<p>Maintenance release improving WordPress.org readiness, admin script handling, route compatibility, and configuration hardening.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":1},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3480820,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3480820,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3480820,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3480820,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.2.6.0","1.2.6.1","1.2.6.2","1.2.6.3","1.2.6.4","1.2.6.5","1.2.6.6"],"block_files":[],"assets_screenshots":{"screenshot-2.png":{"filename":"screenshot-2.png","revision":3502946,"resolution":"2","location":"plugin"},"screenshot-5.png":{"filename":"screenshot-5.png","revision":3502946,"resolution":"5","location":"plugin"},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3502946,"resolution":"4","location":"plugin"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3502946,"resolution":"3","location":"plugin"},"screenshot-6.png":{"filename":"screenshot-6.png","revision":3502946,"resolution":"6","location":"plugin"},"screenshot-1.png":{"filename":"screenshot-1.png","revision":3502946,"resolution":"1","location":"plugin"}},"screenshots":{"1":"Welcome to Flexilay","2":"FlexiLay Onboarding View","3":"FlexiLay payment option at WooCommerce checkout","4":"Customer Payment Success Page","5":"FlexiLay Merchant Admin Plan View","6":"Customer Plan Details in Admin View"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[257926,259158,257575,153191,9366],"plugin_category":[45],"plugin_contributors":[257572],"plugin_business_model":[],"class_list":["post-279531","plugin","type-plugin","status-publish","hentry","plugin_tags-installment-payments","plugin_tags-laybuy","plugin_tags-layby","plugin_tags-payment-plan","plugin_tags-woocommerce-payment-gateway","plugin_category-ecommerce","plugin_contributors-flexilay","plugin_committers-flexilay"],"banners":{"banner":"https:\/\/ps.w.org\/flexilay-gateway-for-woocommerce\/assets\/banner-772x250.png?rev=3480820","banner_2x":"https:\/\/ps.w.org\/flexilay-gateway-for-woocommerce\/assets\/banner-1544x500.png?rev=3480820","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/flexilay-gateway-for-woocommerce\/assets\/icon-128x128.png?rev=3480820","icon_2x":"https:\/\/ps.w.org\/flexilay-gateway-for-woocommerce\/assets\/icon-256x256.png?rev=3480820","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/flexilay-gateway-for-woocommerce\/trunk\/screenshot-1.png?rev=3502946","caption":"Welcome to Flexilay"},{"src":"https:\/\/ps.w.org\/flexilay-gateway-for-woocommerce\/trunk\/screenshot-2.png?rev=3502946","caption":"FlexiLay Onboarding View"},{"src":"https:\/\/ps.w.org\/flexilay-gateway-for-woocommerce\/trunk\/screenshot-3.png?rev=3502946","caption":"FlexiLay payment option at WooCommerce checkout"},{"src":"https:\/\/ps.w.org\/flexilay-gateway-for-woocommerce\/trunk\/screenshot-4.png?rev=3502946","caption":"Customer Payment Success Page"},{"src":"https:\/\/ps.w.org\/flexilay-gateway-for-woocommerce\/trunk\/screenshot-5.png?rev=3502946","caption":"FlexiLay Merchant Admin Plan View"},{"src":"https:\/\/ps.w.org\/flexilay-gateway-for-woocommerce\/trunk\/screenshot-6.png?rev=3502946","caption":"Customer Plan Details in Admin View"}],"raw_content":"<!--section=description-->\n<p>FlexiLay is a <strong>lay-by \/ instalment scheduling platform<\/strong> for WooCommerce.<\/p>\n\n<p>This plugin adds FlexiLay as a payment option at checkout, allowing customers to:\n- Pay an upfront deposit\n- Schedule the remaining balance over time\n- Complete all payments <strong>before order fulfilment<\/strong><\/p>\n\n<p>FlexiLay is <strong>not a credit product<\/strong> and <strong>does not provide lending or Buy Now Pay Later (BNPL)<\/strong> services. Orders should only be fulfilled once payment is completed in full.<\/p>\n\n<h3>Key features<\/h3>\n\n<ul>\n<li>Native WooCommerce payment gateway<\/li>\n<li>Secure merchant registration and pairing<\/li>\n<li>Deposit + instalment scheduling<\/li>\n<li>Order placed on hold until payment completion<\/li>\n<li>Native FlexiLay merchant admin screens inside WordPress<\/li>\n<li>Works alongside existing payment methods<\/li>\n<li>No funds held by FlexiLay<\/li>\n<li>GPL-compatible and translation-ready<\/li>\n<\/ul>\n\n<h3>Privacy<\/h3>\n\n<p>This plugin connects your store to FlexiLay to create and manage lay-by payment plans.<\/p>\n\n<h3>Data sent to FlexiLay<\/h3>\n\n<p>When customers choose FlexiLay at checkout, the plugin sends the order and customer details required to create a payment plan (for example: order totals, line items, and contact details) to your configured FlexiLay API endpoint.<\/p>\n\n<h3>Support Chat (Crisp)<\/h3>\n\n<p>If you enable Support Chat (Crisp) in the FlexiLay Settings screen, the plugin loads Crisp\u2019s script on FlexiLay admin pages only. The plugin tags the Crisp session with your store shop domain for support context. No personal customer data is sent to Crisp by the plugin.<\/p>\n\n<p>Please ensure your store\u2019s privacy policy discloses any third-party services you enable.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin folder to <code>\/wp-content\/plugins\/<\/code><\/li>\n<li>Activate the plugin through <strong>Plugins \u2192 Installed Plugins<\/strong><\/li>\n<li>Ensure <strong>WooCommerce<\/strong> is installed and active<\/li>\n<li>Go to <strong>WooCommerce \u2192 Settings \u2192 Payments<\/strong><\/li>\n<li>Enable <strong>FlexiLay Gateway<\/strong><\/li>\n<li>Enter your FlexiLay API URL and Shop Identifier<\/li>\n<li>Save settings and wait for store approval<\/li>\n<li>Once approved, save again to complete pairing<\/li>\n<\/ol>\n\n<p>A <strong>FlexiLay<\/strong> menu item will appear in WooCommerce admin once installed.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id=\"what%20is%20flexilay%3F\"><h3>What is FlexiLay?<\/h3><\/dt>\n<dd><p>FlexiLay is a <strong>lay-buy \/ instalment scheduling platform<\/strong> that allows customers to pay a deposit and complete the remaining payments over time <strong>before goods are supplied<\/strong>.<\/p>\n\n<p>FlexiLay does not provide credit and is not a BNPL service.<\/p>\n\n<\/dd>\n<dt id=\"does%20flexilay%20hold%20or%20process%20customer%20funds%3F\"><h3>Does FlexiLay hold or process customer funds?<\/h3><\/dt>\n<dd><p>No. FlexiLay <strong>does not hold, store, or move customer funds<\/strong>.<\/p>\n\n<p>FlexiLay facilitates payment scheduling only. Payments are processed directly by the merchant\u2019s connected payment gateway (such as Stripe).<\/p>\n\n<\/dd>\n<dt id=\"how%20does%20the%20woocommerce%20checkout%20flow%20work%3F\"><h3>How does the WooCommerce checkout flow work?<\/h3><\/dt>\n<dd><ol>\n<li>Customer selects <strong>FlexiLay<\/strong> at checkout<\/li>\n<li>WooCommerce creates the order and places it <strong>on hold<\/strong><\/li>\n<li>Customer is redirected to FlexiLay to:\n\n<ul>\n<li>Choose a deposit<\/li>\n<li>Select instalment frequency<\/li>\n<li>Confirm their payment plan<\/li>\n<\/ul><\/li>\n<li>Customer completes all payments externally via FlexiLay<\/li>\n<li>Merchant fulfils the order once payment is complete<\/li>\n<\/ol>\n\n<\/dd>\n<dt id=\"what%20order%20status%20does%20flexilay%20use%3F\"><h3>What order status does FlexiLay use?<\/h3><\/dt>\n<dd><p>Orders are placed into <strong>\u201cOn hold\u201d<\/strong> while the FlexiLay plan is active.<\/p>\n\n<p>This prevents fulfilment until payment is completed.<\/p>\n\n<\/dd>\n<dt id=\"does%20flexilay%20support%20deposits%20and%20partial%20payments%3F\"><h3>Does FlexiLay support deposits and partial payments?<\/h3><\/dt>\n<dd><p>Yes. Customers can:\n- Pay a flexible deposit\n- Schedule instalments weekly, fortnightly, or monthly\n- Complete the plan early if supported by the merchant configuration<\/p>\n\n<\/dd>\n<dt id=\"why%20is%20my%20store%20waiting%20for%20approval%3F\"><h3>Why is my store waiting for approval?<\/h3><\/dt>\n<dd><p>When you first save the FlexiLay settings, your store is registered with FlexiLay and marked as <strong>pending approval<\/strong>.<\/p>\n\n<p>Once approved in the FlexiLay admin, saving the settings again will automatically retrieve your API key.<\/p>\n\n<\/dd>\n<dt id=\"why%20is%20the%20payment%20method%20disabled%20after%20saving%20settings%3F\"><h3>Why is the payment method disabled after saving settings?<\/h3><\/dt>\n<dd><p>The gateway disables itself automatically if:\n- Required settings are missing\n- The FlexiLay server cannot be reached\n- The store is not yet approved\n- An API key has not been issued<\/p>\n\n<p>This prevents broken checkout experiences.<\/p>\n\n<\/dd>\n<dt id=\"where%20do%20i%20manage%20my%20flexilay%20account%3F\"><h3>Where do I manage my FlexiLay account?<\/h3><\/dt>\n<dd><p>After installation, a <strong>FlexiLay<\/strong> menu appears in WooCommerce admin.<\/p>\n\n<p>This opens the FlexiLay merchant admin screens inside WordPress, where you can:\n- Complete onboarding\n- Connect a payment gateway\n- View plans and balances\n- Manage merchant settings<\/p>\n\n<\/dd>\n<dt id=\"is%20customer%20data%20sent%20to%20flexilay%3F\"><h3>Is customer data sent to FlexiLay?<\/h3><\/dt>\n<dd><p>Only the minimum data required to create a payment plan is sent, including:\n- Customer name\n- Email address\n- Phone number (if provided)\n- Order totals and line items\n- Shipping address (for reference only)<\/p>\n\n<p>No WordPress credentials are shared.<\/p>\n\n<\/dd>\n<dt id=\"does%20flexilay%20work%20with%20subscriptions%3F\"><h3>Does FlexiLay work with subscriptions?<\/h3><\/dt>\n<dd><p>No. FlexiLay is designed for lay-buy style purchases where goods are supplied <strong>after payment completion<\/strong>.<\/p>\n\n<\/dd>\n<dt id=\"can%20flexilay%20be%20used%20for%20digital%20products%20or%20services%3F\"><h3>Can FlexiLay be used for digital products or services?<\/h3><\/dt>\n<dd><p>FlexiLay is best suited to goods or services delivered <strong>after payment completion<\/strong>.<\/p>\n\n<p>Merchants are responsible for ensuring their usage complies with local consumer law.<\/p>\n\n<\/dd>\n<dt id=\"what%20currencies%20are%20supported%3F\"><h3>What currencies are supported?<\/h3><\/dt>\n<dd><p>FlexiLay uses the store currency configured in WooCommerce.<\/p>\n\n<p>Supported currencies depend on the connected payment gateway.<\/p>\n\n<\/dd>\n<dt id=\"does%20flexilay%20replace%20my%20existing%20payment%20gateway%3F\"><h3>Does FlexiLay replace my existing payment gateway?<\/h3><\/dt>\n<dd><p>No. FlexiLay runs alongside other WooCommerce payment methods.<\/p>\n\n<\/dd>\n<dt id=\"what%20happens%20if%20flexilay%20is%20unavailable%3F\"><h3>What happens if FlexiLay is unavailable?<\/h3><\/dt>\n<dd><p>If the FlexiLay API cannot be reached:\n- Checkout will display an error\n- The order will not proceed\n- No payment will be taken<\/p>\n\n<\/dd>\n<dt id=\"is%20flexilay%20a%20buy%20now%20pay%20later%20%28bnpl%29%20service%3F\"><h3>Is FlexiLay a Buy Now Pay Later (BNPL) service?<\/h3><\/dt>\n<dd><p>No. FlexiLay is a <strong>lay-buy platform<\/strong>, not a lending product.<\/p>\n\n<\/dd>\n<dt id=\"is%20this%20plugin%20compliant%20with%20wordpress.org%20guidelines%3F\"><h3>Is this plugin compliant with WordPress.org guidelines?<\/h3><\/dt>\n<dd><p>Yes. This plugin:\n- Is licensed under GPL v2 or later\n- Uses WordPress APIs and security best practices\n- Escapes output correctly\n- Supports translation\n- Does not bundle third-party SDKs improperly<\/p>\n\n<\/dd>\n<dt id=\"where%20can%20i%20get%20support%3F\"><h3>Where can I get support?<\/h3><\/dt>\n<dd><p>Support is available at:\nhttps:\/\/flexilay.com\/<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.3.0<\/h4>\n\n<ul>\n<li><strong>Security:<\/strong> Added HMAC-SHA256 webhook signature verification for all incoming plan status updates from FlexiLay backend<\/li>\n<li><strong>Security:<\/strong> Enforced HTTPS for API base URL in production environments<\/li>\n<li><strong>Security:<\/strong> Added rate limiting on onboarding registration and pairing endpoints<\/li>\n<li><strong>Security:<\/strong> Stripe URL extraction now validates URL starts with https:\/\/connect.stripe.com\/<\/li>\n<li><strong>Security:<\/strong> Removed deprecated order_set_status endpoint \u2014 order status now managed exclusively via verified webhooks<\/li>\n<li><strong>Improvement:<\/strong> Added comprehensive security event logging (WP_DEBUG_LOG)<\/li>\n<li><strong>Improvement:<\/strong> Enhanced error handling in payment flow \u2014 HTTP status codes now properly handled<\/li>\n<li><strong>Improvement:<\/strong> Added X-Flexilay-Api-Key header to draft plan creation for proper API authentication<\/li>\n<li><strong>Improvement:<\/strong> Added merchant pairing check before checkout \u2014 prevents customer confusion if merchant not configured<\/li>\n<li><strong>Improvement:<\/strong> Order lifecycle now mirrors Shopify flow: on-hold \u2192 processing \u2192 completed\/cancelled<\/li>\n<li><strong>Improvement:<\/strong> Plan status webhooks add order notes for full audit trail<\/li>\n<li><strong>Improvement:<\/strong> Added WooCommerce minimum version check at runtime (8.0+)<\/li>\n<li><strong>Fix:<\/strong> Refund endpoint now calls correct backend path (\/api\/plans\/{id}\/refund)<\/li>\n<\/ul>\n\n<h4>1.2.6.6<\/h4>\n\n<ul>\n<li>Improved legal acceptance save validation in the WooCommerce admin.<\/li>\n<li>Shows a clear error when FlexiLay accepts the request but does not persist acceptedDocs server-side.<\/li>\n<li>Version bump for admin onboarding diagnostics.<\/li>\n<\/ul>\n\n<h4>1.2.6.5<\/h4>\n\n<ul>\n<li>Fix onboarding completing before legal documents are saved<\/li>\n<li>Require Save acceptance before legals count as complete<\/li>\n<li>Prevent final legal checkbox from jumping to the completion screen before save<\/li>\n<\/ul>\n\n<h4>1.2.6.4<\/h4>\n\n<ul>\n<li>Clear stale local pairing state when a merchant has been deleted and onboarding is started again.<\/li>\n<li>Stop legal document acceptance from being restored from old browser local storage on a fresh install.<\/li>\n<li>Normalise onboarding status so Register &amp; Pair, Stripe, and Legals only show complete when the current merchant state supports it.<\/li>\n<\/ul>\n\n<h4>1.2.6.2<\/h4>\n\n<ul>\n<li>Fix onboarding status incorrectly showing as complete<\/li>\n<li>Fix stale API key causing false registration state<\/li>\n<li>Improve onboarding step validation (Register &amp; Pair)<\/li>\n<li>WooCommerce 10.6.2 compatibility update<\/li>\n<\/ul>\n\n<h4>1.2.6.1<\/h4>\n\n<ul>\n<li>Initial onboarding state fix<\/li>\n<\/ul>\n\n<h4>1.2.6.0<\/h4>\n\n<ul>\n<li>Replaced raw admin footer Crisp injection with a proper enqueued admin script.<\/li>\n<li>Expanded REST plan ID route patterns to support hyphens, underscores, and mixed-case identifiers.<\/li>\n<li>Prevented signed requests from falling back to an empty secret.<\/li>\n<li>Added API base URL sanitization and normalization.<\/li>\n<li>Removed inline admin app container styling from render output.<\/li>\n<li>Updated readme wording to describe native WordPress admin screens.<\/li>\n<li>Added an explicit WooCommerce dependency admin notice.<\/li>\n<li>Removed duplicate ABSPATH guard in the gateway class.<\/li>\n<li>Refreshed readme metadata and changelog for the current release.<\/li>\n<\/ul>\n\n<h4>1.2.5.0<\/h4>\n\n<ul>\n<li>Previous release.<\/li>\n<\/ul>","raw_excerpt":"Accept FlexiLay lay-by \/ instalment plans via WooCommerce. Customers pay a deposit and complete instalments before goods are supplied.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/279531","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=279531"}],"author":[{"embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/flexilay"}],"wp:attachment":[{"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=279531"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=279531"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=279531"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=279531"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=279531"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=279531"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}