Payment Method/ Gateway Issue
-
Hi, I am building an E-commerce website for a clothing brand and installed a payment gateway for my Woocommerce. Called “onepay”. I did the setting as I have always done, but it’s not working with my website.
It keeps on saying “Sorry, It Seems That There Are No Available Payment Methods For Your State. Please Contact Us If You Require Assistance Or Wish To Make Alternate Arrangements.” on the Checkout page. any help?
The page I need help with: [log in to see the link]
-
Hello,
WooCommerce does not have the ability to make payments by itself, this is the work that payment gateways should do.
My recommendation is to first reach out to the payment gateway support, they will be able to provide you with more information and troubleshoot steps if necessary.
I hope this helps.
I have already complained to the payment gateway support. So I was hoping to collect payments with cash on delivery until the issue is resolved. Therefore I enabled the Cash on Delivery option, but it keeps saying the same thing.
-
This reply was modified 2 years, 11 months ago by
nydp1986.
Hi @nydp1986
I have already complained to the payment gateway support
That’s a good step taken.
I enabled the Cash on Delivery option, but it keeps saying the same thing
Could you please disable the Onepay payment gateway temporarily and check whether Cash on Delivery works or not? The settings of that payment gateway could be interfering with WooCommerce. While you wait for support from Onepay, let us know what you find doing this.
Here is the documentation to use Cash on Delivery in a basic setup of WooCommerce :
https://woocommerce.com/document/cash-on-delivery/Let us know if we can be of further assistance.
I have already checked it but it’s still the same. I can’t use COD for international customers but I can use it for customers in my country. Therefore, please help me to solve this issue.
Hi @nydp1986,
When you’re saying you’re using COD do you mean the default Cash on delivery method in WooCommerce > Settings > Payments?
Link to image: https://i.imgur.com/gdO2zrd.pngCan you just leave enabled the Cash on delivery payment method and disable all other methods? Before trying that please disable all plugins (except WooCommerce) and temporarily switch the theme from Astra to Storefront.
We also would like to take a look at your System Status. You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”. Once you’ve done that, paste it here in your response.
Cheers.
I have tried the way that u explained here, yet it’s not working. So I restore it to the previous theme. I accidentally enabled the check payment and then it shows in the site checkout but Cash on Delivery is still not showing. I activated the Direct Bank transfer method too, and it also works properly, but the COD and the “onepay payment gateway” were still not working. Can it be a problem with my hosting service?
Here is the “System Report” (without activating “onepay payment gateway”)
### WordPress Environment ### WordPress address (URL): https://nydp1986.com Site address (URL): https://nydp1986.com WC Version: 6.3.1 REST API Version: ? 6.3.1 WC Blocks Version: ? 6.9.0 Action Scheduler Version: ? 3.4.0 WC Admin Version: ? 3.2.1 Log Directory Writable: ? WP Version: 5.9.2 WP Multisite: – WP Memory Limit: 1 GB WP Debug Mode: – WP Cron: ? Language: en_US External object cache: – ### Server Environment ### Server Info: LiteSpeed PHP Version: 7.2.34 PHP Post Max Size: 1 GB PHP Time Limit: 1500 PHP Max Input Vars: 2000 cURL Version: 7.71.0 OpenSSL/1.1.1d SUHOSIN Installed: – MySQL Version: 10.3.34-MariaDB-cll-lve Max Upload Size: 1 GB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 6.3.1 WC Database Prefix: wpai_ Total Database Size: 150.91MB Database Data Size: 141.79MB Database Index Size: 9.12MB wpai_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpai_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpai_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpai_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wpai_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpai_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpai_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wpai_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpai_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpai_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpai_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpai_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpai_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpai_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB woocs_statistic: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpai_actionscheduler_actions: Data: 1.52MB + Index: 1.28MB + Engine InnoDB wpai_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpai_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpai_actionscheduler_logs: Data: 1.52MB + Index: 0.58MB + Engine InnoDB wpai_berocket_termmeta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpai_cf_forms: Data: 0.05MB + Index: 0.02MB + Engine InnoDB wpai_cf_form_entries: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wpai_cf_form_entry_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpai_cf_form_entry_values: Data: 0.06MB + Index: 0.05MB + Engine InnoDB wpai_cf_pro_messages: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpai_cf_queue_failures: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpai_cf_queue_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpai_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpai_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wpai_e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpai_hustle_entries: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpai_hustle_entries_meta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wpai_hustle_modules: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpai_hustle_modules_meta: Data: 0.17MB + Index: 0.03MB + Engine InnoDB wpai_hustle_tracking: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wpai_itsec_bans: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpai_itsec_dashboard_events: Data: 0.05MB + Index: 0.02MB + Engine InnoDB wpai_itsec_distributed_storage: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpai_itsec_fingerprints: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpai_itsec_geolocation_cache: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpai_itsec_lockouts: Data: 0.06MB + Index: 0.08MB + Engine InnoDB wpai_itsec_logs: Data: 2.52MB + Index: 0.53MB + Engine InnoDB wpai_itsec_mutexes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpai_itsec_opaque_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpai_itsec_temp: Data: 0.13MB + Index: 0.23MB + Engine InnoDB wpai_itsec_user_groups: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpai_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpai_litespeed_url: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpai_litespeed_url_file: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wpai_options: Data: 2.52MB + Index: 0.22MB + Engine InnoDB wpai_postmeta: Data: 49.52MB + Index: 3.03MB + Engine InnoDB wpai_posts: Data: 81.52MB + Index: 0.50MB + Engine InnoDB wpai_rank_math_404_logs: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpai_rank_math_analytics_gsc: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wpai_rank_math_analytics_inspections: Data: 0.02MB + Index: 0.11MB + Engine InnoDB wpai_rank_math_analytics_objects: Data: 0.09MB + Index: 0.02MB + Engine InnoDB wpai_rank_math_internal_links: Data: 0.14MB + Index: 0.06MB + Engine InnoDB wpai_rank_math_internal_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpai_rank_math_redirections: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpai_rank_math_redirections_cache: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpai_snippets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpai_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpai_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpai_term_relationships: Data: 0.08MB + Index: 0.05MB + Engine InnoDB wpai_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpai_usermeta: Data: 0.08MB + Index: 0.06MB + Engine InnoDB wpai_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wpai_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB wpai_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpai_wc_cancel_orders: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpai_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpai_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpai_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpai_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpai_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wpai_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wpai_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpai_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpai_wc_product_meta_lookup: Data: 0.05MB + Index: 0.09MB + Engine InnoDB wpai_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpai_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpai_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpai_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpai_woobe_history: Data: 0.08MB + Index: 0.05MB + Engine InnoDB wpai_woobe_history_bulk: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpai_woocs_statistic: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpai_wpf_filters: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpai_wpf_meta_data: Data: 0.09MB + Index: 0.23MB + Engine InnoDB wpai_wpf_meta_keys: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpai_wpf_meta_values: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpai_wpf_meta_values_bk: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpai_wpf_modules: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpai_wpf_modules_type: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpai_wpf_usage_stat: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ### Post Type Counts ### acoplw_badges: 2 acoplw_prod_list: 2 attachment: 148 awl-labels: 1 br_labels: 3 customize_changeset: 53 custom_css: 1 elementor_library: 2 elementskit_template: 2 itsec-dash-card: 6 itsec-dashboard: 1 nav_menu_item: 12 page: 18 post: 5 product: 52 product_variation: 129 revision: 1857 shopengine-template: 7 shop_coupon: 2 shop_order: 4 wp_global_styles: 1 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (24) ### WooCommerce Advanced Product Labels: by BeRocket – 1.2.3.7 Astra Widgets: by Brainstorm Force – 1.2.10 WP AutoTerms: by WP AutoTerms – 2.4.9 iThemes Security: by iThemes – 8.1.0 Caldera Forms: by Caldera Forms – 1.9.7 Code Snippets: by Code Snippets Pro – 2.14.3 Elementor: by Elementor.com – 3.6.1 ElementsKit Lite: by Wpmet – 2.5.5 Essential Addons for Elementor: by WPDeveloper – 5.0.12 Facebook for WooCommerce: by Facebook – 2.6.12 Jetpack: by Automattic – 10.7 LiteSpeed Cache: by LiteSpeed Technologies – 4.6 Rank Math SEO: by Rank Math – 1.0.85.1 ShopEngine: by Wpmet – 2.2.1 States, Cities, and Places for WooCommerce: by Kingsley Ochu – 1.3.2 UpdraftPlus - Backup/Restore: by UpdraftPlus.Com DavidAnderson – 1.22.11 WC Cancel Order: by Vikram S – 3.1.4 WooCommerce Smart COD: by woosmartcod.com – 1.6.1 WooCommerce Weight Based Shipping: by weightbasedshipping.com – 5.3.20 BEAR – Bulk Editor and Products Manager Professional for WooCommerce: by realmag777 – 1.1.1 Product Filter by WooBeWoo: by WooBeWoo – 2.1.0 WOOCS - WooCommerce Currency Switcher: by realmag777 – 1.3.7.5 WooCommerce: by Automattic – 6.3.1 Hustle: by WPMU DEV – 7.4.13.1 ### Inactive Plugins (1) ### onepay Payment Gateway For WooCommerce: by onepay – 1.0.1 ### Settings ### API Enabled: – Force SSL: – Currency: LKR (??) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) variable (variable) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) Connected to WooCommerce.com: – ### WC Pages ### Shop base: #6 - /shop/ Cart: #7 - /cart/ Checkout: #8 - /checkout/ My account: #9 - /my-account/ Terms and conditions: #2834 - /terms-and-conditions/ ### Theme ### Name: Astra Version: 3.7.9 Author URL: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme Child Theme: ? – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme WooCommerce Support: ? ### Templates ### Overrides: /home/nydpukpy/public_html/wp-content/plugins/shopengine/widgets/checkout-review-order/screens/review-order-template.php ### Action Scheduler ### Complete: 3,233 Oldest: 2022-03-06 23:02:57 +0530 Newest: 2022-04-04 01:42:41 +0530 Pending: 2 Oldest: 2022-04-04 12:11:14 +0530 Newest: 2022-04-08 03:57:01 +0530 ### Status report information ### Generated at: 2022-04-04 01:51:28 +05:30
Hi @nydp1986!
Thank you for sending the System Status.
In it, I can see you have activated the
WooCommerce Smart COD: by woosmartcod.com – 1.6.1
on your site. Since it is a Cash On Delivery plugin, it might be interfering with the COD core option of WooCommerce.Please try deactivating that plugin and check if the COD option now appears.
If not, you could try a conflict test to know if a conflict between WooCommerce and your theme, or a plugin could be occurring.
You can perform a conflict test by temporarily switching your theme back to Storefront, disabling all plugins except WooCommerce, and then check again if the issue persists.
If that solves it, reactivate the theme first and check again. Then, reactivate your other plugins, testing after each, until you find the one causing conflict.
If you cannot perform a conflict test on your live site, we recommend creating a staging site using the WP Staging plugin.
You can find a more detailed explanation of how to do a conflict test here: https://docs.woocommerce.com/document/how-to-test-for-conflicts/.
Let us know how that goes for you!
I have done it with WP staging like you explained above but still not working.
ScreenshotsCan it be a problem with my hosting service?
Like I said in the previous message I enable the direct bank transfer option for a test and it’s working properly but COD doesn’t work.
ScreenshotsHi @nydp1986
Sorry to hear that it didn’t work.
I enable the direct bank transfer option for a test and it’s working properly but COD doesn’t work
Can it be a problem with my hosting service?
You can check with your hosting provider to be sure if is not something from their end.
Otherwise, could you please navigate to WooCommerce > Status > Logs and from the dropdown on the right side, please see if there are any logs starting with the words
fatal-error
? Please let us know what you find.These are the results I got from the mentioned path above. Page 1 is the results for the Staging Site and page 2 is the Original Site
Hello,
Sorry for asking this again, to clarify, was the test conflict performed completely, I mean were all plugins deactivated? (except for WooCommerce).
The error log provided is showing errors related to Facebook for WooCommerce Was the Facebook for WooCommerce plugin deactivated as well when performing the test?
Thank you.
Yes!
I performed the conflict test in the Stagging Site which you’ve described above.Facebook for WooCommerce was shown on the Original Site, not in the Stagging Site
Hi @nydp1986
Thanks for confirming that. Sorry to learn that you tested it fully on the staging site but it didn’t work still.
1. Do you see any fatal errors? If yes, please share as requested above.
2. Have you checked with your hosting provider yet?
We’ll look forward to hearing from you.
We haven’t heard back from you in a while, so I’m going to mark this thread as closed for now – we’ll be here if and/or when you are ready to continue.
Okay! I found the issue. The issue was “WOOCS – WooCommerce Currency Switcher” plugin. After deactivating it all the payment methods were shown as usual. Thank you for the support.
-
This reply was modified 2 years, 11 months ago by
- The topic ‘Payment Method/ Gateway Issue’ is closed to new replies.