Releases: netzih/usaepay-wordpress
Release list
USAePay Payments 0.1.2
Fixes the card form showing "Please check the security code (the 3 or 4 digit CVV)." after a correct CVV was entered.
Pay.js's card iframe posts an error event when a field turns valid ({"code":"0","message":"","reason":"clear error","type":"cvv"}). The plugin decoded that with a fallback to the raw payload, whose "type":"cvv" matched the security-code wording rule — so correcting the CVV produced a fresh warning, and clearing the card number or expiry displayed the JSON itself. The payload is now decoded properly: an empty message clears the notice.
Install or upgrade:
wp plugin install https://github.com/netzih/usaepay-wordpress/releases/download/v0.1.2/usaepay-payments-0.1.2.zip --force --activate
USAePay Payments 0.1.1
First packaged release. Upload usaepay-payments-0.1.1.zip through Plugins > Add New Plugin > Upload Plugin; it bundles the USAePay client library and the Composer autoloader, so nothing else needs installing on the site.
Fixed
- Gravity Forms: Apple Pay always refused with "Please choose an amount", because the amount was read from GF's debounced
gformCalculateTotalPrice(), which returns nothing. The amount now comes from GF 3's product state (current on every keystroke), with the Total field and a product sum as fallbacks on older GF.
Since the last review round
- Every checkout charge and refund runs at most once: lock per orderid, marker stored and read back before sending, refund key snapshot so a repeated equal partial refund is never mistaken for the earlier one.
- Idempotent renewal recording for Gravity Forms and GiveWP after a crash mid-way.
- Settings > USAePay lists unresolved requests with a per-row "Check at USAePay" and a "Run renewal workers now" button.
Requirements: WordPress 6.4+, PHP 8.1+ (curl, json); Gravity Forms 2.9+, GiveWP 4 or WooCommerce 8 (+ WooCommerce Subscriptions for recurring).
🤖 Generated with Claude Code