WordPress.org

Plugin Directory

MehmetAliCakmak Checkout Agreements (Ödeme Sayfası Sözleşme Onayı)

MehmetAliCakmak Checkout Agreements (Ödeme Sayfası Sözleşme Onayı)

Description

MehmetAliCakmak Checkout Agreements lets you add one or more agreements to the WooCommerce checkout page that customers accept with a checkbox before placing an order.

Features

  • Create an unlimited number of agreements from the admin screen; each one can be marked “required” or “optional”.
  • Agreements are listed as checkboxes right above the payment method box on checkout; clicking the title opens a popup with the full text.
  • Required agreements must be accepted before the order can be placed (validated both in the browser and on the server).
  • Merge tags available inside the agreement text: order number, order date, customer name/email/phone, billing/shipping address, payment method, a table of cart items with quantity/tax/totals, cart total, site name, current date.
  • The accepted agreements are stored on the order (with the merge tags already resolved to the real order data) as a permanent record.
  • When an order is successfully paid, a PDF of the accepted agreements is automatically attached to the order confirmation email sent to the customer.
  • Optional “Customer Type” (Individual/Business) checkout fields: company name, tax office, tax number, or national ID can be collected and used as merge tags.
  • Agreements are not publicly viewable as single pages and are excluded from search results and the XML sitemap.

Requirements

  • WooCommerce (must be active)
  • PHP 8.1 or later

Installation

  1. Upload the plugin files to the /wp-content/plugins/mehmetalicakmak-checkout-agreements directory, or install the plugin through the WordPress “Add Plugin” screen directly.
  2. Activate the plugin through the “Plugins” screen in WordPress.
  3. Go to WooCommerce Sözleşmeler to add agreements, and WooCommerce Sözleşme Ayarları to toggle the optional Customer Type fields.

FAQ

What checkout flows does this plugin work with?

It is designed to work with both the classic WooCommerce checkout template and customized checkout plugins such as CheckoutWC.

Do I need to install a separate PDF library?

No, the required PDF library (dompdf) is bundled with the plugin.

Are agreements viewable as public pages?

No, agreements are only shown on checkout and in the admin screen; they cannot be viewed as a single page and are excluded from the sitemap.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“MehmetAliCakmak Checkout Agreements (Ödeme Sayfası Sözleşme Onayı)” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0.5

  • Renamed to “MehmetAliCakmak Checkout Agreements”, a distinctive identifier connected to the author, per WordPress.org review feedback (the previous “Pergamon” brand name was also rejected as an unrelated third-party name).

1.0.4

  • Renamed to “Pergamon Checkout Agreements” with a distinctive brand term at the start of the name, per WordPress.org review feedback.

1.0.3

  • Removed “WooCommerce” from the plugin name/slug entirely, per WordPress.org’s naming policy.

1.0.2

  • Renamed the plugin (display name and slug) to a more distinctive, non-generic name.
  • Moved an inline <script> block to a properly enqueued script file (wp_enqueue_script).
  • Fixed the readme.txt Contributors field.

1.0.1

  • Renamed plugin slug/text domain to comply with the WordPress.org trademark naming rules.
  • Added translator-friendly readme.txt for the WordPress.org listing.
  • Hardened nonce and input sanitization on a few form handlers.

1.0.0

  • Initial release.