AhaPay Buy Now Pay Later
AhaPay integrates with WooCommerce to provide flexible payment options for your customers. The plugin allows shoppers to split their payments into 4 or 7 installments automatically, with no hidden fees and 0% interest on 4-payment plans. Requirements WordPress 5.4 or higher WooCommerce 4.8 or higher PHP 7.4 or higher OpenSSL PHP extension SSL certificate installed on your domain (for secure transactions) Configuration Basic Settings Enable/Disable – Turn the payment method on or off Title – The payment method title shown to customers Description – The payment method description shown to customers Environment – Choose between Sandbox (testing) and Production API Key – Enter your AhaPay API key Minimum Amount – Set the minimum order amount for AhaPay availability Display Settings Product Label – Enable/disable BNPL information on product pages Product Label Text – Customize the BNPL message Product Label Color – Set the background color for labels Product Label Text Color – Set the text color for labels Features Seamless integration with WooCommerce checkout Automatic order status updates Real-time payment verification Custom product page badges and banners Responsive payment modal Support for both desktop and mobile devices Order status checking in admin panel Sandbox environment for testing Detailed payment status tracking Support for refunds Payment Flow Customer selects AhaPay at checkout Order is created and customer is redirected to AhaPay Customer completes payment setup with AhaPay Order status is automatically updated Customer is redirected back to your store Order Statuses PAYMENT_SUCCESSFUL – Payment completed CANCELLED – Payment cancelled by customer UNAVAILABLE – Payment failed PAYMENT_IN_PROGRESS – Payment pending REFUNDED – Payment refunded Support For support or questions, please contact AhaPay support team or visit your AhaPay merchant dashboard. External services This plugin connects to the AhaPay API to process Buy Now Pay Later payments and handle order status updates. It sends the following data when processing payments or checking status: – Order ID and transaction details – API key for authentication – Refund requests with order information Data is sent securely via HTTPS to AhaPay’s servers only when necessary for payment processing or status verification. This service is provided by AhaPay: Terms of Service, Privacy Policy. Development This plugin uses webpack to build JavaScript and CSS assets. Build Process Install dependencies: npm install Build assets: npm run build (or npm run dev for development) Source files are located in the blocks/ directory. Built files are in assets/blocks/. The source code is publicly available in this repository for review and modification. 1.0.0 Initial release Basic payment integration Order status management Product page integration Admin interface Sandbox/Production environments License This plugin is licensed under the terms of use provided by AhaPay. Customize Payment Fields CSS You can add custom CSS that will be applied specifically to AhaPay’s payment fields on the checkout page from the plugin settings in the WordPress admin. How to update the CSS In WordPress admin go to: WooCommerce → Settings → Payments. Find “AhaPay Buy Now Pay Later” in the list and click Manage (or click the Settings link). Scroll down to the setting named “Additional CSS for Payment Fields”. Paste your CSS into the textarea and click Save changes. How the plugin applies your CSS The plugin stores the textarea content and adds it as inline CSS attached to the plugin stylesheet handle ahapaybuynowpaylater-block-style. The payment fields output by the gateway are wrapped in a container with the class .ahapay-payment-fields, so we recommend scoping your rules under that selector to avoid affecting other parts of your site. The plugin will strip surrounding tags if you paste them by accident, and it sanitizes the textarea input on save. If you need to override existing rules, use specificity or !important as needed. Quick verification example Paste the following CSS into the “Additional CSS for Payment Fields” textarea and save. Then open your checkout page (or the block checkout) and you should see a green dashed border, a small badge that reads “ADDITIONAL CSS APPLIED”, and visible styling changes for the title, subtitle and progress bar. This is a visual test to confirm the inline CSS is applied. `css /* Visual test for Additional CSS for Payment Fields */ .ahapay-payment-fields { border: 3px dashed #27ae60 !important; background: rgba(39, 174, 96, 0.04) !important; padding: 12px !important; position: relative !important; border-radius: 6px !important; } /* Badge so you can clearly see the CSS is applied */ .ahapay-payment-fields::before { content: “ADDITIONAL CSS APPLIED”; position: absolute; top: -12px; right: 8px; background: #27ae60; color: #ffffff; font-weight: 700; font-size: 11px; padding: 3px 8px; border-radius: 3px; box-shadow: 0 1px 2px rgba(0,0,0,0.15); z-index: 9999; } .ahapay-payment-fields .ahapay-title { color: #e91e63 !important; font-size: 18px !important; font-weight: 700 !important; } .ahapay-payment-fields .ahapay-subtitle { color: #555 !important; font-style: italic !important; } .ahapay-payment-fields .ahapay-progress-bar { background: #eee !important; height: 12px !important; border-radius: 12px !important; margin: 10px 0 !important; } .ahapay-payment-fields .ahapay-progress { width: 75% !important; height: 100% !important; background: linear-gradient(90deg,#e91e63,#ff8a80) !important; border-radius: 12px !important; } .ahapay-payment-fields .ahapay-timeline div { display: inline-block !important; background: #fff8e1 !important; padding: 6px 8px !important; margin-right: 6px !important; border-radius: 4px !important; font-weight: 600 !important; } ` Small examples Change the title color only: css .ahapay-payment-fields .ahapay-title { color: #0066cc !important; } Hide the timeline if it conflicts with your theme: css .ahapay-payment-fields .ahapay-timeline { display: none !important; } Troubleshooting If you don’t see the changes after saving the CSS, try these steps: Ensure the AhaPay payment method is enabled (WooCommerce → Settings → Payments → AhaPay). Clear any caching on your site (plugin cache, server cache, CDN) and your browser cache. Confirm you’re viewing a checkout page that loads the plugin styles (block checkout or classic checkout). If you use a custom checkout template, ensure the ahapay-payment-fields wrapper is present in the markup. Use !important or increase specificity if your theme’s CSS is overriding the rules. Security and best practices The textarea is intended for admin use only. Avoid pasting untrusted CSS/JS — the plugin strips tags but does not execute arbitrary JS. Keep rules scoped (start with .ahapay-payment-fields) to avoid unintentionally affecting other areas of your site.
Starter Templates
Website Templates, Page Templates and Block Patterns for WordPress Starter Templates is a growing library of 300+ ready-to-use website templates for WordPress. Import a complete website design, a single page template, or an individual section, in one click. Every template works with any WordPress theme, and with the page builder you already use: Elementor, Beaver Builder, Spectra, or the WordPress block editor (Gutenberg). Starter Templates demo Highlights 300+ website templates and ready-made site designs Free Elementor templates and Gutenberg templates Gutenberg templates and block patterns, powered by Spectra Blocks and edited natively in the block editor 200+ page sections, block patterns and layouts Pre-built sections designed for specific use-cases Full site templates, page templates and section templates AI website builder with built-in AI assistant Adaptive design library with royalty-free images Works with any WordPress theme Supported page builders: Elementor, Spectra, Beaver Builder, and the Gutenberg block editor One-Click Website Templates and Template Kits Building a website design from a blank page takes weeks. With Starter Templates you pick a template, import it, and edit the content. Every design is a complete template kit, not just a demo page, but the pages, layouts and settings that make a finished website. You can import at three levels: Full website templates: Every page, menu, and setting for a complete site Page templates: A single page design dropped into your existing site Sections and block patterns: Individual layouts added to any page Preview any template as a live demo before you import it, so you always know what you are getting. Realistic Templates for Every Business Starter Templates goes beyond stunning design. It delivers readymade website templates specifically crafted with your business in mind. Launching an eCommerce store? We have a diverse selection of store templates to get you selling in no time. Creating a business website? We have dozens of professional-quality designs ready for you to make your mark. No matter your industry or niche, we have a template that perfectly aligns with your vision. Free Elementor Templates A fan of Elementor? Look no further. Starter Templates offers a vast collection of professionally designed Elementor templates, with more than 300 Elementor templates available. Import entire websites built with Elementor, individual page templates, or specific blocks to enhance your site’s layout and design. Then just drag, drop, customize, and launch your website. Gutenberg Templates for the WordPress Block Editor Starter Templates offers a large library of readymade Gutenberg templates, Gutenberg block patterns and page layouts, all edited natively in the Gutenberg editor rather than in a separate builder interface. Gutenberg templates are built with Spectra Blocks. Starter Templates installs Spectra for you during import, so there is nothing to set up beforehand, and the design stays editable with the Gutenberg controls you already use. If you build with Gutenberg, you can import a complete Gutenberg website template, a single Gutenberg page template, or one block pattern at a time, without switching to Elementor. Hundreds of Sections and Block Patterns Every section is built for a specific use-case. A hero to open a landing page, a pricing table for a service business, a testimonial layout for social proof, a team grid for an about page. Drop one into any page and the layout, spacing and styling are already handled. Swap the text and images, and the section is done. Want to customize your website design to make it truly unique? Use sections, block patterns and layouts to add your personal style. Available sections include: Hero, Page Header, About, Services, Features, Contact, Why Choose Us, Call To Action, Portfolio, Gallery, Testimonials, Pricing, FAQ, Team, Statistics. Templates That Install the Plugins They Need Depending on the type of template you import, Starter Templates also installs the plugins that template needs to work. Import a booking template and the plugins that provide booking are set up for you. Import an online store template and the eCommerce plugins come with it. You do not need to go hunting for another plugin after importing a template, because the design arrives ready to run. eCommerce, Portfolio and Business Templates You can filter the library by what you are building, so you can start from a template made for your use case instead of reshaping a generic one. eCommerce templates for online stores, designed to work alongside WooCommerce Portfolio templates for designers, photographers, studios and creative freelancers Business templates for agencies, consultants, clinics and local service providers Landing page templates for campaigns, lead generation and product launches Blog and magazine templates for publishers and content sites Restaurant, event and nonprofit templates for everything else Whichever vertical you pick, the template arrives with matching pages, sections and styling rather than a single page you have to build out. AI-Integrated Adaptive Design Library Personalize blocks and patterns to match your website style with the power of AI. The design library within the Starter Templates plugin is integrated with AI and royalty-free image repositories. All elements come pre-populated with relevant text and images that you can easily customize to match your brand. Lightning Fast Websites Starter Templates prioritizes speed and efficiency without compromising quality. Pages created with Starter Templates have efficient, clean code and are free from unnecessary elements. This means faster load times and a smoother experience for visitors on any browser or device. AI Website Builder Alongside the template library, Starter Templates includes an AI website builder. Describe your business and the AI selects a design, generates professional copy, and curates visuals to match your brand, producing a complete website in under two minutes, which you then edit like any other template. Follow the steps below: Enter the name of your website and select the type of website you’re creating (portfolio, business site, landing page, or something else). Describe your business. Use AI to refine your description prompt if you need to. Add your contact details and social media handles so people can interact. The AI will suggest images based on your input. Select the images you want to use. Choose the website structure from the options. Select any site features you need. The AI will generate a website in under 2 minutes. Customize your site as you see fit! AI Assistant for WordPress Our AI Assistant works in a similar way to ChatGPT but is specifically tailored for WordPress. With just a click of a button, you can use AI to help write copy for landing pages, proofread blog posts, translate content into different languages, generate custom HTML and CSS codes, and much more. Royalty-Free Images The Starter Templates plugin offers seamless integration with leading royalty-free image repositories such as Pexels and Unsplash. You have access to millions of top-tier images within your WordPress dashboard. Simply search for the image you need and select it. Training Videos We offer a range of comprehensive training videos designed to complement our templates. They provide the knowledge and skills necessary to build, launch, and maintain your website. Types of Websites You Can Create Starter Templates is perfect for building websites for: personal branding, restaurants, service providers, nonprofits and charities, events, startups, local businesses, wellness businesses, landing pages, lead generation websites, eCommerce stores, blogs, manufacturing businesses, and any other type of WordPress website. There’s no limit to what you can create. Please note: To access AI-generated templates and websites, you’ll need a ZipWP account. Signing up is quick, easy, and 100% free. Fun Facts About Starter Templates ✓ Over 5,000 websites are built with Starter Templates every day. ✓ The plugin has been installed on more than 2 million websites. ✓ Starter Templates has more than 4,500 five-star reviews. ✓ Our team of dedicated full-time WordPress experts help and support hundreds of users daily. ✓ A devoted team of full-time designers keeps the design library up to date. ✓ Our plugin offers more than 150 free Elementor templates. ✓ You can import a complete website, individual page, or section of a page in seconds.