Title: Payment Methods not working
Last modified: July 21, 2021

---

# Payment Methods not working

 *  Resolved [Jalis Mahmud Nabil](https://wordpress.org/support/users/jmnabil/)
 * (@jmnabil)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/payment-methods-not-working/)
 * Hi,
    I am faceing some issue with checkout page and payment. I select Cash on
   delivery as a payment method but The checkout page showing a credit/debid card
   payment. [https://prnt.sc/1e2zdfs](https://prnt.sc/1e2zdfs) I tried with some
   other payment plugins but nothing is working. It shows the card payment option.
   and when I visit checkout page my browser says,
 * > Prevented downloading of a dangerous object
 * I am using Woostify Theme. Please help me to solve this issue.
    Thanks and regards
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fpayment-methods-not-working%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Thread Starter [Jalis Mahmud Nabil](https://wordpress.org/support/users/jmnabil/)
 * (@jmnabil)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/payment-methods-not-working/#post-14686593)
 * My system stats
 * 
    ### WordPress Environment ###
 * WordPress address (URL): [https://nexanoo.com](https://nexanoo.com)
    Site address(
   URL): [https://nexanoo.com](https://nexanoo.com) WC Version: 5.5.1 REST API Version:
   ✔ 5.5.1 WC Blocks Version: ✔ 5.3.2 Action Scheduler Version: ✔ 3.2.1 WC Admin
   Version: ✔ 2.4.1 Log Directory Writable: ✔ WP Version: 5.8 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.4.21 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: 5.5.5-10.3.28-MariaDB-log-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: 5.5.1
    WC Database Prefix: wpep_ Total Database Size: 3.86MB
   Database Data Size: 3.39MB Database Index Size: 0.47MB wpep_woocommerce_sessions:
   Data: 0.29MB + Index: 0.01MB + Engine MyISAM wpep_woocommerce_api_keys: Data:
   0.00MB + Index: 0.00MB + Engine MyISAM wpep_woocommerce_attribute_taxonomies:
   Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpep_woocommerce_downloadable_product_permissions:
   Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpep_woocommerce_order_items: Data:
   0.00MB + Index: 0.00MB + Engine MyISAM wpep_woocommerce_order_itemmeta: Data:
   0.00MB + Index: 0.00MB + Engine MyISAM wpep_woocommerce_tax_rates: Data: 0.00MB
   + Index: 0.00MB + Engine MyISAM wpep_woocommerce_tax_rate_locations: Data: 0.00MB
   + Index: 0.00MB + Engine MyISAM wpep_woocommerce_shipping_zones: Data: 0.00MB
   + Index: 0.00MB + Engine MyISAM wpep_woocommerce_shipping_zone_locations: Data:
   0.00MB + Index: 0.00MB + Engine MyISAM wpep_woocommerce_shipping_zone_methods:
   Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpep_woocommerce_payment_tokens:
   Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpep_woocommerce_payment_tokenmeta:
   Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpep_woocommerce_log: Data: 0.00MB
   + Index: 0.00MB + Engine MyISAM wpep_actionscheduler_actions: Data: 0.04MB + 
   Index: 0.04MB + Engine MyISAM wpep_actionscheduler_claims: Data: 0.00MB + Index:
   0.00MB + Engine MyISAM wpep_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB
   + Engine MyISAM wpep_actionscheduler_logs: Data: 0.03MB + Index: 0.02MB + Engine
   MyISAM wpep_commentmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpep_comments:
   Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpep_links: Data: 0.00MB + Index:
   0.00MB + Engine MyISAM wpep_options: Data: 2.27MB + Index: 0.10MB + Engine MyISAM
   wpep_postmeta: Data: 0.53MB + Index: 0.14MB + Engine MyISAM wpep_posts: Data:
   0.18MB + Index: 0.04MB + Engine MyISAM wpep_termmeta: Data: 0.00MB + Index: 0.01MB
   + Engine MyISAM wpep_terms: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpep_term_relationships:
   Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpep_term_taxonomy: Data: 0.00MB
   + Index: 0.01MB + Engine MyISAM wpep_tinvwl_analytics: Data: 0.00MB + Index: 
   0.00MB + Engine MyISAM wpep_tinvwl_items: Data: 0.00MB + Index: 0.00MB + Engine
   MyISAM wpep_tinvwl_lists: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpep_usermeta:
   Data: 0.01MB + Index: 0.01MB + Engine MyISAM wpep_users: Data: 0.00MB + Index:
   0.01MB + Engine MyISAM wpep_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine
   MyISAM wpep_wc_admin_note_actions: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
   wpep_wc_category_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpep_wc_customer_lookup:
   Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpep_wc_download_log: Data: 0.00MB
   + Index: 0.00MB + Engine MyISAM wpep_wc_order_coupon_lookup: Data: 0.00MB + Index:
   0.00MB + Engine MyISAM wpep_wc_order_product_lookup: Data: 0.00MB + Index: 0.00MB
   + Engine MyISAM wpep_wc_order_stats: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
   wpep_wc_order_tax_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpep_wc_product_meta_lookup:
   Data: 0.01MB + Index: 0.02MB + Engine MyISAM wpep_wc_reserved_stock: Data: 0.00MB
   + Index: 0.00MB + Engine MyISAM wpep_wc_tax_rate_classes: Data: 0.00MB + Index:
   0.01MB + Engine MyISAM wpep_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine
   MyISAM wpep_wpforms_tasks_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM 
   wpep_wpmailsmtp_tasks_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpep_wpvivid_scan_result:
   Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpep_wpvivid_unused_uploads_files:
   Data: 0.00MB + Index: 0.00MB + Engine MyISAM
 * ### Post Type Counts ###
 * attachment: 106
    custom_css: 2 customize_changeset: 3 elementor_library: 5 nav_menu_item:
   18 page: 23 post: 15 product: 30 product_variation: 75 revision: 43
 * ### Security ###
 * Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔
 * ### Active Plugins (11) ###
 * Elementor: by Elementor.com – 3.3.1
    TI WooCommerce Wishlist: by TemplateInvaders–
   1.26.1 User Role Editor: by Vladimir Garagulya – 4.60.1 Variation Swatcher for
   WooCommerce: by ThemeAlien – 1.0.11 Checkout Field Editor for WooCommerce: by
   ThemeHigh – 1.4.8 WooCommerce: by Automattic – 5.5.1 Woostify Sites Library: 
   by Woostify – 1.3.3 WP Hide & Security Enhancer: by Nsp Code – 1.6.3.6 WP Mail
   SMTP: by WPForms – 2.9.0 WPForms Lite: by WPForms – 1.6.8.1 WPvivid Backup Plugin:
   by WPvivid Team – 0.9.54
 * ### Inactive Plugins (5) ###
 * Bangladeshi Payment Gateways: by ultraDevs – 2.0.4
    Jetpack: by Automattic – 
   9.9.1 States, Cities, and Places for WooCommerce: by Kingsley Ochu – 1.3.2 White
   Label CMS: by [http://www.videousermanuals.com](http://www.videousermanuals.com)–
   2.2.3 WooCommerce Smart COD: by woosmartcod.com – 1.6.1
 * ### Must Use Plugins (1) ###
 * wp-hide-loader.php: by –
 * ### Settings ###
 * API Enabled: –
    Force SSL: – Currency: BDT (৳ ) 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: #8 – /shop/
    Cart: #9 – /cart/ Checkout: #1216 – /place-order/ My 
   account: #11 – /my-account/ Terms and conditions: #683 – /privacy-policy-2/
 * ### Theme ###
 * Name: Woostify
    Version: 1.9.3 Author URL: [https://woostify.com/about](https://woostify.com/about)
   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: –
 * ### TI WooCommerce Wishlist Templates ###
 * Overrides: –
 * ### Action Scheduler ###
 * Complete: 162
    Oldest: 2021-07-14 20:33:58 +0000 Newest: 2021-07-21 20:46:34 
   +0000
 * Pending: 4
    Oldest: 2021-07-21 21:27:56 +0000 Newest: 2021-07-27 19:22:40 +0000
 * ### Status report information ###
 * Generated at: 2021-07-21 20:54:28 +00:00
    `
 *  Plugin Support [Gabriel – a11n](https://wordpress.org/support/users/gabrielfuentes/)
 * (@gabrielfuentes)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/payment-methods-not-working/#post-14686703)
 * Hi there 👋
 * It seems that this _Credit/Debit_ card field form is coming from your theme **
   Woostify**. So please reach out to their support team as they are the best equipped
   to help you out. Here is a link to their support forum:
 * [https://wordpress.org/support/theme/woostify/](https://wordpress.org/support/theme/woostify/)
 * You can confirm that by temporarily switching to Storefront Theme to see if that
   resolves the issue.
 * If it does resolve the issue, please reach out to them for a solution.
 * Hope that helps! 🙂
    -  This reply was modified 4 years, 9 months ago by [Gabriel - a11n](https://wordpress.org/support/users/gabrielfuentes/).
 *  Thread Starter [Jalis Mahmud Nabil](https://wordpress.org/support/users/jmnabil/)
 * (@jmnabil)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/payment-methods-not-working/#post-14686777)
 * I was installed Storefront theme. But the problem is not solved. Still, there
   is a card payment form instead of Cash on Delivery. I think it’s not theme problem.
   What should I do now?
 *  [Victor Wilson](https://wordpress.org/support/users/dsvwilson/)
 * (@dsvwilson)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/payment-methods-not-working/#post-14686834)
 * Howdy [@jmnabil](https://wordpress.org/support/users/jmnabil/)
 * This case looks like there is some other source that is overriding the payment
   method on your site and presenting the card payment method instead. From your
   System Status Report, I do not see a plugin that looks like it could be responsible
   for this problem which is why we earlier thought it was the theme. Since you 
   have switched themes and it is not the case, can you try a plugin conflict test?
 * Disable all plugins on your site except WooCommerce (keep Storefront enabled 
   as well) and test again. Does it still happen?
 * If it does, you will need to find out what plugin is responsible for activating
   your plugins one after the other while testing the Checkout each time. There’s
   more information [here](https://docs.woocommerce.com/document/how-to-test-for-conflicts/).
 * I hope this helps.
 *  Plugin Support [abwaita a11n](https://wordpress.org/support/users/abwaita/)
 * (@abwaita)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/payment-methods-not-working/#post-14687847)
 * Hi [@jmnabil](https://wordpress.org/support/users/jmnabil/),
 * We recently saw a thread with the same issue. It seems that these fields are 
   being injected by malware.
 * You can check the thread here: [https://wordpress.org/support/topic/woocommerce-checkout-issue-payment-methods-not-loading-strange-credit/#post-14619370](https://wordpress.org/support/topic/woocommerce-checkout-issue-payment-methods-not-loading-strange-credit/#post-14619370)
 * For reference, the same issue has been reported here (also affects Magento) with
   a number of workarounds for WooCommerce: [https://magento.stackexchange.com/questions/330122/hack-in-magento-2-payment](https://magento.stackexchange.com/questions/330122/hack-in-magento-2-payment)
 * Most have suggested either hiding the added fields with CSS or doing a fresh 
   reinstallation of WooCommerce. For reinstallation, you can follow [this guide](https://docs.woocommerce.com/document/installing-uninstalling-woocommerce/#reverting-to-a-previous-version-of-woocommerce)
   but in step 3, download the newest WooCommerce version.
 * Once you’ve tried the workarounds shared, you can get in touch with your host
   to see if they can further clean up or protect the site.
 * Thanks.
 *  [wphelpzone](https://wordpress.org/support/users/wphelpzone/)
 * (@wphelpzone)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/payment-methods-not-working/#post-14697486)
 * Hi [@jmnabil](https://wordpress.org/support/users/jmnabil/)
 * Navigate to your all theme’s woocommerce/checkout/form-checkout.php template 
   file. You’ll see some malicious code starts wit ” <?php try ” and ends with “
   catch ……}?>”. Removing the part from the file will fix your issue.
 * But fixing this is not enough because there is a big chance that your site will
   be hacked again. So to protect your site use hire someone professional to help
   you secure your site.
 * Sincerely,
    Jahanggir Jaman [WordPress Maintenance Service](https://www.wphelpzone.com/)
   | [WP Community on Facebook](https://j.jaman.xyz/wp-support-group)
 *  Thread Starter [Jalis Mahmud Nabil](https://wordpress.org/support/users/jmnabil/)
 * (@jmnabil)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/payment-methods-not-working/#post-14697528)
 * Hi, [@wphelpzone](https://wordpress.org/support/users/wphelpzone/)
    Thanks for
   your help. I could not configure the malicious code.
 * I uninstalled and reinstalled my entire WordPress installation. Now the problem
   is solved. But I’m worried about next time. Can you please give me some guidelines,
   how can I protect my site and protect this malware for future time?
 * Thanks
 *  [wphelpzone](https://wordpress.org/support/users/wphelpzone/)
 * (@wphelpzone)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/payment-methods-not-working/#post-14697570)
 * Hi [@jmnabil](https://wordpress.org/support/users/jmnabil/)
 * Glad to hear that the problem is solved now.
 * You can ask WordPress and WooCommerce related specific questions in my Facebook
   group –
    [WordPress, WooCommerce Tips and Help Zone](https://www.facebook.com/groups/wpwoohelp)
 * To get stay updated with WordPress news and guides you can follow WPBeginner,
   WP Tavern, etc.
 * Sincerely,
    Jahanggir Jaman [WordPress Maintenance Service](https://www.wphelpzone.com/)
   | [WP Community on Facebook](https://www.facebook.com/groups/wpwoohelp)
 *  Plugin Support [Gabriel – a11n](https://wordpress.org/support/users/gabrielfuentes/)
 * (@gabrielfuentes)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/payment-methods-not-working/#post-14710474)
 * That’s wonderful! Glad to know that the responses from [@wphelpzone](https://wordpress.org/support/users/wphelpzone/)
   were helpful 😃
 * Great! I’m going to mark this as resolved – if you have any further questions,
   you can start a new thread.
 * Cheers.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Payment Methods not working’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

## Tags

 * [checkout](https://wordpress.org/support/topic-tag/checkout/)
 * [payment](https://wordpress.org/support/topic-tag/payment/)

 * 9 replies
 * 5 participants
 * Last reply from: [Gabriel – a11n](https://wordpress.org/support/users/gabrielfuentes/)
 * Last activity: [4 years, 9 months ago](https://wordpress.org/support/topic/payment-methods-not-working/#post-14710474)
 * Status: resolved