Does not have any payment methods available for this payment.
-
Hello,
i have successfully integrated the plugin with the website. When I am trying to purchase a product from my store using PayFast gateway then I am getting an error:
does not have any payment methods available for this payment.
Please check the screenshot: https://imgur.com/a/ZruBuSn
Here is my website: https://ngcolosisecurity.co.za/
Waiting for your response,
Thanks
-
Hi there!
I understand you’re facing an error message stating that no payment method is available with the PayFast gateway. To assist you further, could you please make sure you have added the correct Merchant ID, Merchant Key, and Passphrase? Obtained from your Payfast account as outlined in Sign up for a Payfast account
Also, please make sure you have connected the payment method correctly. Here are step-by-step instructions on how to connect it:
PayFast Payment Gateway SetupIf you still face the same issue, could you please enable test mode and check if the issue persists?
How to Enable Test Mode
In the meantime, I’d like to understand your site properly. Please share with us the necessary information below for us to investigate the issue further:- System Status Report which you can find via WooCommerce > Status > Get system report > Copy for support.
- Fatal error logs (if any) under WooCommerce > Status > Logs.
Once we have more information, we’ll be able to assist you further.
Thanks for the details description. The merchant id, merchant key and passphrase is absolutely correct. Here are the Woocommerce status report:WordPress Environment<br><br>WordPress address (URL): https://ngcolosisecurity.co.za<br>Site address (URL): https://ngcolosisecurity.co.za<br>WC Version: 9.5.1<br>Legacy REST API Package Version: The Legacy REST API plugin is not installed on this site.<br>Action Scheduler Version: ✔ 3.9.0<br>Log Directory Writable: ✔<br>WP Version: 6.7.1<br>WP Multisite: –<br>WP Memory Limit: 512 MB<br>WP Debug Mode: –<br>WP Cron: ✔<br>Language: en_US<br>External object cache: – Server Environment<br><br>Server Info: LiteSpeed<br>PHP Version: 8.3.9<br>PHP Post Max Size: 8 MB<br>PHP Time Limit: 800<br>PHP Max Input Vars: 1000<br>cURL Version: 7.76.1<br>OpenSSL/3.0.7<br><br>SUHOSIN Installed: –<br>MySQL Version: 8.0.39<br>Max Upload Size: 2 MB<br>Default Timezone is UTC: ✔<br>fsockopen/cURL: ✔<br>SoapClient: ❌ Your server does not have the SoapClient class enabled - some gateway plugins which use SOAP may not work as expected.<br>DOMDocument: ✔<br>GZip: ✔<br>Multibyte String: ✔<br>Remote Post: ✔<br>Remote Get: ✔ Database<br><br>WC Database Version: 9.5.1<br>WC Database Prefix: wp57_<br>Total Database Size: 78.49MB<br>Database Data Size: 74.68MB<br>Database Index Size: 3.81MB<br>wp57_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp57_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp57_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp57_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp57_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp57_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp57_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp57_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp57_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp57_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp57_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp57_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp57_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp57_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp57_actionscheduler_actions: Data: 0.23MB + Index: 0.14MB + Engine InnoDB<br>wp57_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp57_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp57_actionscheduler_logs: Data: 0.13MB + Index: 0.14MB + Engine InnoDB<br>wp57_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp57_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB<br>wp57_depicter_documents: Data: 1.22MB + Index: 0.03MB + Engine InnoDB<br>wp57_depicter_lead_fields: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp57_depicter_leads: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp57_depicter_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp57_depicter_options: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp57_e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp57_frmt_form_entry: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp57_frmt_form_entry_meta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp57_frmt_form_reports: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp57_frmt_form_views: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp57_itsec_bans: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp57_itsec_dashboard_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp57_itsec_dashboard_lockouts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp57_itsec_distributed_storage: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp57_itsec_fingerprints: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp57_itsec_firewall_rules: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp57_itsec_geolocation_cache: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp57_itsec_lockouts: Data: 0.02MB + Index: 0.08MB + Engine InnoDB<br>wp57_itsec_logs: Data: 0.02MB + Index: 0.11MB + Engine InnoDB<br>wp57_itsec_mutexes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp57_itsec_opaque_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp57_itsec_temp: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp57_itsec_user_groups: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp57_itsec_vulnerabilities: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp57_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp57_options: Data: 3.05MB + Index: 0.13MB + Engine InnoDB<br>wp57_postmeta: Data: 56.05MB + Index: 0.67MB + Engine InnoDB<br>wp57_posts: Data: 12.33MB + Index: 0.27MB + Engine InnoDB<br>wp57_rank_math_404_logs: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp57_rank_math_analytics_gsc: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp57_rank_math_analytics_inspections: Data: 0.02MB + Index: 0.09MB + Engine InnoDB<br>wp57_rank_math_analytics_objects: Data: 0.06MB + Index: 0.02MB + Engine InnoDB<br>wp57_rank_math_internal_links: Data: 0.06MB + Index: 0.03MB + Engine InnoDB<br>wp57_rank_math_internal_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp57_rank_math_redirections: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp57_rank_math_redirections_cache: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp57_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp57_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp57_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp57_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp57_usermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp57_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp57_wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB<br>wp57_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB<br>wp57_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp57_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp57_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp57_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp57_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp57_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp57_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp57_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp57_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp57_wc_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB<br>wp57_wc_orders_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp57_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp57_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp57_wc_product_meta_lookup: Data: 0.02MB + Index: 0.11MB + Engine InnoDB<br>wp57_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp57_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp57_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp57_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB Post Type Counts<br><br>attachment: 331<br>custom_css: 1<br>customize_changeset: 22<br>elementor_library: 8<br>forminator_forms: 7<br>nav_menu_item: 16<br>oceanwp_library: 2<br>page: 21<br>post: 4<br>product: 95<br>revision: 543<br>seedprod: 1<br>shop_order_placehold: 2<br>wp_navigation: 1 Security<br><br>Secure connection (HTTPS): ✔<br>Hide errors from visitors: ✔ Active Plugins (17)<br><br>Classic Widgets: by WordPress Contributors – 0.3<br>Joinchat: by Creame – 5.1.8<br>Customer Reviews for WooCommerce: by CusRev – 5.66.1<br>Depicter: by Depicter Slider and Popup by Averta – 3.5.1<br>Elementor: by Elementor.com – 3.25.10<br>ElementsKit Lite: by Wpmet – 3.3.2<br>Email Verification for WooCommerce: by WPFactory – 2.9.2<br>Envato Elements: by Envato – 2.0.15<br>Forminator: by WPMU DEV – 1.36.3<br>Head & Footer Code: by Aleksandar Urošević – 1.3.7<br>Ocean Extra: by OceanWP – 2.4.3<br>Perfect Brands WooCommerce: by QuadLayers – 3.4.7<br>Safelayout Cute Preloader: by Safelayout – 2.0.96<br>Rank Math SEO: by Rank Math SEO – 1.0.233<br>Booster for WooCommerce: by Pluggabl LLC – 7.2.4<br>WooCommerce Payfast Gateway: by WooCommerce – 1.6.9<br>WooCommerce: by Automattic – 9.5.1 Inactive Plugins (7)<br><br>Duplicate Page: by mndpsingh287 – 4.5.4<br>Payment Gateways by Shipping for WooCommerce: by WPFactory – 1.4.5<br>Solid Security Basic: by SolidWP – 9.3.6<br>WC Hide Shipping Methods: by Rynaldo Stoltz – 1.8<br>WooCommerce Advanced Free Shipping: by Jeroen Sormani – 1.1.7<br>WP Fastest Cache: by Emre Vona – 1.3.2<br>WPvivid Backup Plugin: by WPvivid Backup & Migration – 0.9.110 Settings<br><br>Legacy API Enabled: –<br>Force SSL: –<br>Currency: ZAR (R)<br>Currency Position: left<br>Thousand Separator: ,<br>Decimal Separator: .<br>Number of Decimals: 2<br>Taxonomies: Product Types: external (external)<br>grouped (grouped)<br>simple (simple)<br>variable (variable)<br><br>Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)<br>exclude-from-search (exclude-from-search)<br>featured (featured)<br>outofstock (outofstock)<br>rated-1 (rated-1)<br>rated-2 (rated-2)<br>rated-3 (rated-3)<br>rated-4 (rated-4)<br>rated-5 (rated-5)<br><br>Connected to WooCommerce.com: –<br>Enforce Approved Product Download Directories: ✔<br>HPOS feature enabled: ✔<br>Order datastore: Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore<br>HPOS data sync enabled: – Logging<br><br>Enabled: ✔<br>Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2<br>Retention period: 30 days<br>Level threshold: –<br>Log directory size: 22 KB WC Pages<br><br>Shop base: #6153 - /shop/<br>Cart: #5639 - /cart/ - Contains the [woocommerce_cart] shortcode<br>Checkout: #5640 - /checkout/ - Contains the [woocommerce_checkout] shortcode<br>My account: #5641 - /my-account/<br>Terms and conditions: ❌ Page not set Theme<br><br>Name: OceanWP Child Theme<br>Version: 1.0<br>Author URL: https://oceanwp.org/<br>Child Theme: ✔<br>Parent Theme Name: OceanWP<br>Parent Theme Version: 4.0.4<br>Parent Theme Author URL: https://oceanwp.org/about-oceanwp/<br>Theme type: Classic theme<br>WooCommerce Support: ✔ Templates<br><br>Overrides: oceanwp/woocommerce/cart/mini-cart.php<br>oceanwp/woocommerce/content-single-product.php<br>oceanwp/woocommerce/loop/loop-start.php<br>oceanwp/woocommerce/single-product/product-image.php<br>oceanwp/woocommerce/single-product/title.php Admin<br><br>Enabled Features: activity-panels<br>analytics<br>product-block-editor<br>coupons<br>core-profiler<br>customize-store<br>customer-effort-score-tracks<br>import-products-task<br>experimental-fashion-sample-products<br>shipping-smart-defaults<br>shipping-setting-tour<br>homescreen<br>marketing<br>mobile-app-banner<br>onboarding<br>onboarding-tasks<br>pattern-toolkit-full-composability<br>product-custom-fields<br>remote-inbox-notifications<br>remote-free-extensions<br>payment-gateway-suggestions<br>printful<br>shipping-label-banner<br>subscriptions<br>store-alerts<br>transient-notices<br>woo-mobile-welcome<br>wc-pay-promotion<br>wc-pay-welcome-page<br>launch-your-store<br><br>Disabled Features: product-data-views<br>experimental-blocks<br>coming-soon-newsletter-template<br>minified-js<br>product-pre-publish-modal<br>settings<br>async-product-editor-category-field<br>product-editor-template-system<br>blueprint<br>reactify-classic-payments-settings<br>use-wp-horizon<br>add-to-cart-with-options-stepper-layout<br><br>Daily Cron: ✔ Next scheduled: 2025-01-08 09:55:22 +00:00<br>Options: ✔<br>Notes: 62<br>Onboarding: completed Action Scheduler<br><br>Complete: 444<br>Oldest: 2024-12-08 00:51:14 +0000<br>Newest: 2025-01-07 15:32:51 +0000<br><br>Failed: 29<br>Oldest: 2024-12-03 16:33:55 +0000<br>Newest: 2024-12-28 10:44:01 +0000<br><br>Pending: 9<br>Oldest: 2025-01-07 15:33:51 +0000<br>Newest: 2025-01-25 10:19:45 +0000 Status report information<br><br>Generated at: 2025-01-07 15:33:49 +00:00<br>
There are two fatal error logs.
1. 2024-12-27T05:15:14+00:00 Critical Allowed memory size of 134217728 bytes exhausted (tried to allocate 40960 bytes)
Additional context
2024-12-27T13:46:54+00:00 Critical Allowed memory size of 134217728 bytes exhausted (tried to allocate 430080 bytes)
Additional context
2. 2024-12-26T10:20:39+00:00 Critical Allowed memory size of 134217728 bytes exhausted (tried to allocate 622592 bytes)
Additional context
2024-12-26T10:25:43+00:00 Critical Allowed memory size of 134217728 bytes exhausted (tried to allocate 40960 bytes)
Additional context
Waiting for your response,
Thanks.Hello assad19,
Thank you for your reply.
I checked your report and error log.
It shows a memory exhaustion error dated 26 and 27 December.
Is this the time when you tested WooCommere Payfast?
I suggest increasing the WP Memory Limit to 1GB and checking if that resolves the problem.If the problem persists, enable Test Mode and check again.
Also, make sure to check error logs for new entries.Let me know about the results. 🙂
Best regards.
Alright,
Let me check with the sandbox details and I will let you know the updatesHello assad19,
Thank you for your reply.
That is a good idea.
Let me know about the results when ready.Have a great day!
Hello and good evening,
I hope you are well,
I just tested with sandbox credentials and the payment is working well. Here is the screenshot: https://imgur.com/a/SmOU13H
And again when I tested with real merchant credentials then I am getting the error again: Does not have any payment methods available for this payment.
Here is the screenshot: https://imgur.com/XAksNMB
Waiting for your response,
Thanks.Hi @assad19 ,
Thanks for reaching out! Based on the issue you’re describing, it sounds like the problem might be related to the configuration of your live PayFast account.
When testing with sandbox credentials, everything seems to work, which is a good sign that the plugin itself is functioning correctly. However, if the live credentials are causing the “no payment methods available” error, it’s worth checking a few things directly in your PayFast account:
1. Payment Methods Enabled
Make sure the specific payment methods you want to use (e.g., credit card, EFT) are enabled in your live PayFast account. Sometimes, sandbox accounts have all methods active by default, but live accounts may need additional setup.
2. Account Restrictions
It’s also possible that PayFast has placed certain restrictions or that some account settings need to be finalized. I’d recommend reaching out to PayFast’s support team to confirm everything is set up properly on their end.
Additionally, check your WooCommerce settings to confirm the live Merchant ID and Key are correct, and double-check the currency being used in your store matches what’s supported by PayFast.
I hope this helps, let us know what happens!
Hello,
The issue has been fixed. Thanks for your supportHello assad19,
Thank you for your reply.
I am glad to know that you have resolved the issue.
Could you tell us how you solved this issue?
It would be helpful for other users who might face a similar problem.Have a great day!
The order can’t be place if the price less R10. I tried with R10 order and it is working well.
The topic ‘Does not have any payment methods available for this payment.’ is closed to new replies.