*** iPOSpays Gateways WC Changelog ***


== Changelog ==

## 2026-05-14 - Version 1.3.8
### Bug Fixes
- Security and performance fixes.

## 2025-12-11 - Version 1.3.7

### Bug Fixes
- Variable Product issue fixed.

## 2025-11-18 - Version 1.3.6

### Bug Fixes
- Removing Pos Param

## 2025-11-14 - Version 1.3.5

### Enhancements
- Introduced **Express Checkout for Apple Pay,** enabling faster and more seamless payments for Apple Pay users.
- Added **Bank(ACH)** payment option to support quick and secure direct bank transfers.

## 2025-06-12 - Version 1.3.0

### Enhancements
- Introduced **Express Checkout for Google Pay** for faster, frictionless payments
- Redesigned the **Settings Page** to offer a more intuitive and user-friendly setup experience

## 2024-11-20 - Version 1.2.3

### Bug Fixes
- Fixed **domain whitelist issue** to ensure proper validation and security.
- Fixed **2 BIN Series is not accepted in Woocommerce Embedded and Orders page.
- Fixed **WooCommerce Integration error 401 Unauthorized!.
- Fixed **Invalid Customer Mobile In WooCommerce.

### Enhancements
- Integrated **enhanced logging with $logger** for better debugging and issue tracking.

## 2025-02-14 - Version 1.2.2

### Bug Fixes
- PaymentTokenId issue in woocommerc Embedded service

## 2024-11-20 - Version 1.2.1

### Enhancements
- **Taxes**: Fixed an issue where taxes were not being sent correctly to iPOSPay.
- **Minor Channel Update**: Updated display for minor channels to **External - Ecom - FTD**.

### Bug Fixes
#### CVV Validation
- Fixed an issue where the mandatory CVV popup was not displayed.
- Standardized CVV terminology, replacing inconsistent usage of "Security Code" with "CVV" across placeholders and error messages.

#### Card Number Validation
- Implemented proper validation for card numbers across all card types.
- Enforced a 15-digit limit for Amex cards (e.g., `3715 3873 2801 154`).
- Updated error messages to avoid displaying example card numbers (e.g., `4242 4242 4242 4242`) for invalid card errors.

#### Expiry Date Validation
- Fixed an issue where invalid formats (e.g., `/1225`) were accepted.
- Prevented clearing the expiry date field beyond the `/` character.
- Resolved an issue where valid expiry dates still showed errors.
- Added functionality to auto-append `/` after entering two digits in orders.
- Restricted expiry month/year fields to accept only numeric input.

#### "Place Order" Button
- The button is now disabled until all form fields are correctly filled out and validated.

#### Error Handling
- Corrected an issue where changing a valid card number to an invalid card removed the previously displayed CVV error.
- Fixed an error where Amex cards were incorrectly labeled as "Invalid card format."
- Resolved a generic "Something went wrong" error for declined transactions during checkout.
- Ensured that errors block payments from proceeding with invalid details in orders.

#### Security
- Card numbers are now properly masked for security.

#### Dual Pricing
- Fixed an issue where TCD (True Cost Discount) fees were not being calculated.

#### WooCommerce Logs
- Corrected logging to properly capture the `custom_fee` response.

#### Miscellaneous
- Fixed an issue where switching between "Cash on Delivery" and "Credit/Debit Cards" retained card details.
- Expiry month/year validation now occurs before CVV input.
- Prevented payments from proceeding with invalid card numbers, which previously caused a "Payment error: Unknown error."
    
2024-10-09 - version 1.2.0
* **Fixed**:
    - Improved responsiveness
    - Enhanced Address Verification System (AVS) functionality
    - Resolved issues with Refund Webhook
    - Fixed Account Pay button functionality

2024-10-09 - version 1.1.3
* **Fixed**:
    - Fixed Undefined array key

2024-10-09 - version 1.1.2
* **Fixed**:
    - Removed requirement for US customers to manually add the country code (+1) to their phone numbers. The system will now automatically prepend this code for US phone numbers, enhancing the user experience.

2024-10-08 - version 1.1.1
* **Fixed**:
    - Resolved the issue where a "Transaction id must be unique" error was thrown when a transaction was declined and the same order was attempted to be completed again.
    - Fixed the problem of the decline message not appearing on the WooCommerce page, ensuring that users are correctly redirected to the checkout page with the appropriate error message displayed.
    - Corrected the issue where the redirected payment page displayed the merchant's logo instead of the store logo, ensuring that the correct branding is shown.
    - Resolved an issue where a leading zero was automatically added to the month field in the Expiration Date input, preventing users from entering a valid month.

2024-10-03 - version 1.1.0
* Updated plugin headers and readme for the new release.
* **Fixed**:
    - Resolved accessibility issues with the download URL: `https://downloads.wordpress.org/plugin/ipospays-gateways-wc.1.0.0.zip`, which was resulting in "ERR_INVALID_RESPONSE".
    - Fixed installation error: "Installation failed: Download failed. Not Found." Users should now be able to install the plugin successfully.

2024-09-16 - version 1.0.0
* First Release