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
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 regardsThe page I need help with: [log in to see the link]
-
My system stats
### WordPress Environment ###WordPress address (URL): https://nexanoo.com
Site address (URL): 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.1dSUHOSIN 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 – 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
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 +0000Pending: 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
`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/
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.
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?
Howdy @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.
I hope this helps.
Hi @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
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
Most have suggested either hiding the added fields with CSS or doing a fresh reinstallation of WooCommerce. For reinstallation, you can follow this guide 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.
Hi @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 | WP Community on FacebookHi, @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
Hi @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 ZoneTo get stay updated with WordPress news and guides you can follow WPBeginner, WP Tavern, etc.
Sincerely,
Jahanggir Jaman
WordPress Maintenance Service | WP Community on FacebookThat’s wonderful! Glad to know that the responses from @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.
-
This reply was modified 4 years, 9 months ago by
The topic ‘Payment Methods not working’ is closed to new replies.