Skip to content

Releases: tdrayson/fc-name-your-price

v1.2.2

Choose a tag to compare

@tdrayson tdrayson released this 08 Mar 02:33

Security

  • Add nonce verification to checkout URLs — requests must originate from a rendered form
  • Add HMAC-SHA256 signature to verify form config integrity — product title, subscription mode, billing interval, min/max are signed at render time and validated server-side
  • Server-side min/max validation now enforces shortcode attributes instead of hardcoded defaults
  • Subscription mode enforced server-side — forms configured as one-time only silently reject subscription attempts
  • Invalid nonce or tampered signature redirects to home page

Changes

  • Rename donation_amount URL param to amount

v1.2.1

Choose a tag to compare

@tdrayson tdrayson released this 08 Mar 01:55
12f1a57

Fixes

  • i18n: JS error messages now translatable via wp_localize_script (#4)
  • Accessibility: Form wrapped in <form> element — Enter key submit and screen reader support (#6)
  • Usability: Broken form when allow_custom="no" + show_presets="no" with no default now falls back to custom input (#14)
  • Bug fix: Mismatched preset_amounts default in block render.php — was missing 5 (#15)

Improvements

  • Whitelist text_align shortcode attribute to left, center, right only
  • Restrict form title/description HTML to RichText formatting tags (no inline images)
  • Add allowedFormats to block editor RichText fields to match server-side allowlist

Closes #4, #6, #14, #15

v1.2.0

Choose a tag to compare

@tdrayson tdrayson released this 08 Mar 00:23

What's New

  • Subscription support — off, optional (visitor chooses), or required recurring billing with 6 intervals (daily, weekly, monthly, quarterly, half-yearly, yearly)
  • Transaction fee recovery — optional checkbox to let visitors cover payment processing fees (configurable percentage + fixed fee)
  • Form title & description — optional RichText header with text alignment, inline-editable in the block editor
  • JS refactor — constructor reorganized into this.config and this.els objects
  • Updated README — new features, use cases, and complete attribute documentation

Installation

Download fc-name-your-price-1.2.0.zip and upload via Plugins → Add New → Upload Plugin.

v1.0.0

Choose a tag to compare

@tdrayson tdrayson released this 07 Mar 23:24
1cd2d00

Name Your Price for FluentCart v1.0.0

Initial release of the Name Your Price plugin for FluentCart.

Features

  • Name-your-price and pay-what-you-want pricing forms
  • Gutenberg block for easy placement in the editor
  • Shortcode support
  • FluentCart integration for payment processing
  • Customizable minimum/maximum/suggested pricing
  • Responsive CSS styling

Installation

Download fc-name-your-price-1.0.0.zip and install via Plugins > Add New > Upload Plugin in WordPress.