== Changelog ==

= 1.3.0 - 2026-06-02 =
* Added - Payment method whitelist setting to restrict available CHIP checkout methods.
* Added - Success URL and Cancel URL redirect configuration.
* Added - Cancel redirect parameter for CHIP purchase creation.
* Fixed - API singleton now returns a new instance to prevent credential caching across forms.
* Fixed - Refund button now appears for GiveWP 3.0 Visual Form Builder (chip_block) donations.
* Fixed - Corrected refund guard meta key lookup.
* Fixed - Street address concatenation precedence issue with null coalescing.
* Fixed - Timezone regex to use proper A-Za-z character class.
* Fixed - wp_json_encode parameter misuse.
* Changed - Requires PHP bumped to 7.4.
* Changed - Tested up to WordPress 7.0.
* Changed - Added ABSPATH guards to all PHP files.
* Changed - Replaced sizeof() with count().
* Changed - Block gateway now explicitly implements PaymentGatewayRefundable interface.
* Changed - Updated getLegacyFormFieldMarkup signature for GiveWP 4.x compatibility.
* Changed - Settings reorganized into sections: Credentials, Display, Timing, Redirects, and Payment Methods.
* Changed - Requires at least WordPress bumped to 6.3.

= 1.2.1 - 2025-02-07 =
* Fixed - Issue with Option-Based Form Editor where payment info show escaped output.
* Fixed - Remove filtering for webhook to prevent unpredictable failure for openssl_verify.

= 1.2.0 - 2024-12-17 =
* Added - Support GiveWP 3.0 Visual Donation Form Builder.

= 1.1.0 - 2023-10-27 =
* Changed - Now the redirection will not rely on session. Instead it will rely on meta.
* Changed - Now reference is set to donation id instead of payment_key

= 1.0.3 - 2023-03-08 =
* Fixed - Donator seeing donation failed page when there is previous failed attempt.

= 1.0.2 - 2023-02-17 =
* Fixed - Form created before installing CHIP should adhere to global configuration.

= 1.0.1 - 2022-11-30 =
* Fixed - First and Last name should be separated with space.

= 1.0.0 - 2022-11-29 =
* New - Initial Release.