woocommerce / woocommerce-paypal-payments

https://wordpress.org/plugins/woocommerce-paypal-payments/
GNU General Public License v2.0
62 stars 48 forks source link

Payment option for Credit Cards keeps disappearing #1464

Closed New-Hope-Mills closed 1 year ago

New-Hope-Mills commented 1 year ago

Describe the Bug

On the checkout page, the radio input for "Credit Cards" (including the label and card icons) will not display. Only PayPal options are available. The only way I can get it to work is by going to the backend, WooCommerce > Settings > Payments > Advanced Card Processing and hitting "Save", without changing anything.

To Reproduce

While I don't know what causes this or when it might happen again (this is the third time), here is where the problem occurs

  1. Go to newhopemills.com
  2. Add any item to the cart
  3. Go to checkout
  4. Try to select to pay with credit card (I already got it working correctly again, so the option isn't missing at the moment)

Screenshots

Expected behavior Expected

Actual behavior Actual

Expected Behavior

The option to choose to pay by credit card is visible and selectable.

Actual Behavior

Customers are unable to pay by credit card because the option does not appear.

Environment

Additional Details

System status ``` ` ### WordPress Environment ### WordPress address (URL): https://newhopemills.com Site address (URL): https://newhopemills.com WC Version: 7.8.0 REST API Version: ✔ 7.8.0 WC Blocks Version: ✔ 10.2.3 Action Scheduler Version: ✔ 3.5.4 Log Directory Writable: ✔ WP Version: 6.2.2 WP Multisite: – WP Memory Limit: 2 GB WP Debug Mode: – WP Cron: ✔ Language: en_US External object cache: ✔ ### Server Environment ### Server Info: Apache PHP Version: 8.2.6 PHP Post Max Size: 2 GB PHP Time Limit: 600 PHP Max Input Vars: 16384 cURL Version: 7.29.0 NSS/3.53.1 SUHOSIN Installed: – MySQL Version: 10.5.16-MariaDB Max Upload Size: 2 GB Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument: ✔ GZip: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔ ### Database ### WC Database Version: 7.8.0 WC Database Prefix: wp_ Total Database Size: 274.75MB Database Data Size: 147.98MB Database Index Size: 126.77MB wp_woocommerce_sessions: Data: 1.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_woocommerce_order_items: Data: 2.52MB + Index: 1.52MB + Engine InnoDB wp_woocommerce_order_itemmeta: Data: 20.55MB + Index: 13.03MB + Engine InnoDB wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpstg0_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpstg0_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wpstg0_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpstg0_options: Data: 2.52MB + Index: 0.13MB + Engine InnoDB wpstg0_postmeta: Data: 1.52MB + Index: 0.42MB + Engine InnoDB wpstg0_posts: Data: 1.52MB + Index: 0.13MB + Engine InnoDB wpstg0_slp_extendo_meta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wpstg0_smush_dir_images: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpstg0_store_locator: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wpstg0_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpstg0_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpstg0_term_relationships: Data: 0.06MB + Index: 0.05MB + Engine InnoDB wpstg0_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpstg0_usermeta: Data: 0.05MB + Index: 0.03MB + Engine InnoDB wpstg0_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wpstg0_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpstg0_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpstg0_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpstg0_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpstg0_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wpstg0_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpstg0_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpstg0_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpstg0_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpstg0_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpstg0_woocommerce_sessions: Data: 1.52MB + Index: 0.02MB + Engine InnoDB wpstg0_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpstg0_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpstg0_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpstg0_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wpstg0_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_actionscheduler_actions: Data: 13.03MB + Index: 15.09MB + Engine InnoDB wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_logs: Data: 8.09MB + Index: 6.03MB + Engine InnoDB wp_ajaxsearchpro: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_ajaxsearchpro_priorities: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_ajaxsearchpro_statistics: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_asp_index: Data: 1.38MB + Index: 0.80MB + Engine InnoDB wp_asp_synonyms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_badgeos_achievements: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_badgeos_points: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_badgeos_ranks: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_commentmeta: Data: 0.47MB + Index: 0.48MB + Engine InnoDB wp_comments: Data: 10.52MB + Index: 10.09MB + Engine InnoDB wp_db7_forms: Data: 0.05MB + Index: 0.00MB + Engine InnoDB wp_fbv: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_fbv_attachment_folder: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_fg_redirect: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_learndash_pro_quiz_category: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_learndash_pro_quiz_form: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_learndash_pro_quiz_lock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_learndash_pro_quiz_master: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_learndash_pro_quiz_prerequisite: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_learndash_pro_quiz_question: Data: 0.13MB + Index: 0.03MB + Engine InnoDB wp_learndash_pro_quiz_statistic: Data: 0.14MB + Index: 0.00MB + Engine InnoDB wp_learndash_pro_quiz_statistic_ref: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_learndash_pro_quiz_template: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_learndash_pro_quiz_toplist: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_learndash_user_activity: Data: 0.06MB + Index: 0.13MB + Engine InnoDB wp_learndash_user_activity_meta: Data: 0.27MB + Index: 0.30MB + Engine InnoDB wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_nf3_actions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_nf3_action_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_nf3_chunks: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_nf3_fields: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_nf3_field_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_nf3_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_nf3_form_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_nf3_objects: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_nf3_object_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_nf3_relationships: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_nf3_upgrades: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_options: Data: 6.33MB + Index: 0.14MB + Engine InnoDB wp_p2p: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_p2pmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_postmeta: Data: 36.58MB + Index: 42.14MB + Engine InnoDB wp_posts: Data: 13.50MB + Index: 7.83MB + Engine InnoDB wp_redirection_404: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_redirection_groups: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_redirection_items: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_redirection_logs: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_slp_extendo_meta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_smush_dir_images: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_social_users: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_store_locator: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_termmeta: Data: 0.05MB + Index: 0.03MB + Engine InnoDB wp_terms: Data: 0.05MB + Index: 0.03MB + Engine InnoDB wp_term_relationships: Data: 0.09MB + Index: 0.06MB + Engine InnoDB wp_term_taxonomy: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wp_usermeta: Data: 16.55MB + Index: 20.06MB + Engine InnoDB wp_users: Data: 1.52MB + Index: 0.80MB + Engine InnoDB wp_wc_admin_notes: Data: 0.09MB + Index: 0.00MB + Engine InnoDB wp_wc_admin_note_actions: Data: 0.08MB + Index: 0.02MB + Engine InnoDB wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_customer_lookup: Data: 1.52MB + Index: 0.56MB + Engine InnoDB wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_coupon_lookup: Data: 0.08MB + Index: 0.11MB + Engine InnoDB wp_wc_order_product_lookup: Data: 2.52MB + Index: 3.80MB + Engine InnoDB wp_wc_order_stats: Data: 1.52MB + Index: 0.72MB + Engine InnoDB wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_product_meta_lookup: Data: 0.05MB + Index: 0.09MB + Engine InnoDB wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_spm_checkpoints: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wpmm_subscribers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpstg_queue: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_yith_wcwl: Data: 0.08MB + Index: 0.02MB + Engine InnoDB wp_yith_wcwl_lists: Data: 0.09MB + Index: 0.05MB + Engine InnoDB ### Post Type Counts ### achievement-type: 1 amn_mi-lite: 1 attachment: 607 blocks: 9 custom_css: 4 elementor_library: 2 et_pb_layout: 5 et_pb_layout_stashed: 8 featured_item: 9 groups: 1 happyform: 1 happyforms-message: 3 jetpack_migration: 2 jp_img_sitemap: 1 jp_sitemap: 1 jp_sitemap_master: 1 jp_vid_sitemap: 1 layout: 3 nav_menu_item: 19 oembed_cache: 2 page: 38 pm_insight: 72 pm_page: 110 pm_report: 62 pm_site_change: 50 post: 63 product: 118 product_variation: 84 revision: 1312 sfwd-certificates: 1 sfwd-courses: 2 sfwd-lessons: 5 sfwd-question: 35 sfwd-quiz: 4 sfwd-topic: 4 shop_coupon: 7818 shop_order: 12791 shop_order_refund: 215 wpcf7_contact_form: 7 wp_block: 1 wp_global_styles: 1 wp_navigation: 1 ### Security ### Secure connection (HTTPS): ✔ Hide errors from visitors: ✔ ### Active Plugins (32) ### Ajax Search Pro: by Ernest Marcinko – 4.26.2 Akismet Anti-Spam: Spam Protection: by Automattic - Anti Spam Team – 5.2 Auto Login New User After Registration: by Jeff Sherk – 1.9.6 BadgeOS LearnDash Add-On: by BadgeOS – 1.2.5 BadgeOS: by LearningTimes – 3.7.1.6 Contact Form 7 - Phone mask field: by Ruslan Heorhiiev – 1.4.2 Conditional Fields PRO: by Jules Colle – 2.3.9 Contact Form 7 Multi Step Pro: by NinjaTeam – 2.6.3 Contact Form 7: by Takayuki Miyoshi – 5.7.7 Yoast Duplicate Post: by Enrico Battocchi & Team Yoast – 4.5 Google Analytics for WordPress by MonsterInsights: by MonsterInsights – 8.16 Jetpack: by Automattic – 12.2.1 Kosmos eSync Dashboard Connector: by Kosmos Central – 1.0.1 LearnDash Content Cloner: by WisdmLabs – 1.3.1 LearnDash LMS - Course Grid: by LearnDash – 2.0.6 LearnDash Licensing & Management: by LearnDash – 1.1.2 No Category Base (WPML): by Marios Alexandrou – 1.3 CM Commerce for WooCommerce: by Campaign Monitor – 1.6.6 Redirection: by John Godley – 5.3.10 LearnDash LMS: by LearnDash – 4.3.1.2 ShipWorks Connector: by AdvancedCreation – 5.0.5 Sucuri Security - Auditing, Malware Scanner and Hardening: by Sucuri Inc. – 1.8.39 UpdraftPlus - Backup/Restore: by UpdraftPlus.Com DavidAnderson – 2.23.6.26 WooCommerce PayPal Payments: by WooCommerce – 2.1.0 WooCommerce FedEx Shipping: by WooCommerce – 3.7.3 WooCommerce Stamps.com API integration: by WooCommerce – 1.9.1 WooCommerce UPS Shipping: by WooCommerce – 3.4.3 WooCommerce USPS Shipping: by WooCommerce – 4.6.3 WooCommerce: by Automattic – 7.8.0 Smush: by WPMU DEV – 3.13.1 WP STAGING PRO - Backup Duplicator & Migration: by WP-STAGING – 4.9.0 YITH WooCommerce Wishlist: by YITH – 3.22.0 ### Inactive Plugins (0) ### ### Dropin Plugins (2) ### fatal-error-handler.php: fatal-error-handler.php object-cache.php: Redis Object Cache Drop-In ### Must Use Plugins (3) ### LearnDash LMS Multisite: by LearnDash – 1.0.0 Nexcess Managed Apps: by Nexcess – 1.41.0 WP STAGING Optimizer: by René Hermenau – 1.5.1 ### Settings ### API Enabled: – Force SSL: ✔ Currency: USD ($) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) subscription (subscription) variable (variable) variable subscription (variable-subscription) 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: ✔ Enforce Approved Product Download Directories: – HPOS feature screen enabled: – HPOS feature enabled: – Order datastore: WC_Order_Data_Store_CPT HPOS data sync enabled: – ### WC Pages ### Shop base: #4712 - /shop/ Cart: #19 - /cart/ Checkout: #20 - /checkout/ My account: #21 - /my-account/ Terms and conditions: #3081 - /terms-of-sale/ ### Theme ### Name: Flatsome Child Version: 3.0 Author URL: Child Theme: ✔ Parent Theme Name: Flatsome Parent Theme Version: 3.17.2 Parent Theme Author URL: https://uxthemes.com WooCommerce Support: ✔ ### Templates ### Overrides: flatsome/woocommerce/archive-product.php flatsome/woocommerce/cart/cart-empty.php flatsome/woocommerce/cart/cart-shipping.php flatsome/woocommerce/cart/cart.php flatsome/woocommerce/checkout/form-checkout.php flatsome/woocommerce/checkout/form-coupon.php flatsome/woocommerce/checkout/terms.php flatsome/woocommerce/checkout/thankyou.php flatsome/woocommerce/content-product-cat.php flatsome/woocommerce/content-product.php flatsome/woocommerce/content-single-product.php flatsome/woocommerce/content-widget-product.php flatsome-child/woocommerce/emails/customer-reset-password.php flatsome/woocommerce/global/breadcrumb.php flatsome/woocommerce/global/quantity-input.php flatsome/woocommerce/global/wrapper-end.php flatsome/woocommerce/global/wrapper-start.php flatsome/woocommerce/loop/loop-end.php flatsome/woocommerce/loop/loop-start.php flatsome/woocommerce/loop/pagination.php flatsome/woocommerce/loop/rating.php flatsome/woocommerce/loop/result-count.php flatsome/woocommerce/loop/sale-flash.php flatsome/woocommerce/myaccount/form-login.php flatsome/woocommerce/myaccount/navigation.php flatsome/woocommerce/notices/error.php flatsome/woocommerce/notices/notice.php flatsome/woocommerce/notices/success.php flatsome/woocommerce/product-searchform.php flatsome/woocommerce/single-product/photoswipe.php flatsome/woocommerce/single-product/price.php flatsome/woocommerce/single-product/product-image.php flatsome/woocommerce/single-product/product-thumbnails.php flatsome/woocommerce/single-product/rating.php flatsome/woocommerce/single-product/related.php flatsome/woocommerce/single-product/review.php flatsome/woocommerce/single-product/sale-flash.php flatsome/woocommerce/single-product/share.php flatsome/woocommerce/single-product/short-description.php flatsome/woocommerce/single-product/tabs/tabs.php flatsome/woocommerce/single-product/title.php flatsome/woocommerce/single-product/up-sells.php flatsome/woocommerce/single-product-reviews.php flatsome/woocommerce/single-product.php ### WooCommerce PayPal Payments ### Onboarded: ✔ Shop country code: US WooCommerce currency supported: ✔ Advanced Card Processing available in country: ✔ Pay Later messaging available in country: ✔ Webhook status: ✔ Vault enabled: ✔ Logging enabled: ✔ Reference Transactions: – Used PayPal Checkout plugin: ✔ Tracking enabled: – ### Admin ### Enabled Features: activity-panels analytics product-block-editor coupons customer-effort-score-tracks import-products-task experimental-fashion-sample-products shipping-smart-defaults shipping-setting-tour homescreen marketing mobile-app-banner navigation onboarding onboarding-tasks remote-inbox-notifications remote-free-extensions payment-gateway-suggestions shipping-label-banner subscriptions store-alerts transient-notices woo-mobile-welcome wc-pay-promotion wc-pay-welcome-page Disabled Features: core-profiler minified-js new-product-management-experience product-variation-management settings async-product-editor-category-field Daily Cron: ✔ Next scheduled: 2023-06-24 12:49:40 -05:00 Options: ✔ Notes: 176 Onboarding: completed ### Action Scheduler ### Complete: 1,053 Oldest: 2023-05-23 15:03:21 +0000 Newest: 2023-06-23 11:53:17 +0000 Failed: 2,275 Oldest: 2019-06-07 04:02:20 +0000 Newest: 2023-06-07 18:11:18 +0000 Pending: 2 Oldest: 2023-06-23 23:21:23 +0000 Newest: 2023-06-26 22:00:22 +0000 ### Status report information ### Generated at: 2023-06-23 08:30:37 -05:00 ` ```
Sirvijver commented 1 year ago

Hello @New-Hope-Mills

Hope you are doing well. You have reached out to open GitHub forum with a support request. We utilize GitHub mainly for development activities, so I would like to ask you to reach out to the support team directly for more guidance.

However, the issue that you described is already known with us and we have an issue open here: https://github.com/woocommerce/woocommerce-paypal-payments/issues/1432

In order for you to test this possible fix I have created a package for you to test that you can download here.

If you have any feedback to share with us, please do this on the linked issue. I will close this thread as a support request thread. If you need our further assistance, please open a support request via the link provided above.

Kind regards, Joost