{"id":60501,"date":"2026-12-04T10:28:47","date_gmt":"2026-12-04T08:28:47","guid":{"rendered":"https:\/\/tuthost.ua\/?post_type=th_whmcs_module&p=60501"},"modified":"2026-12-04T10:28:47","modified_gmt":"2026-12-04T08:28:47","slug":"email-pay-buttons","status":"publish","type":"th_whmcs_module","link":"https:\/\/tuthost.ua\/en\/software\/whmcs\/email-pay-buttons\/","title":{"rendered":"Email Pay Buttons for WHMCS"},"content":{"rendered":"\n<section class=\"th-section\" id=\"features\" aria-labelledby=\"feat-h\">\n<div class=\"th-wrap\">\n<h2 class=\"th-sh\" id=\"feat-h\">Features<\/h2>\n<ul class=\"th-ilist th-ilist--2\">\n<li><svg class=\"th-i th-icon\" width=\"22\" height=\"22\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\" focusable=\"false\"><use href=\"https:\/\/tuthost.ua\/wp-content\/plugins\/th-site\/assets\/icons.svg?v=d28ad454#i-mail\"\/><\/svg><span>A button for every payment method you choose in the invoice emails: invoice created, payment reminder, overdue notices. The <code>{$payment_btns}<\/code> merge field is the same as in Invoice Email Payment Buttons, so the email templates need no changes.<\/span><\/li>\n<li><svg class=\"th-i th-icon\" width=\"22\" height=\"22\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\" focusable=\"false\"><use href=\"https:\/\/tuthost.ua\/wp-content\/plugins\/th-site\/assets\/icons.svg?v=d28ad454#i-credit-card\"\/><\/svg><span>Any gateway paid on the provider&#8217;s side can have a button: card checkout pages, bank transfer, crypto. The invoice&#8217;s own payment method comes first.<\/span><\/li>\n<li><svg class=\"th-i th-icon\" width=\"22\" height=\"22\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\" focusable=\"false\"><use href=\"https:\/\/tuthost.ua\/wp-content\/plugins\/th-site\/assets\/icons.svg?v=d28ad454#i-shield-lock\"\/><\/svg><span>A signed link with an expiry, 60 days by default. It opens the payment of one invoice and shows only its number, amount and due date. Changing the key stops every link sent so far at once.<\/span><\/li>\n<li><svg class=\"th-i th-icon\" width=\"22\" height=\"22\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\" focusable=\"false\"><use href=\"https:\/\/tuthost.ua\/wp-content\/plugins\/th-site\/assets\/icons.svg?v=d28ad454#i-click\"\/><\/svg><span>Opening a link changes nothing, so mail scanners that follow every link in an email break nothing. The payment method changes only when the client presses a button.<\/span><\/li>\n<li><svg class=\"th-i th-icon\" width=\"22\" height=\"22\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\" focusable=\"false\"><use href=\"https:\/\/tuthost.ua\/wp-content\/plugins\/th-site\/assets\/icons.svg?v=d28ad454#i-world-www\"\/><\/svg><span>Domain renewal emails show the open renewal invoice, its amount and due date, a &#8220;Pay invoice&#8221; button and the payment method buttons.<\/span><\/li>\n<li><svg class=\"th-i th-icon\" width=\"22\" height=\"22\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\" focusable=\"false\"><use href=\"https:\/\/tuthost.ua\/wp-content\/plugins\/th-site\/assets\/icons.svg?v=d28ad454#i-adjustments-horizontal\"\/><\/svg><span>The order, labels for each language, colours and layout of the buttons are set in the admin area. Gateways and colours can be imported from the old addon.<\/span><\/li>\n<li><svg class=\"th-i th-icon\" width=\"22\" height=\"22\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\" focusable=\"false\"><use href=\"https:\/\/tuthost.ua\/wp-content\/plugins\/th-site\/assets\/icons.svg?v=d28ad454#i-list\"\/><\/svg><span>An event journal with invoice and domain numbers only, no names, amounts or links; counters for 30 days.<\/span><\/li>\n<li><svg class=\"th-i th-icon\" width=\"22\" height=\"22\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\" focusable=\"false\"><use href=\"https:\/\/tuthost.ua\/wp-content\/plugins\/th-site\/assets\/icons.svg?v=d28ad454#i-world\"\/><\/svg><span>Texts in Ukrainian and English. Other languages through override files that updates never touch.<\/span><\/li>\n<\/ul>\n<\/div>\n<\/section>\n\n\n\n<section class=\"th-section\" id=\"how\" aria-labelledby=\"how-h\">\n<div class=\"th-wrap\">\n<h2 class=\"th-sh\" id=\"how-h\">How the button works<\/h2>\n<p class=\"th-lead\">From the email to the payment in three steps, none of which needs a login.<\/p>\n<ol class=\"th-steps\">\n<li><svg class=\"th-i th-icon\" width=\"24\" height=\"24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\" focusable=\"false\"><use href=\"https:\/\/tuthost.ua\/wp-content\/plugins\/th-site\/assets\/icons.svg?v=d28ad454#i-mail\"\/><\/svg><h3>Email<\/h3><p>WHMCS sends the invoice, and the module adds payment method buttons with signed links.<\/p><\/li>\n<li><svg class=\"th-i th-icon\" width=\"24\" height=\"24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\" focusable=\"false\"><use href=\"https:\/\/tuthost.ua\/wp-content\/plugins\/th-site\/assets\/icons.svg?v=d28ad454#i-file-text\"\/><\/svg><h3>Invoice page<\/h3><p>The link opens a short page with the number, amount, due date and method buttons. Opening it changes nothing.<\/p><\/li>\n<li><svg class=\"th-i th-icon\" width=\"24\" height=\"24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\" focusable=\"false\"><use href=\"https:\/\/tuthost.ua\/wp-content\/plugins\/th-site\/assets\/icons.svg?v=d28ad454#i-credit-card\"\/><\/svg><h3>Payment<\/h3><p>The client presses a method. The module switches the invoice to it, as the WHMCS invoice page does, and opens the gateway&#8217;s payment form.<\/p><\/li>\n<\/ol>\n<\/div>\n<\/section>\n\n\n\n<section class=\"th-section\" id=\"req\" aria-labelledby=\"req-h\">\n<div class=\"th-wrap th-grid th-g2\">\n<div><h2 class=\"th-sh\" id=\"req-h\">Requirements and compatibility<\/h2><dl class=\"th-dl th-dl--wide\"><div><dt>Tested on<\/dt><dd>WHMCS 9.1, PHP 8.3<\/dd><\/div><div><dt>PHP<\/dt><dd>8.2 or 8.3 with the json and mbstring extensions<\/dd><\/div><div><dt>ionCube Loader<\/dt><dd>not needed: the code is open<\/dd><\/div><div><dt>Gateways<\/dt><dd>any paid on the provider&#039;s side; those that take the card inside WHMCS need a login and get no button<\/dd><\/div><\/dl><\/div>\n<div>\n<h2 class=\"th-sh\" id=\"price\">What the price includes<\/h2>\n<ul class=\"th-checks\">\n<li>A license for one WHMCS installation, paid once.<\/li>\n<li>12 months of updates and support. After that, renewal is optional at <span class='price-content'><span class='price_curr'>10.00<\/span> <span class=\"coin\"> $<\/span><\/span> a year.<\/li>\n<li>Without renewal the module keeps working: emails, buttons and the pay page do not depend on the key.<\/li>\n<li>The full unencrypted source code under the TutHost license agreement: for one installation, not to be shared or published.<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<\/section>\n\n\n\n<section class=\"th-section\" id=\"install\" aria-labelledby=\"inst-h\">\n<div class=\"th-wrap\">\n<h2 class=\"th-sh\" id=\"inst-h\">Installation and setup<\/h2>\n<div class=\"th-prose th-reading\">\n<ol>\n<li>Copy the contents of the <code>upload\/<\/code> folder from the archive to the WHMCS root folder.<\/li>\n<li>In the admin area open <strong>Configuration \u203a System Settings \u203a Addon Modules<\/strong>, activate <strong>Pay Buttons<\/strong> and give access to the roles that need it.<\/li>\n<li>On the module page, <strong>Buttons<\/strong> tab, tick the payment methods that get buttons and save.<\/li>\n<li>Put <code>{$payment_btns}<\/code> into the invoice emails where the buttons should go. The <strong>Status<\/strong> tab shows how many templates already have it.<\/li>\n<li>Optional: in &#8220;Upcoming Domain Renewal Notice&#8221; and &#8220;Expired Domain Notice&#8221; wrap the renewal sentence in <code>{if $renewal_invoice_block}{$renewal_invoice_block}{else}\u2026{\/if}<\/code>.<\/li>\n<\/ol>\n<p>Note: moving from Invoice Email Payment Buttons \u2014 press <strong>Import<\/strong> on the module page, check the <strong>Buttons<\/strong> tab, then deactivate the old addon.<\/p>\n<\/div>\n<\/div>\n<\/section>\n\n\n\n<section class=\"th-section\" id=\"support\" aria-labelledby=\"sup-h\">\n<div class=\"th-wrap\"><h2 class=\"th-sh\" id=\"sup-h\">Documentation and support<\/h2><div class=\"th-grid th-g4 th-docs\"><div class=\"th-card\"><h3><span class=\"th-tile\"><svg class=\"th-i\" width=\"20\" height=\"20\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\" focusable=\"false\"><use href=\"https:\/\/tuthost.ua\/wp-content\/plugins\/th-site\/assets\/icons.svg?v=d28ad454#i-file-text\"\/><\/svg><\/span>Instructions<\/h3><p>The installation steps are above on this page. Full instructions in Ukrainian and English are in the <code>docs\/<\/code> folder of the archive.<\/p><a class=\"th-tbtn\" href=\"#install\">Go to installation<svg class=\"th-i\" width=\"16\" height=\"16\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\" focusable=\"false\"><use href=\"https:\/\/tuthost.ua\/wp-content\/plugins\/th-site\/assets\/icons.svg?v=d28ad454#i-arrow-right\"\/><\/svg><\/a><\/div><div class=\"th-card\"><h3><span class=\"th-tile\"><svg class=\"th-i\" width=\"20\" height=\"20\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\" focusable=\"false\"><use href=\"https:\/\/tuthost.ua\/wp-content\/plugins\/th-site\/assets\/icons.svg?v=d28ad454#i-headset\"\/><\/svg><\/span>Support<\/h3><p>12 months of support are included in the price. Ask questions by ticket in your my.tuthost.ua account.<\/p><a class=\"th-tbtn\" href=\"https:\/\/my.tuthost.ua\/submitticket.php?language=english\">Open a ticket<svg class=\"th-i\" width=\"16\" height=\"16\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\" focusable=\"false\"><use href=\"https:\/\/tuthost.ua\/wp-content\/plugins\/th-site\/assets\/icons.svg?v=d28ad454#i-arrow-right\"\/><\/svg><\/a><\/div><div class=\"th-card\"><h3><span class=\"th-tile\"><svg class=\"th-i\" width=\"20\" height=\"20\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\" focusable=\"false\"><use href=\"https:\/\/tuthost.ua\/wp-content\/plugins\/th-site\/assets\/icons.svg?v=d28ad454#i-refresh\"\/><\/svg><\/span>Updates<\/h3><p>New versions are in your my.tuthost.ua account. TutHost Center in the WHMCS admin shows when a new one is out.<\/p><a class=\"th-tbtn\" href=\"https:\/\/my.tuthost.ua\/clientarea.php?action=products&#038;language=english\">My modules<svg class=\"th-i\" width=\"16\" height=\"16\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\" focusable=\"false\"><use href=\"https:\/\/tuthost.ua\/wp-content\/plugins\/th-site\/assets\/icons.svg?v=d28ad454#i-arrow-right\"\/><\/svg><\/a><\/div><div class=\"th-card th-card--soon\"><h3><span class=\"th-tile\"><svg class=\"th-i\" width=\"20\" height=\"20\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\" focusable=\"false\"><use href=\"https:\/\/tuthost.ua\/wp-content\/plugins\/th-site\/assets\/icons.svg?v=d28ad454#i-building-store\"\/><\/svg><\/span>WHMCS Marketplace<\/h3><p>The module's listing is under review at WHMCS. The link will appear here once it is approved.<\/p><\/div><\/div><\/div>\n<\/section>\n\n\n\n<section class=\"th-section\" id=\"faq\" aria-labelledby=\"faq-h\">\n<div class=\"th-wrap\">\n<h2 class=\"th-sh\" id=\"faq-h\">Questions<\/h2>\n<div class=\"th-faq\">\n<details class=\"th-fold\"><summary>Can someone else pay from a forwarded email?<\/summary><p>Yes: whoever has the link can pay that one invoice and see its number, amount and due date. A bank transfer method also shows the payment details and the invoice document. To stop all links, change the key on the Status tab.<\/p><\/details>\n<details class=\"th-fold\"><summary>Will mail scanners change anything?<\/summary><p>No. Opening a link only shows the invoice and the payment methods; the method changes only after a button is pressed.<\/p><\/details>\n<details class=\"th-fold\"><summary>The link has expired \u2014 what does the client see?<\/summary><p>A page that offers to log in to the client area and pay the invoice there.<\/p><\/details>\n<details class=\"th-fold\"><summary>What about Stripe or PayPal?<\/summary><p>Gateways that take the card inside WHMCS need a login and get no button. For them the email keeps its usual link to the invoice.<\/p><\/details>\n<details class=\"th-fold\"><summary>How can I get the module for free?<\/summary><p>Buy your WHMCS license from TutHost: with it, all our modules, this one included, are free for as long as the license is active. <a href=\"https:\/\/tuthost.ua\/en\/software\/whmcs\/#gift\">See the terms<\/a>.<\/p><\/details>\n<\/div>\n<\/div>\n<\/section>\n","protected":false},"author":1,"menu_order":40,"template":"","meta":{"inline_featured_image":false,"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","ghostkit_customizer_options":"","ghostkit_custom_css":"","ghostkit_custom_js_head":"","ghostkit_custom_js_foot":"","ghostkit_typography":"","_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","footnotes":""},"class_list":["post-60501","th_whmcs_module","type-th_whmcs_module","status-publish","hentry"],"taxonomy_info":[],"featured_image_src_large":[],"author_info":{"display_name":"Denys Semeniuk","author_link":"https:\/\/tuthost.ua\/en\/author\/semden\/"},"comment_info":"","_links":{"self":[{"href":"https:\/\/tuthost.ua\/en\/wp-json\/wp\/v2\/whmcs-modules\/60501","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tuthost.ua\/en\/wp-json\/wp\/v2\/whmcs-modules"}],"about":[{"href":"https:\/\/tuthost.ua\/en\/wp-json\/wp\/v2\/types\/th_whmcs_module"}],"author":[{"embeddable":true,"href":"https:\/\/tuthost.ua\/en\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":1,"href":"https:\/\/tuthost.ua\/en\/wp-json\/wp\/v2\/whmcs-modules\/60501\/revisions"}],"predecessor-version":[{"id":60504,"href":"https:\/\/tuthost.ua\/en\/wp-json\/wp\/v2\/whmcs-modules\/60501\/revisions\/60504"}],"wp:attachment":[{"href":"https:\/\/tuthost.ua\/en\/wp-json\/wp\/v2\/media?parent=60501"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}