# Changelog

All notable changes to Antom Payments for WooCommerce are documented in this file.

## 2.0.9 — 2026-07-14

### Fixed
- Fix checkout validation return format for card payments (remove deprecated type field)

### Changed
- Update dependencies (`@babel/runtime`, pin `@alipay/ams-checkout`)
- Track package-lock.json for reproducible builds

### Added
- Add WordPress plugin directory files (changelog.txt, readme.txt)

## 2.0.8 — 2026-07-09

### Changed
- Refactor PHP codebase for improved maintainability and code style consistency
- Refactor frontend JavaScript components for better code organization
- Restructure plugin documentation into multi-language format (English / Chinese)
- Update webpack configuration and build tooling

### Added
- Add code formatting configuration (Prettier, EditorConfig)
- Add comprehensive English and Chinese technical documentation
- Add project README with overview and quick-start guide

### Removed
- Remove legacy changelog.txt and readme.txt in favor of structured docs

## 2.0.7 — 2026-07-08

- Fix the boundary judgment issue

## 2.0.6 — 2026-06-03

- Fix issue where paid orders could be incorrectly cancelled
- Unify redirect to order-received page to avoid webhook delay issue

## 2.0.5 — 2026-04-20

- Fix the loading blocking issue

## 2.0.4 — 2026-04-17

- Bug fixes

## 2.0.3 — 2026-01-22

- Added changelog

## 2.0.2 — 2026-01-16

- Fix style issues
- Update copywriting

## 2.0.1 — 2026-01-15

- Minor bug fixes

## 2.0.0 — 2026-01-07

- Add Antom Elements integration (PCI-DSS compliant card payment)
- Optimize merchant configuration experience
- Card payment support (Visa, Mastercard, AMEX, JCB, Diners, Discover, UnionPay)

## 1.0.15 — 2025-11-30

- Fix Hosted Checkout issues

## 1.0.14 — 2025-11-24

- Add Hosted Checkout (CKP) support
- Refresh plugin UI for a smoother and more intuitive payment experience

## 1.0.13 — 2025-03-18

- Improve card experience
- Add failed request logging

## 1.0.11 — 2025-03-18

- Add payment retry support for card payments

## 1.0.10 — 2025-02-21

- Improve card experience in block mode

## 1.0.9 — 2025-01-28

- Update plugin icons

## 1.0.8 — 2025-01-28

- Fix card input issues

## 1.0.7 — 2025-01-28

- Fix SSL-related issues

## 1.0.6 — 2025-01-09

- Enable card payments for guest (non-logged-in) users

## 1.0.5 — 2024-12-31

- Improve merchant registration experience

## 1.0.4 — 2024-11-08

- Improve card experience in block mode

## 1.0.3 — 2024-11-08

- Remove on-hold order status
- Keep orders in pending payment status after order placement

## 1.0.2 — 2024-10-22

- Import FAIL payment status
- Clear cart after payment

## 1.0.1 — 2024-10-18

- Fix header fetching issues in Nginx environments

## 1.0.0 — 2024-09-30

- Initial release
- Support digital wallet payments