wp-pay-core

Core components for the WordPress payment processing library. This library is used in the WordPress plugin Pronamic Pay: https://www.pronamicpay.com/, but also allows other plugin developers to set up a payment plugin.

GPL-3.0 License

Downloads
107.7K
Stars
27
Committers
5

Bot releases are hidden (Show)

wp-pay-core - 4.22.1

Published by rvdsteege 21 days ago

Fixed

  • Fix active subscription put 'On Hold' by expired first payment. (#194)
  • Only show admin tour within first day after plugin installation. (#186)

Full set of changes: 4.22.0...4.22.1

wp-pay-core - 4.22.0 Latest Release

Published by rvdsteege about 1 month ago

Removed

  • Removed VAT number validation from core. (#189)

Changed

  • Update subscription action links UI (#180)
  • Always show 'Disable Recurring Payments' setting. (#165)

Full set of changes: 4.21.1...4.22.0

wp-pay-core - 4.21.1

Published by rvdsteege 3 months ago

Fixed

  • Fixed calculated number of periods created falling outside optional phase end date. (0364e4f)

Full set of changes: 4.21.0...4.21.1

wp-pay-core - 4.21.0

Published by rvdsteege 3 months ago

Commits

Full set of changes: 4.20.0...4.21.0

wp-pay-core - 4.20.0

Published by remcotolsma 4 months ago

Removed

  • Removed the images/dist/wp-pay.ico file, no longer allowed in the WordPress.org plugin directory.
  • Removed the images/dist/app.icns file, no longer allowed in the WordPress.org plugin directory.
  • Removed the images/dist/wp-pay.icns file, no longer allowed in the WordPress.org plugin directory.
  • Removed the images/dist/app.ico file, no longer allowed in the WordPress.org plugin directory.
  • Removed the admin reports feature, has been moved to its own repository in https://github.com/pronamic/pronamic-pay-admin-reports.

Changed

  • Use the wp_add_inline_script( … ) function for some inline <script> elements in the WordPress admin interface.
  • Moved some CSS definition in inline <style> elements to CSS files.

Full set of changes: 4.19.0...4.20.0

wp-pay-core - 4.19.0

Published by remcotolsma 4 months ago

Fixed

  • The end date of subscriptions that end after a certain period was not set correctly once the payment date was aligned, this has been corrected.

Changed

  • Aligning the payment date of a subscription will now always result in an additional alignment phase/period.
  • The priority of the actions for handling returning visitors from payment providers and the associated redirects on the wp_loaded action has been increased from 10 to 100. This resolves a conflict with the [WPNotif](https://wpnotif.unitedover.com /) plugin.
  • Renamed "Mandate Selection URL" to "Change payment method URL".

Commits

  • Use new image service class from https://github.com/pronamic/wp-pay-logos library. (871b300)
  • composer require pronamic/wp-pay-logos (06459f4)
  • Merge pull request #183 from pronamic/182-subscription-phase-alignment-issue-for-subscriptions-with-end-date (dc45e1a)
  • No longer use $phase->set_total_periods() for test payment subscription. (7d647a6)
  • No longer use total periods in subscription alignment. (799d690)
  • Allow partial periods in subscription phase period creation. (28d7ed5)
  • Merge pull request #181 from knit-pay/redirection-priority-fix (b0a6a19)
  • Change "Mandate Selection URL" to "Change payment method URL". (72aa7f6)

Composer

  • Added pronamic/wp-pay-logos ^2.2.
wp-pay-core - 4.18.0

Published by remcotolsma 5 months ago

Commits

Composer

wp-pay-core - 4.17.0

Published by remcotolsma 5 months ago

Commits

  • Updated hooks.md (c91f15f)
  • Updated to logos library v2, remove all PNG's, SVG only now. (1cf0dee)
  • Alway install not only in administrative interface pages. (a4ec06e)

Composer

  • Added automattic/jetpack-autoloader ^3.0.
wp-pay-core - 4.16.0

Published by remcotolsma 7 months ago

Changelog

Changed

  • Improved home URL check. 52e5d37
  • Improved error messages in home URL change detector. #175 b1c50c2
  • Marked name property in PaymentMethod as public. e45f5c7
  • Improved view of redirection and subscription pages on mobile. #169

Added

  • Added support for descriptions in PaymentMethod class.
  • Added support for images in PaymentMethod class.
  • Register new more general card payment method. 3b28a44 5e684b6 1c142b6

Full set of changes: 4.15.1...4.16.0

wp-pay-core - 4.15.1

Published by remcotolsma 8 months ago

Changed

  • Variables and options must be escaped when echo'd. #172
wp-pay-core - 4.15.0

Published by remcotolsma 8 months ago

Added

wp-pay-core - 4.14.3

Published by remcotolsma 10 months ago

Commits

  • Fixed string type comparison of select fields in gateway settings (fixes #164). (8d349ce)
wp-pay-core - 4.14.2

Published by rvdsteege 11 months ago

Changed

  • Changed return value for non-existing meta in payment info from empty string to null. (163)

Commits

  • Check array type (#163). (b058268)
  • Return null from PaymentInfo::get_meta() if meta does not exist (fixes #163). (649ec6a)
wp-pay-core - 4.14.1

Published by remcotolsma 12 months ago

Fixed

  • Fixed storage of JSON in custom post type. (160)
  • Fixed "Fatal error: Uncaught Error: Call to a member function getMessage() on null". (8e373a4)

Removed

  • Removed global $pronamic_ideal_errors, no longer used. (f260bc3)

Changed

wp-pay-core - 4.14.0

Published by remcotolsma 12 months ago

Changed

  • Improved escaping for Util::array_to_html_attributes usage.
  • Added cards images so they no longer load via cdn.wp-pay.org.
  • Simplified custom post type data store for payments and subscriptions.
wp-pay-core - 4.13.2

Published by remcotolsma almost 1 year ago

Changed

  • Make sure new created payments are directly stored in memory. This prevents payments with an ID from having different instances in memory. (b7f5769)
wp-pay-core - 4.13.1

Published by remcotolsma about 1 year ago

Commits

  • Use get_file_data() to retrieve about page version. (cfad1af)
wp-pay-core - 4.13.0

Published by remcotolsma about 1 year ago

Added

  • Added templates from the Pronamic Pay plugin that are required by this library.
  • Added merge tags controller.
  • Added support for {payment_lines_name} merge tag.
  • Added support for a custom payment slug.

Changed

  • No longer use the PHP filter_* functions for sanitizing. (72caa31)
  • Improve fields API and escaping. (519532b)
  • Simplified exception handling. (5d2e271)
  • Other form output setup to avoid escaping. (27f55ad)
  • Escape payment gateway integration settings field description. (ffca40b)
  • Updated to pronamic/wp-coding-standards version 2. (db9027c)
  • Move license check from AdminHealth class to LicenseManager class. (aa80870)

Fixed

  • Fixed "Mismatched text domain. Expected 'pronamic_ideal' but got ...". (8fe39eb)

Removed

  • No longer log entire raw post data in webhook logger. (3696a29)
  • Removed Pronamic\WordPress\Pay\Core\Server class, no longer used, had some sanitizing challenges. (eab3b2e)
  • Removed old WP-e-Commerce related comment. (2378651)
  • Removed old WP_Error render function, no longer used. (478accc)
  • Removed "Handle redirect message from payment meta" feature, no longer used. (b51bc18)
  • Removed section description support, no longer used. (93f4411)
  • Removed 'html' and 'description' field type. (b99751a)
  • Removed admin gateway settings section icon support, no longer in use. (8382cc0)

Composer

wp-pay-core - 4.12.0

Published by remcotolsma about 1 year ago

Commits

  • Only payment methods without required fields can be used on subscription payment method update (fixes pronamic/wp-pronamic-pay#361). (f245c00)
  • Added support for payment slug. (90626d2)
wp-pay-core - 4.11.0

Published by remcotolsma about 1 year ago

Changed

  • Improved including JS and/or CSS after review from the WordPress.org plugin review team.
  • Improved calling files remotely after review from the WordPress.org plugin review team.
    • The Slick carousel library from Ken Wheeler will no longer load from the Cloudflare CDN.
  • Improved sanitizing and escaping.
    • Escaping is also applied to exception messages, following the advice of the WordPress Coding Standards library version 3.
  • No longer use reserved keywords like "try", "parent", "class", "object" and "default" in variable names.
Package Rankings
Top 4.33% on Packagist.org
Badges
Extracted from project README
Latest Stable Version Total Downloads Latest Unstable Version License Built with Grunt Pronamic - Work with us
Related Projects