Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 26 additions & 9 deletions README.txt
Original file line number Diff line number Diff line change
@@ -1,26 +1,29 @@
=== PayButton ===
Contributors: xecdev, klakurka
Donate link: https://donate.paybutton.org/
Tags: paywall, monetization, donation, crypto, ecash
Tags: paywall, monetization, crypto, ecash, woocommerce
Requires at least: 5.0
Tested up to: 6.9
Requires PHP: 7.0
Stable tag: 5.1.0
PayButton Client: 5.2.0
Stable tag: 6.0.0
PayButton Client: 5.4.0
PayButton Client URI: https://github.com/PayButton/paybutton
License: MIT
License URI: https://github.com/PayButton/wordpress-plugin/blob/master/LICENSE

Monetize your content with configurable no-signup paywalls.

== Description ==
PayButton transforms your WordPress site into a robust paywall platform. With its frictionless payment process, visitors pay to unlock protected content immediately. Fully customizable through an intuitive admin dashboard, PayButton is perfect for bloggers, publishers, and content creators who want to monetize without the hassle of traditional payment gateways or user registration. Enjoy a smooth user experience with instant content unlocking, customizable settings, and detailed transaction tracking, all with minimal setup.
PayButton transforms your WordPress site into a powerful monetization platform. Its paywall feature lets you protect digital content, allowing visitors to pay with eCash (XEC) and gain immediate access without creating an account, while WooCommerce integration unlocks the full potential of your store by enabling fast, secure, and seamless eCash payments directly at checkout. Fully customizable through an intuitive admin dashboard, PayButton provides instant content unlocking, WooCommerce support, flexible settings, and detailed transaction tracking, all with minimal setup.

== 🔥 FEATURES: ==

**💸 Paywall Digital Content**
With PayButton, you can put your digital content behind a paywall easily. Visitors complete a secure eCash payment and immediately gain access to the paywalled content (in less than 3secs).

**🛒 WooCommerce Integration**
Accept eCash payments directly in WooCommerce. Enable PayButton as a payment gateway and let customers seamlessly complete orders using eCash at checkout.

**🛡️ Secure Payment Handling**
The payment is handled by PayButton and you receive all payments instantly.

Expand All @@ -46,13 +49,22 @@ Wrap your content in the `[paywalled_content]` shortcode to protect it, no codin
Once a visitor completes an eCash payment, the plugin verifies the transaction via PayButton and instantly unlocks the protected content.

=02. Do users need to register?=
No PayButton’s no-signup approach uses session tracking and database entries to grant immediate access using the public key of the payer's wallet.
No. PayButton’s no-signup approach uses session tracking and database entries to grant immediate access using the public key of the payer's wallet.

=03. Can I customize the appearance of the paywall?=
Absolutely, the admin dashboard allows you to modify button texts, pricing, color schemes, and more to match your theme.

=04. Will PayButton’s cookies break page caching?=
No. PayButton sets two HMAC-signed paybutton_user_wallet_address and paybutton_paid_content to track user wallet address and unlocked content. Cookies only get updated (and send a Set-Cookie header) when their value actually changes, so full-page caches (e.g. WP Super Cache, W3 Total Cache) and server caches (Nginx, Varnish) remain valid.
=04. How does PayButton work with WooCommerce?=
PayButton integrates as a WooCommerce payment gateway. At checkout, customers select eCash, complete the payment via PayButton, and the order is automatically marked according to the verified transaction status.

=05. Are WooCommerce payments verified securely?=
Yes. All payments are verified server-side before the order status is updated. The plugin validates the transaction amount and currency to ensure accuracy and prevent manipulation.

=06. Do customers need an account to pay with eCash?=
No. Customers can complete their WooCommerce purchase without creating a PayButton account. The payment is processed directly from their wallet, and WooCommerce handles the order details as usual.

=07. Does PayButton support automatic order updates?=
Yes. Once the transaction is confirmed, WooCommerce order statuses are updated automatically (notes added), ensuring a seamless checkout experience.

== Screenshots ==
1. Admin Dashboard Overview
Expand All @@ -75,6 +87,11 @@ The integration uses the SideShift API to enable the button or widget to accept

== Changelog ==

= 6.0.0 (2026/02/21) =
* Added WooCommerce support (PayButton as a payment gateway)
* Upgraded the PayButton dependency to v5.4.0
* Miscellaneous refactors

= 5.1.0 (2025/12/14) =
* Added Payment Verification overlay.
* Enforced server-side price and currency validation for the paywall.
Expand Down Expand Up @@ -151,6 +168,6 @@ The integration uses the SideShift API to enable the button or widget to accept

== Upgrade Notice ==

= 5.1.0 =
Upgrade to version 5.1.0 for improved compatibility and reliability.
= 6.0.0 =
Upgrade to version 6.0.0 for improved compatibility and reliability.
=======
Binary file modified assets/banner-1544x500.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/banner-772x250.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 12 additions & 12 deletions assets/js/paybutton.js

Large diffs are not rendered by default.

Binary file modified assets/screenshot-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/screenshot-7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion includes/class-paybutton-admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ public function enqueue_admin_scripts( $hook_suffix ) {
'paybutton-core',
PAYBUTTON_PLUGIN_URL . 'assets/js/paybutton.js',
array('address-validator'),
'5.3.0',
'5.4.0',
true
);

Expand Down
2 changes: 1 addition & 1 deletion includes/class-paybutton-public.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public function enqueue_public_assets() {
'paybutton-core',
PAYBUTTON_PLUGIN_URL . 'assets/js/paybutton.js', // Local file path
array(),
'5.3.0',
'5.4.0',
false
);

Expand Down
2 changes: 1 addition & 1 deletion paybutton.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Plugin Name: PayButton
* Description: Monetize your content with configurable no-signup paywalls.
* Version: 5.1.0
* Version: 6.0.0
* Author: PayButton
* Author URI: https://github.com/PayButton/wordpress-plugin
* License: MIT
Expand Down
2 changes: 1 addition & 1 deletion templates/admin/dashboard.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<img class="paybutton-logo" src="<?php echo esc_url( PAYBUTTON_PLUGIN_URL . 'assets/paybutton-logo.png' ); ?>" alt="PayButton Logo">
</div>
<!-- New heading above the buttons -->
<h2>Monetize your content with custom no-signup paywalls & donation buttons</h2>
<h2>Monetize your site with no-signup paywalls and WooCommerce checkout</h2>

<div class="paybutton-dashboard-buttons">
<!-- Button 1: Generate Button -->
Expand Down