WP Manifestindependent plugin directory
manifest / ecommerce / safepay-checkout-woocommerce

Safepay Checkout for WooCommerce

Accept payments via Safepay on your WooCommerce store.

by Safepay · github.com/getsafepay/safepay-checkout-woocommerce · website

2stars
1forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/getsafepay/safepay-checkout-woocommerce/archive/refs/heads/main.zip
session-destroysession() from the failure path in processpayment(). Premature session destruction was causing genuine session expiry errors on retry attempts. WooCommerce now manages its own session lifecycle post-redirect. Fix: Removed obstart() / obendflush() from processpayment() and the webhook handler. Output buffering inside WooCommerce AJAX hooks can corrupt responses on certain hosting environments. Fix: Added iswperror() checks on all wpremotepost() and wpremoteget() calls in SafePayApiHandler. Metadata endpoint failure is now non-blocking and will not abort the checkout flow. Improvement: Added structured [Safepay] error logging across all API failure paths. Every failure now logs the HTTP status code and full response body to the WooCommerce log, making environment-specific issues diagnosable in minutes. Improvement: Changed merchantsecretkey and merchantwebhooksecret admin fields from type text to type password. API credentials are no longer visible in plain text in the WP Admin UI. Improvement: processpayment() now returns array('result' = 'failure') with a wcaddnotice() error on all failure paths instead of falling through silently. Added WooCommerce Blocks sup