Issue with WooCommerce Stripe and PayPal Plugin Integration
-
Hi team,
We are a Hong Kong-based company and unfortunately, we cannot use PayPal Express Checkout through Stripe. Therefore, we would like to use both the WooCommerce Stripe plugin and WooCommerce PayPal plugin together.
However, after enabling both in WooCommerce > Settings > Payment, when we go to the checkout page and press “Place Order” without entering any payment details, we receive the following error message: “Your card number is incomplete.”
This issue does not occur if we enable only one of the plugins. I understand that many stores use both plugins together, so I’m not sure why this issue is happening in our case.
I searched some forums, and it was suggested that there might be an issue with CSS, but we couldn’t find any problematic CSS code in our checkout page.
Could you please help us resolve this issue? Any suggestions or guidance would be greatly appreciated.
Thank you in advance for your support.
The page I need help with: [log in to see the link]
-
Hi @harrieintl ,
I see you’re having trouble with the Stripe and PayPal plugins on your checkout page.
However, after enabling both in?WooCommerce > Settings > Payment, when we go to the checkout page and press “Place Order” without entering any payment details, we receive the following error message: “Your card number is incomplete.”
This error usually means there’s a bit of confusion on the checkout page about which payment method to use. To move forward please try these solutions:
- Checkout Settings: On the WooCommerce > Settings > Payments page, make sure both Stripe and PayPal payment methods are set up correctly without any overlap in the settings.
- Payment Method Selection: Ensure that customers have to choose a payment method before hitting “Place Order”. This way the system won’t look for card details if PayPal is selected.
This issue does not occur if we enable only one of the plugins. I understand that many stores use both plugins together, so I’m not sure why this issue is happening in our case.
About this, you’re correct that you can use both the PayPal and Stripe plugins on your WooCommerce site without conflict. Lots of shops use them together so customers can choose their preferred payment method.
Since you mentioned that this error only happens when you enable only one of the plugins, could you confirm if the error happens when you enable just the WooCommerce Stripe plugin, or just the WooCommerce PayPal plugin?
Additionally, if the issue persists after trying the two possible solutions above, please send us a system status report so that we can take a closer look at your setup. You can get this by going to WooCommerce > Status in your dashboard. Click on the ‘Get system report’ button, then ‘Copy for support’, then you can paste the text in here using the “<code>” block.
Looking forward to getting this sorted out.
Hi team,
Thank you for explaining everything.
I have confirmed that Stripe and PayPal are both properly integrated in the checkout settings, as you mentioned.
Could you please provide detailed instructions on how to require customers to choose a payment method before placing an order? I’d like to follow your guidance on this.
The error only occurs when I activate both Stripe and PayPal under WooCommerce > Settings > Payment. It does not happen when I activate just one plugin.
I’m attaching the system report as you suggested.
Additionally, I tried using PayPal by Payment Plugins, but could you please confirm if there’s a compatibility issue between this plugin and WooCommerce Stripe? (I tried via “Woocommerce Paypal” plugin first, but it did not work either with the same error message: “Your card number is incomplete.”)
Thank you for your help.<br>### WordPress Environment ###<br><br>WordPress address (URL): https://esimphilippines.com<br>Site address (URL): https://esimphilippines.com<br>WC Version: 9.3.3<br>Legacy REST API Package Version: The Legacy REST API plugin is not installed on this site.<br>Action Scheduler Version: ? 3.8.2<br>Log Directory Writable: ?<br>WP Version: ? 6.5.4 - There is a newer version of WordPress available (6.6.2)<br>WP Multisite: –<br>WP Memory Limit: 800 MB<br>WP Debug Mode: –<br>WP Cron: ?<br>Language: en_US<br>External object cache: ?<br><br>### Server Environment ###<br><br>Server Info: nginx/1.25.1<br>PHP Version: 8.3.8<br>PHP Post Max Size: 800 MB<br>PHP Time Limit: 600<br>PHP Max Input Vars: 1000<br>cURL Version: 8.7.1<br>OpenSSL/3.3.1<br><br>SUHOSIN Installed: –<br>MySQL Version: 8.0.32<br>Max Upload Size: 800 MB<br>Default Timezone is UTC: ?<br>fsockopen/cURL: ?<br>SoapClient: ? Your server does not have the SoapClient class enabled - some gateway plugins which use SOAP may not work as expected.<br>DOMDocument: ?<br>GZip: ?<br>Multibyte String: ?<br>Remote Post: ?<br>Remote Get: ?<br><br>### Database ###<br><br>WC Database Version: 9.3.3<br>WC Database Prefix: wppp_<br>Total Database Size: 93.54MB<br>Database Data Size: 90.12MB<br>Database Index Size: 3.42MB<br>wppp_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wppp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wppp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wppp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wppp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wppp_woocommerce_order_itemmeta: Data: 0.05MB + Index: 0.03MB + Engine InnoDB<br>wppp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wppp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wppp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wppp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wppp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wppp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wppp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wppp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wppp_actionscheduler_actions: Data: 1.02MB + Index: 0.11MB + Engine InnoDB<br>wppp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wppp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wppp_actionscheduler_logs: Data: 0.06MB + Index: 0.03MB + Engine InnoDB<br>wppp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wppp_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB<br>wppp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wppp_options: Data: 10.05MB + Index: 0.14MB + Engine InnoDB<br>wppp_postmeta: Data: 11.42MB + Index: 0.83MB + Engine InnoDB<br>wppp_posts: Data: 18.13MB + Index: 0.23MB + Engine InnoDB<br>wppp_rank_math_internal_links: Data: 0.05MB + Index: 0.02MB + Engine InnoDB<br>wppp_rank_math_internal_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wppp_snippets: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wppp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wppp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wppp_termmeta: Data: 0.05MB + Index: 0.03MB + Engine InnoDB<br>wppp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wppp_usermeta: Data: 0.06MB + Index: 0.03MB + Engine InnoDB<br>wppp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wppp_wc_admin_note_actions: Data: 0.06MB + Index: 0.02MB + Engine InnoDB<br>wppp_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB<br>wppp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wppp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wppp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wppp_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wppp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wppp_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wppp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wppp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wppp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wppp_wc_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB<br>wppp_wc_orders_meta: Data: 0.06MB + Index: 0.09MB + Engine InnoDB<br>wppp_wc_product_attributes_lookup: Data: 0.08MB + Index: 0.08MB + Engine InnoDB<br>wppp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wppp_wc_product_meta_lookup: Data: 0.08MB + Index: 0.14MB + Engine InnoDB<br>wppp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wppp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wppp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wppp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wppp_wfblockediplog: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wppp_wfblocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wppp_wfconfig: Data: 1.34MB + Index: 0.00MB + Engine InnoDB<br>wppp_wfcrawlers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wppp_wffilechanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wppp_wffilemods: Data: 31.58MB + Index: 0.00MB + Engine InnoDB<br>wppp_wfhits: Data: 0.08MB + Index: 0.05MB + Engine InnoDB<br>wppp_wfhoover: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wppp_wfissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wppp_wfknownfilelist: Data: 14.52MB + Index: 0.00MB + Engine InnoDB<br>wppp_wflivetraffichuman: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wppp_wflocs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wppp_wflogins: Data: 0.06MB + Index: 0.03MB + Engine InnoDB<br>wppp_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wppp_wfls_role_counts: Data: 0.00MB + Index: 0.00MB + Engine MEMORY<br>wppp_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wppp_wfnotifications: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wppp_wfpendingissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wppp_wfreversecache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wppp_wfsecurityevents: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wppp_wfsnipcache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wppp_wfstatus: Data: 0.13MB + Index: 0.09MB + Engine InnoDB<br>wppp_wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wppp_wfwaffailures: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wppp_wpfm_backup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wppp_wpmailsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wppp_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br><br>### Post Type Counts ###<br><br>attachment: 203<br>custom_css: 1<br>custom-css-js: 11<br>customize_changeset: 2<br>fpf_fields: 1<br>nav_menu_item: 25<br>page: 17<br>post: 4<br>product: 18<br>product_variation: 386<br>revision: 89<br>shop_coupon: 2<br>shop_order_placehold: 20<br>shortcoder: 3<br>wp_font_family: 12<br>wp_global_styles: 1<br>wp_navigation: 1<br><br>### Security ###<br><br>Secure connection (HTTPS): ?<br>Hide errors from visitors: ?<br><br>### Active Plugins (23) ###<br><br>Caddy - Smart Side Cart for WooCommerce: by Tribe Interactive – 2.0.1<br>Code Snippets: by Code Snippets Pro – 3.6.5.1<br>Simple Custom CSS and JS: by SilkyPress.com – 3.47<br>Flexible Product Fields: by WP Desk – 2.4.6<br>MonsterInsights - eCommerce Addon: by MonsterInsights Team – 8.5.4<br>MonsterInsights Pro: by MonsterInsights – 9.0.2<br>Judge.me Product Reviews for WooCommerce: by Judge.me – 1.3.24<br>MonsterInsights - Forms Tracking Addon: by MonsterInsights Team – 2.3.2<br>Payment Plugins for PayPal WooCommerce: by Payment Plugins<br>[email protected] – 1.0.52<br><br>Rank Math SEO: by Rank Math – 1.0.228<br>Shortcoder: by Aakash Chakravarthy – 6.4<br>Swatchly - Variation Swatches for WooCommerce Products: by HasThemes – 1.3.4<br>Spectra: by Brainstorm Force – 2.16.2<br>W3 Total Cache: by BoldGrid – 2.7.7<br>Fraud Prevention For WooCommerce and EDD: by theDotstore – 2.2.2<br>Checkout Field Editor for WooCommerce: by ThemeHigh – 2.0.4<br>Product Gallery Slider for WooCommerce: by Codeixer – 2.3.10<br>WooCommerce Stripe Gateway: by WooCommerce – 8.8.0<br>WooCommerce: by Automattic – 9.3.3<br>Wordfence Security: by Wordfence – 7.11.7<br>WP File Manager: by mndpsingh287 – 8.0<br>WP Mail SMTP: by WP Mail SMTP – 4.1.1<br>WPS Hide Login: by WPServeur<br>NicolasKulka<br>wpformation – 1.9.17.1<br><br><br>### Inactive Plugins (2) ###<br><br>Gallery Slider for WooCommerce: by WooGallery Slider Team<br>ShapedPlugin LLC – 2.0.5<br><br>Variation Swatches for WooCommerce: by Emran Ahmed – 2.1.2<br><br>### Dropin Plugins () ###<br><br>advanced-cache.php: advanced-cache.php<br>db.php: db.php<br>object-cache.php: object-cache.php<br><br>### Settings ###<br><br>Legacy API Enabled: –<br>Force SSL: –<br>Currency: USD ($)<br>Currency Position: left<br>Thousand Separator: ,<br>Decimal Separator: .<br>Number of Decimals: 2<br>Taxonomies: Product Types: external (external)<br>grouped (grouped)<br>simple (simple)<br>variable (variable)<br><br>Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)<br>exclude-from-search (exclude-from-search)<br>featured (featured)<br>outofstock (outofstock)<br>rated-1 (rated-1)<br>rated-2 (rated-2)<br>rated-3 (rated-3)<br>rated-4 (rated-4)<br>rated-5 (rated-5)<br><br>Connected to WooCommerce.com: –<br>Enforce Approved Product Download Directories: ?<br>HPOS feature enabled: ?<br>Order datastore: Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore<br>HPOS data sync enabled: –<br><br>### Logging ###<br><br>Enabled: ?<br>Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2<br>Retention period: 30 days<br>Level threshold: –<br>Log directory size: 510 KB<br><br>### WC Pages ###<br><br>Shop base: #8 - /best-esim-philippines/<br>Cart: #9 - /cart/ - Contains the [woocommerce_cart] shortcode<br>Checkout: #10 - /checkout/ - Contains the [woocommerce_checkout] shortcode<br>My account: ? Page ID is set<br>but the page does not exist<br><br>Terms and conditions: #177 - /terms-and-conditions/<br><br>### Theme ###<br><br>Name: Astra<br>Version: 4.7.2 (update to version 4.8.3 is available)<br>Author URL: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme<br>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<br>WooCommerce Support: ?<br><br>### Templates ###<br><br>Overrides: /var/www/html/wp-content/plugins/woo-product-gallery-slider/includes/product-image.php<br><br>### Admin ###<br><br>Enabled Features: activity-panels<br>analytics<br>product-block-editor<br>coupons<br>core-profiler<br>customize-store<br>customer-effort-score-tracks<br>import-products-task<br>experimental-fashion-sample-products<br>shipping-smart-defaults<br>shipping-setting-tour<br>homescreen<br>marketing<br>mobile-app-banner<br>navigation<br>onboarding<br>onboarding-tasks<br>pattern-toolkit-full-composability<br>product-custom-fields<br>remote-inbox-notifications<br>remote-free-extensions<br>payment-gateway-suggestions<br>printful<br>shipping-label-banner<br>subscriptions<br>store-alerts<br>transient-notices<br>woo-mobile-welcome<br>wc-pay-promotion<br>wc-pay-welcome-page<br>launch-your-store<br><br>Disabled Features: experimental-blocks<br>minified-js<br>product-pre-publish-modal<br>settings<br>async-product-editor-category-field<br>product-editor-template-system<br>blueprint<br>reactify-classic-payments-settings<br><br>Daily Cron: ? Next scheduled: 2024-10-24 11:09:08 +00:00<br>Options: ?<br>Notes: 72<br>Onboarding: completed<br><br>### Action Scheduler ###<br><br>Complete: 137<br>Oldest: 2024-09-23 05:49:04 +0000<br>Newest: 2024-10-23 08:19:17 +0000<br><br>Failed: 4<br>Oldest: 2024-07-10 11:10:15 +0000<br>Newest: 2024-10-22 03:15:28 +0000<br><br>Pending: 3<br>Oldest: 2024-10-24 06:59:26 +0000<br>Newest: 2024-10-28 15:43:32 +0000<br><br><br>### Status report information ###<br><br>Generated at: 2024-10-24 03:46:25 +00:00<br>
Hi @harrieintl ,
Thank you for sending the system status report, this is helpful. After reviewing it here are the steps I would suggest.
- Update WordPress and WooCommerce: Ensure both WordPress and WooCommerce are up-to-date to maintain plugin compatibility and functionality.
- Plugin Conflict Test: Disable all non-essential plugins, and test only activating WooCommerce Stripe and WooCommerce PayPal enabled. If the issue resolves, re-enable each plugin one by one to identify the culprit.
- Theme Update and Conflict Check: Update your theme to the latest version. Also, consider temporarily switching to a default WordPress theme like Twenty Twenty-One to rule out theme-related issues.
Here’s a guide for 2 & 3: https://woocommerce.com/document/how-to-test-for-conflicts/
Be sure to secure a backup of your site before making any changes, or test on a staging site if possible.Could you please provide detailed instructions on how to require customers to choose a payment method before placing an order? I’d like to follow your guidance on this.
The error only occurs when I activate both Stripe and PayPal under WooCommerce > Settings > Payment. It does not happen when I activate just one plugin.About this, to make sure customers must select a payment method before they place an order, please try these steps:
1. Navigate to WooCommerce > Settings > Payments.
2. Review the payment methods listed to ensure they are enabled and properly set up. Each should have a clear and distinct title that appears during checkout, so customers can easily make their choice.
3. Go to the checkout page on the front end as if you were a customer. There, you should see options for both Stripe and PayPal, with radio buttons or similar controls to select one payment method before proceeding.
4. If you do not see these options, check your theme and plugins for potential conflicts that might be hiding these selection controls, especially since you’re not seeing required selection behavior. (I also noticed this was missing when I tested your site).Also, one possible reason your payment methods aren’t showing is that the checkout page may not be set correctly in your WooCommerce settings. Make sure the page with the
[woocommerce_checkout]
shortcode is selected as the checkout page in WooCommerce > Settings > Advanced > Page setup.Additionally, I tried using PayPal by Payment Plugins, but could you please confirm if there’s a compatibility issue between this plugin and WooCommerce Stripe? (I tried via “Woocommerce Paypal” plugin first, but it did not work either with the same error message: “Your card number is incomplete.”)
Regarding the compatibility between the PayPal by Payment Plugins and WooCommerce Stripe, we expect no conflicts as both are designed to work concurrently in WooCommerce. However, since you’re experiencing issues, disabling all other plugins except for WooCommerce, Stripe, and PayPal, then testing again may help identify if there’s a conflict with another plugin (As suggested above).
If you continue to see the “Your card number is incomplete” error after updating and ensuring payment methods selection is required, please get back to us with your latest observations.
Hi there!
We haven’t heard back from you in a while, so I’m going to mark this as resolved – we’ll be here if and/or when you are ready to continue.
- You must be logged in to reply to this topic.