COD not valid payment method
-
Testing our new curbside shopping site using COD function because PayPal doesn’t allow seller protection with curbside shopping and local pick up (I digress). So… I did the following:
General:
Store Address inserted
Shipping locations: Disable shipping and locations
Default customer location: Shop base address
Enable taxes: unchecked (no sales tax in Oregon)Payments:
Enabled COD
Clicked Set up/Manage
Checked: Enable cash on delivery
Title: Cash/Credit on Curbside Pick Up
Description: Pay with cash/credit upon pickup
Instructions: Pay with cash or credit/debit when you arrive at curbside pickup
Enable local shipping: Any “local pickup” method
Accept for virtual orders: unchecked (there are no virtual orders)In testing my site I get the following error messages.
? 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.
? Invalid payment method.Any helpful suggestions would be fabulous. Thank you in advance for your time.
The page I need help with: [log in to see the link]
-
Digging around further I see that there is this in the status logs, about the same time I tried processing my first COD order.
02-25-2021 @ 12:08:45 – There was an error trying sync products using the Catalog Batch API for job 3d4774a6013732c6d6d4dafd0ca66ae5: Cannot create the API instance because the access token is missing.
Hi there ??
Let’s check your System Status and if there is an error on the WooCommerce Logs. So please, provide us the following:
- 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.
- Error log: share a copy of the fatal error log found under WooCommerce > System Status > Logs (if available)
Thanks!
Good Morning!
Status report
### WordPress Environment ### WordPress address (URL): https://habitatlanerestore.org Site address (URL): https://habitatlanerestore.org WC Version: 5.0.0 REST API Version: ? 5.0.0 WC Blocks Version: ? 4.0.0 Action Scheduler Version: ? 3.1.6 WC Admin Version: ? 1.9.0 Log Directory Writable: ? WP Version: 5.6.2 WP Multisite: – WP Memory Limit: 512 MB WP Debug Mode: – WP Cron: ? Language: en_US External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.3.27 PHP Post Max Size: 260 MB PHP Time Limit: 30 PHP Max Input Vars: 1000 cURL Version: 7.75.0 OpenSSL/1.1.1j SUHOSIN Installed: – MySQL Version: 5.7.23-23 Max Upload Size: 256 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 5.0.0 WC Database Prefix: wp_fpnwjgyd5g_ Total Database Size: 138.50MB Database Data Size: 128.39MB Database Index Size: 10.11MB wp_fpnwjgyd5g_woocommerce_sessions: Data: 56.64MB + Index: 2.90MB + Engine MyISAM wp_fpnwjgyd5g_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_fpnwjgyd5g_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_fpnwjgyd5g_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_fpnwjgyd5g_woocommerce_order_items: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp_fpnwjgyd5g_woocommerce_order_itemmeta: Data: 0.06MB + Index: 0.04MB + Engine MyISAM wp_fpnwjgyd5g_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_fpnwjgyd5g_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_fpnwjgyd5g_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_fpnwjgyd5g_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.02MB + Engine MyISAM wp_fpnwjgyd5g_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_fpnwjgyd5g_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_fpnwjgyd5g_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_fpnwjgyd5g_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_fpnwjgyd5g_actionscheduler_actions: Data: 0.03MB + Index: 0.03MB + Engine MyISAM wp_fpnwjgyd5g_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_fpnwjgyd5g_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_fpnwjgyd5g_actionscheduler_logs: Data: 0.02MB + Index: 0.02MB + Engine MyISAM wp_fpnwjgyd5g_auctions_for_woocommerce_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_fpnwjgyd5g_auction_bids: Data: 0.02MB + Index: 0.11MB + Engine InnoDB wp_fpnwjgyd5g_cf_forms: Data: 0.87MB + Index: 0.00MB + Engine MyISAM wp_fpnwjgyd5g_cf_form_entries: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_fpnwjgyd5g_cf_form_entry_meta: Data: 46.77MB + Index: 0.01MB + Engine MyISAM wp_fpnwjgyd5g_cf_form_entry_values: Data: 0.06MB + Index: 0.05MB + Engine MyISAM wp_fpnwjgyd5g_cf_pro_messages: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_fpnwjgyd5g_cf_queue_failures: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_fpnwjgyd5g_cf_queue_jobs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_fpnwjgyd5g_cf_tracking: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_fpnwjgyd5g_cf_tracking_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_fpnwjgyd5g_commentmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_fpnwjgyd5g_comments: Data: 0.03MB + Index: 0.02MB + Engine MyISAM wp_fpnwjgyd5g_cpappbk_forms: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wp_fpnwjgyd5g_cpappbk_messages: Data: 0.21MB + Index: 0.00MB + Engine MyISAM wp_fpnwjgyd5g_frmt_form_entry: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_fpnwjgyd5g_frmt_form_entry_meta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_fpnwjgyd5g_frmt_form_views: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_fpnwjgyd5g_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_fpnwjgyd5g_ms_snippets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_fpnwjgyd5g_options: Data: 2.86MB + Index: 0.18MB + Engine MyISAM wp_fpnwjgyd5g_postmeta: Data: 2.02MB + Index: 0.40MB + Engine MyISAM wp_fpnwjgyd5g_posts: Data: 2.89MB + Index: 0.20MB + Engine MyISAM wp_fpnwjgyd5g_rsssl_csp_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_fpnwjgyd5g_snippets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_fpnwjgyd5g_statistics_exclusions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_fpnwjgyd5g_statistics_historical: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_fpnwjgyd5g_statistics_pages: Data: 0.68MB + Index: 1.39MB + Engine MyISAM wp_fpnwjgyd5g_statistics_search: Data: 0.43MB + Index: 0.27MB + Engine MyISAM wp_fpnwjgyd5g_statistics_useronline: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_fpnwjgyd5g_statistics_visit: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp_fpnwjgyd5g_statistics_visitor: Data: 2.27MB + Index: 2.69MB + Engine MyISAM wp_fpnwjgyd5g_statistics_visitor_relationships: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_fpnwjgyd5g_termmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_fpnwjgyd5g_terms: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_fpnwjgyd5g_term_relationships: Data: 0.01MB + Index: 0.03MB + Engine MyISAM wp_fpnwjgyd5g_term_taxonomy: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_fpnwjgyd5g_usermeta: Data: 0.16MB + Index: 0.11MB + Engine MyISAM wp_fpnwjgyd5g_users: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp_fpnwjgyd5g_wc_admin_notes: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wp_fpnwjgyd5g_wc_admin_note_actions: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wp_fpnwjgyd5g_wc_appointments_availability: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_fpnwjgyd5g_wc_appointment_relationships: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_fpnwjgyd5g_wc_category_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_fpnwjgyd5g_wc_customer_lookup: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp_fpnwjgyd5g_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_fpnwjgyd5g_wc_order_coupon_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_fpnwjgyd5g_wc_order_product_lookup: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp_fpnwjgyd5g_wc_order_stats: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_fpnwjgyd5g_wc_order_tax_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_fpnwjgyd5g_wc_product_meta_lookup: Data: 0.02MB + Index: 0.02MB + Engine MyISAM wp_fpnwjgyd5g_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_fpnwjgyd5g_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_fpnwjgyd5g_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_fpnwjgyd5g_wfblockediplog: Data: 0.02MB + Index: 0.02MB + Engine MyISAM wp_fpnwjgyd5g_wfblocks7: Data: 0.13MB + Index: 0.07MB + Engine MyISAM wp_fpnwjgyd5g_wfconfig: Data: 2.46MB + Index: 0.02MB + Engine MyISAM wp_fpnwjgyd5g_wfcrawlers: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wp_fpnwjgyd5g_wffilechanges: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_fpnwjgyd5g_wffilemods: Data: 2.77MB + Index: 0.57MB + Engine MyISAM wp_fpnwjgyd5g_wfhits: Data: 1.07MB + Index: 0.19MB + Engine MyISAM wp_fpnwjgyd5g_wfhoover: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_fpnwjgyd5g_wfissues: Data: 0.02MB + Index: 0.01MB + Engine MyISAM wp_fpnwjgyd5g_wfknownfilelist: Data: 1.46MB + Index: 0.17MB + Engine MyISAM wp_fpnwjgyd5g_wflivetraffichuman: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_fpnwjgyd5g_wflocs: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wp_fpnwjgyd5g_wflogins: Data: 0.24MB + Index: 0.06MB + Engine MyISAM wp_fpnwjgyd5g_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_fpnwjgyd5g_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_fpnwjgyd5g_wfnotifications: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_fpnwjgyd5g_wfpendingissues: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_fpnwjgyd5g_wfreversecache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_fpnwjgyd5g_wfsnipcache: Data: 0.08MB + Index: 0.08MB + Engine MyISAM wp_fpnwjgyd5g_wfstatus: Data: 0.11MB + Index: 0.05MB + Engine MyISAM wp_fpnwjgyd5g_wftrafficrates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_fpnwjgyd5g_wpml_mails: Data: 3.52MB + Index: 0.00MB + Engine InnoDB wp_fpnwjgyd5g_wt_iew_action_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_fpnwjgyd5g_wt_iew_cron: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_fpnwjgyd5g_wt_iew_ftp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_fpnwjgyd5g_wt_iew_mapping_template: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ### Post Type Counts ### attachment: 866 def_reg_fields: 10 flamingo_contact: 2 flamingo_inbound: 4 foogallery: 8 foogallery-album: 1 forminator_forms: 1 gp_elements: 1 nav_menu_item: 23 oembed_cache: 1 page: 64 post: 34 product: 83 revision: 626 shop_order: 67 shop_order_refund: 2 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (22) ### Accordion Shortcodes: by Phil Buchanan – 2.4.2 Akismet Anti-Spam: by Automattic – 4.1.8 Appointment Hour Booking: by CodePeople.net – 6.4.07 Caldera Forms: by Caldera Forms – 1.9.3 Code Snippets: by Code Snippets Pro – 2.14.0 Display Posts: by Bill Erickson – 3.0.2 FooGallery: by FooPlugins – 1.10.3 GP Premium: by Tom Usborne – 1.12.3 IgniteWoo Updater: by IgniteWoo.com – 3.0.2 Insert Headers and Footers: by WPBeginner – 1.5.0 Jetpack by WordPress.com: by Automattic – 9.4 Limit Login Attempts Reloaded: by Limit Login Attempts Reloaded – 2.19.2 Really Simple SSL pro: by Really Simple Plugins – 4.1.5 Really Simple SSL: by Really Simple Plugins – 4.0.9 Simple CSS: by Tom Usborne – 1.1.1 Custom User Registration Fields for WooCommerce: by Addify – 1.6.2 WordPress Users & WooCommerce Customers Import Export(BASIC): by WebToffee – 2.0.7 WooCommerce Shipping & Tax: by Automattic – 1.25.7 WooCommerce: by Automattic – 5.0.0 StoreCustomizer Pro: by Kaira – 2.2.5 WP Mail Logging: by MailPoet – 1.9.7 WP Statistics: by VeronaLabs – 13.0.6 ### Inactive Plugins (6) ### CoBlocks: by GoDaddy – 2.8.1 Facebook for WooCommerce: by Facebook – 2.3.1 WooCommerce Auctions Pro: by IgniteWoo.com – 3.6.7 WooCommerce PayPal Checkout Gateway: by WooCommerce – 2.1.1 WooCommerce Stripe Gateway: by WooCommerce – 4.9.0 Wordfence Security: by Wordfence – 7.4.14 ### Dropin Plugins (1) ### object-cache.php: APCu Object Cache ### Must Use Plugins (2) ### installatron_hide_status_test.php: by – SSO: by Garth Mortensen Mike Hansen – 0.3 ### Settings ### API Enabled: – Force SSL: – Currency: USD ($) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: auction (auction) external (external) grouped (grouped) ignitewoo_auction (ignitewoo_auction) 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: #1789 - /curbside-shopping/ Cart: #1784 - /cart/ Checkout: #1785 - /checkout/ My account: #1786 - /my-account/ Terms and conditions: ? Page not set ### Theme ### Name: eugenerestore Version: (update to version 0 is available) Author URL: Child Theme: ? Parent Theme Name: GeneratePress Parent Theme Version: 3.0.2 Parent Theme Author URL: https://tomusborne.com WooCommerce Support: ? ### Templates ### Overrides: – ### Action Scheduler ### Complete: 63 Oldest: 2021-01-28 14:53:06 -0800 Newest: 2021-02-25 16:30:27 -0800
Fatal Error logs (there appears to be one for 2/7/21)
2021-02-04T00:01:30+00:00 CRITICAL Maximum execution time of 30 seconds exceeded in /home1/habitbg0/public_html/wp-includes/class-wp-image-editor-imagick.php on line 373
2021-02-04T00:03:08+00:00 CRITICAL Maximum execution time of 30 seconds exceeded in /home1/habitbg0/public_html/wp-includes/class-wp-image-editor-imagick.php on line 373
Okay…so I figured it out from an article I found here:
https://sangkrit.net/fix-woocommerce-invalid-shippingpayment-method-error/“….this kind of error comes when your address doesn’t match any shipping methods. So in-order to overcome this issue you just need to enable more shipping methods.”
So i poked about and updated my shipping locations from disable shipping and shipping calculations to ship to specific countries. This seemed weird to me because it’s local pick up and we are not shipping but nevertheless IT WORKED, YAY!
Now I just need to figure out how to make checkout simpler, don’t need all the billing information for COD. That’s for another day and forum topic ??
Darn it. Thought I had this beat, I tested on another computer and I’m getting the error again. So I’m not sure what to do.
Also, one last weird thing is the first (and only) successful order I had used my billing information. I never received an email notification of an order placed and when I went into “Orders” it showed the order but no customer information which would be the reason why I never received an email indicating that I received an order. So there’s that.
If anyone knows how I can proceed I will be very grateful.
Hey @rebelprincess,
I tried checking out just now on the site and ran into the same issue until I entered the street, city, state, and zip into the billing address.
The COD option isn’t available until the address verifies that the customer is eligible for local pickup.
What you might consider doing is changing the message so it doesn’t say there aren’t any payment methods available to one instructing them to enter their address first. You can do that with the Loco Translate plugin. It lets you alter text or “string” that are included in plugins by default.
Let us know how that goes.
Cheers
Thank you for taking the time to test. I will need to test again, I’m not sure if you actually placed the order (which I would delete if you did knowing you were testing). When I was able to do a successful order, only once, I received no email for the order and the order was devoid of any customer information. I shall test again, thanks for the heads up on the Loco Translate plugin. I’ll keep you posted.
I do appreciate your time into this issue. My deadline is fast approaching aaaaauuurrrggghhhh!
Well okay, I was able to do a successful order complete with email. DOING HAPPY DANCE RIGHT NOW. Just need to figure out how to use Loco Translate to change the messaging which will certainly make it clearer to our customers. Oh my goodness, I might actually sleep well tonight. Thank you!!!
Okay, I activated Loco Translate and clicked on WooCommerce. I received this message
Partially configured bundle
This bundle’s configuration has been automatically detected, but isn’t fully complete.1 file can’t be matched to a known set of strings
Advanced configurationImport config from XML
Get help with this
Author details
If you have trouble translating this bundle, consider asking the author for help.“WooCommerce” 5.0.0 by Automattic — Visit official site
I think that Loco Translate may be over my head (that’s an understatement). I’m going to consider my first issue resolved, as I’ve been able to test my original issue to perfection. Thank you everyone who helped me through this, I truly appreciate your time. Going to start a new topic.
- The topic ‘COD not valid payment method’ is closed to new replies.