| 开发者 | skillmerc |
|---|---|
| 更新时间 | 2026年11月22日 05:35 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
https://www.payfast.co.za (or https://sandbox.payfast.co.za in sandbox mode) to complete payment. The order number, order total, item description and the billing name and email address are sent so PayFast can process and receipt the payment.https://www.payfast.co.za/eng/query/validate (or the sandbox equivalent) to confirm PayFast really sent it. This is PayFast's documented server confirmation step and is what makes a forged callback unusable.https://api.payfast.co.za. This only happens when you refund an order in WooCommerce, and the setting is off by default.wc_payfast_pro_verify_itn_source filter if your host sits behind a proxy./wp-content/plugins/, or install it from Plugins → Add New.Yes. Register at payfast.co.za, then copy the merchant ID and merchant key from Settings in your PayFast dashboard.
The gateway hides itself when it cannot complete a payment. Check that your store currency is ZAR and that a merchant ID and merchant key are filled in for the mode you are in (sandbox or live).
That means the ITN callback is not arriving or not passing validation. Switch the debug log on in the gateway settings, place a test order, and read WooCommerce → Status → Logs, source skillmerc-payment-gateway-for-payfast. The log names the exact reason: signature mismatch, amount mismatch, unknown source host or failed server confirmation. A signature mismatch is almost always a salt passphrase that is set in your PayFast dashboard but not in the plugin, or the other way round. Step-by-step fixes for pending orders, invalid signatures, passphrase mismatches, refunds and Cloudflare are at https://skillmerc.github.io/payfast-woocommerce/help/ and work with any PayFast plugin.
Yes, once you tick the refunds setting. PayFast has to enable API access on your account first, and you must have a salt passphrase set. Refunds are not available in sandbox mode, because PayFast's sandbox does not implement the refunds API.
Yes. The plugin declares compatibility with High-Performance Order Storage and reads and writes order data through the WooCommerce CRUD API only.
Yes. The gateway registers a payment method with the checkout block as well as the classic shortcode checkout, so it appears in both.
Only to PayFast, only to process your payments, and only as described in the Description section. There is no telemetry.
Yes. The two use different gateway IDs and different order fields. Disable the one you are not using at checkout so shoppers do not see PayFast twice.
PHP 7.4 or newer and WordPress 6.4 or newer, with WooCommerce active. The code is checked on PHP 7.4 through 8.5.
No. It is an independent plugin and is not affiliated with or endorsed by PayFast or DPO.