Woocommerce paypal – Credit card payment Error
-
Hello, this problem has occurred on my website recently. When the customer does not register a paypal account and chooses to pay by credit card after jumping to paypal through the website, the customer reports that the bank has deducted the money, but after our website, it will prompt that the order payment failed, and paypal cannot receive the payment for the order. The following is a prompt message after the order payment fails. Thank you!
Failed to process the payment. Please try again or contact the shop admin. [UNPROCESSABLE_ENTITY] The requested action could not be performed, semantically incorrect, or failed business validation. https://developer.paypal.com/docs/api/orders/v2/#error-DUPLICATE_INVOICE_ID PayPalGateway.php:500 [UNPROCESSABLE_ENTITY] The requested action could not be performed, semantically incorrect, or failed business validation. https://developer.paypal.com/docs/api/orders/v2/#error-DUPLICATE_INVOICE_ID OrderEndpoint.php:313 Order status changed from Pending payment to Failed.
-
Hi @timixpatch
Thanks for reaching out!
I understand that your customers who choose to pay by credit card after jumping to PayPal through the website are reporting that the bank has deducted the money, but the website prompts that the order payment failed and PayPal cannot receive the payment for the order, correct?
Can you please share with us a screenshot of the Order Notes for this failed order so that we could check this further?
If you don’t already have a screenshot service installed, you can try https://snipboard.io. You can share the direct link to the image as a response to this topic.
Additionally, I’d like to understand your site properly, please share your System Status Report that you can find via
WooCommerce > Status
. SelectGet system report
and thenCopy for support
. Once you’ve done that, you can paste it into your reply here.If you could also provide the fatal error logs (if any) under
WooCommerce > Status > Logs
.You could copy and paste your reply here or paste it via https://gist.github.com/ and send the link here.
Thanks!
Hello, thank you for your reply. The Attachment provides the system status report and woocommerce logs. For some reasons, payment failed orders have occurred one after another. Please analyze and support. Thank you!
https://www.diysticker.com/wp-content/uploads/2023/04/woocommerce-paypal-payments-log-4334-.txt
https://www.diysticker.com/wp-content/uploads/2023/04/woocommerce-paypal-payments-log.txt
https://www.diysticker.com/wp-content/uploads/2023/04/order-notes-4334.png
https://www.diysticker.com/wp-content/uploads/2023/04/4359-order-notes.png
https://www.diysticker.com/wp-content/uploads/2023/04/4358-order-notes.png
System status:
WordPress Environment WordPress address (URL): https://www.diysticker.com Site address (URL): https://www.diysticker.com WC Version: 7.5.1 REST API Version: ?</img> 7.5.1 WC Blocks Version: ?</img> 9.6.6 Action Scheduler Version: ?</img> 3.5.4 Log Directory Writable: ?</img> WP Version: ?</img> 5.9.3 - There is a newer version of WordPress available (6.2) WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ?</img> Language: en_US External object cache: – Server Environment Server Info: nginx/1.18.0 PHP Version: 7.4.12 PHP Post Max Size: 50 MB PHP Time Limit: 300 PHP Max Input Vars: 1000 cURL Version: 7.29.0 NSS/3.44 SUHOSIN Installed: – MySQL Version: 5.6.48-log Max Upload Size: 50 MB Default Timezone is UTC: ?</img> fsockopen/cURL: ?</img> SoapClient: ?</img> DOMDocument: ?</img> GZip: ?</img> Multibyte String: ?</img> Remote Post: ?</img> Remote Get: ?</img> Database WC Database Version: 7.5.1 WC Database Prefix: wp_ Total Database Size: 223.70MB Database Data Size: 162.67MB Database Index Size: 61.03MB wp_woocommerce_sessions: Data: 12.22MB + Index: 0.38MB + Engine MyISAM wp_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_downloadable_product_permissions: Data: 0.14MB + Index: 0.20MB + Engine MyISAM wp_woocommerce_order_items: Data: 0.26MB + Index: 0.10MB + Engine MyISAM wp_woocommerce_order_itemmeta: Data: 1.26MB + Index: 0.91MB + Engine MyISAM wp_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_actionscheduler_actions: Data: 0.28MB + Index: 0.20MB + 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: 0.19MB + Index: 0.14MB + Engine InnoDB wp_aioseo_cache: Data: 0.22MB + Index: 0.03MB + Engine InnoDB wp_aioseo_notifications: Data: 0.08MB + Index: 0.06MB + Engine InnoDB wp_aioseo_posts: Data: 1.48MB + Index: 0.02MB + Engine InnoDB wp_aiowps_debug_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_aiowps_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_aiowps_failed_logins: Data: 3.52MB + Index: 5.55MB + Engine InnoDB wp_aiowps_global_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_aiowps_login_activity: Data: 0.06MB + Index: 0.00MB + Engine InnoDB wp_aiowps_login_lockdown: Data: 0.34MB + Index: 0.31MB + Engine InnoDB wp_aiowps_permanent_block: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_commentmeta: Data: 0.05MB + Index: 0.04MB + Engine MyISAM wp_comments: Data: 0.85MB + Index: 0.43MB + Engine MyISAM wp_Counterize: Data: 0.24MB + Index: 0.31MB + Engine MyISAM wp_Counterize_Countries: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_Counterize_Keywords: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_Counterize_Outlinks: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_Counterize_Pages: Data: 0.07MB + Index: 0.06MB + Engine MyISAM wp_Counterize_Referers: Data: 0.04MB + Index: 0.05MB + Engine MyISAM wp_Counterize_UserAgents: Data: 0.07MB + Index: 0.06MB + Engine MyISAM wp_edd_customermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_edd_customers: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_ewwwio_images: Data: 0.17MB + Index: 0.19MB + Engine InnoDB wp_ewwwio_queue: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_gla_attribute_mapping_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_gla_budget_recommendations: Data: 0.22MB + Index: 0.14MB + Engine InnoDB wp_gla_merchant_issues: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_gla_shipping_rates: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_gla_shipping_times: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_msdb_post_data: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_msdb_purchase: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_msdb_shopping_cart: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_options: Data: 2.70MB + Index: 0.40MB + Engine MyISAM wp_pmpro_membership_levelmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_postmeta: Data: 6.77MB + Index: 3.90MB + Engine MyISAM wp_posts: Data: 2.14MB + Index: 0.42MB + Engine MyISAM wp_rank_math_analytics_objects: Data: 0.06MB + Index: 0.02MB + Engine InnoDB wp_rank_math_internal_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_rank_math_internal_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_sddb_reviews: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_statistics_exclusions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_statistics_historical: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_statistics_pages: Data: 5.14MB + Index: 9.91MB + Engine MyISAM wp_statistics_search: Data: 4.51MB + Index: 2.71MB + Engine MyISAM wp_statistics_useronline: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wp_statistics_visit: Data: 0.03MB + Index: 0.04MB + Engine MyISAM wp_statistics_visitor: Data: 24.52MB + Index: 29.35MB + Engine MyISAM wp_statistics_visitor_relationships: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_termmeta: Data: 0.01MB + Index: 0.02MB + Engine MyISAM wp_terms: Data: 0.01MB + Index: 0.03MB + Engine MyISAM wp_term_relationships: Data: 0.02MB + Index: 0.05MB + Engine MyISAM wp_term_taxonomy: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp_usermeta: Data: 8.76MB + Index: 3.19MB + Engine MyISAM wp_users: Data: 0.70MB + Index: 0.54MB + Engine MyISAM wp_wc_admin_notes: Data: 0.09MB + Index: 0.00MB + Engine InnoDB wp_wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_customer_lookup: Data: 0.14MB + Index: 0.13MB + Engine InnoDB wp_wc_download_log: Data: 0.07MB + Index: 0.07MB + Engine MyISAM wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_product_lookup: Data: 0.19MB + Index: 0.25MB + Engine InnoDB wp_wc_order_stats: Data: 0.22MB + Index: 0.20MB + 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.08MB + Index: 0.13MB + 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_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wotv_woo_track_info: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpmailsmtp_debug_events: Data: 9.52MB + Index: 0.00MB + Engine InnoDB wp_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpml_mails: Data: 74.52MB + Index: 0.00MB + Engine InnoDB Post Type Counts attachment: 572 customize_changeset: 1 nav_menu_item: 15 page: 15 post: 13 product: 184 product_variation: 387 revision: 419 sd_download: 1 sd_product: 1 shop_coupon: 3 shop_order: 1914 shop_order_refund: 8 wbcr-snippets: 4 wpcf7_contact_form: 1 wp_global_styles: 1 Security Secure connection (HTTPS): ?</img> Hide errors from visitors: ?</img> Active Plugins (16) All in One SEO: by All in One SEO Team – 4.3.3 All In One WP Security: by All In One WP Security & Firewall Team – 5.1.5 Breadcrumb NavXT: by John Havlik – 7.2.0 Classic Editor: by WordPress Contributors – 1.6.2 Contact Form 7: by Takayuki Miyoshi – 5.6.4 Google Analytics for WordPress by MonsterInsights: by MonsterInsights – 8.13.1 TemplatesNext ToolKit: by TemplatesNext – 3.2.9 Extra product options For WooCommerce | Custom Product Addons and Fields: by ThemeHigh – 3.2.0 WooCommerce Blocks: by Automattic – 7.7.0 Orders Tracking for WooCommerce: by VillaTheme – 1.2.2 WooCommerce PayPal Payments: by WooCommerce – 2.0.3 WooCommerce: by Automattic – 7.5.1 WP Mail Logging: by WP Mail Logging Team – 1.11.0 WP Mail SMTP: by WPForms – 3.7.0 WP Statistics: by VeronaLabs – 14.0.2 Akismet Anti-Spam: by Automattic – 0.1.2 Inactive Plugins (4) Google Listings and Ads: by WooCommerce – 2.3.8 Rank Math SEO: by Rank Math – 1.0.89.1 Woody code snippets (PHP snippets | Insert PHP): by Creative Motion Will Bontrager Software LLC [email protected] – 2.4.5 WPSE Allow Webp Uploads: by – Dropin Plugins (1) install.php: install.php Settings API Enabled: ?</img> Force SSL: – Currency: USD ($) 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: – Enforce Approved Product Download Directories: – Order datastore: WC_Order_Data_Store_CPT WC Pages Shop base: #4 - /products/ Cart: #5 - /cart/ Checkout: #6 - /checkout/ My account: #7 - /my-account/ Terms and conditions: #2308 - /refund_returns/ Theme Name: i-craft Version: 3.5.2 (update to version 3.5.5 is available) Author URL: https://templatesnext.org/ Child Theme: ?</img> – 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: ?</img> Templates Archive Template: Your theme has a woocommerce.php file you will not be able to override the woocommerce/archive-product.php custom template since woocommerce.php has priority over archive-product.php. This is intended to prevent display issues. Overrides: i-craft/woocommerce/content-product.php i-craft/woocommerce/loop/loop-end.php i-craft/woocommerce/loop/sale-flash.php i-craft/woocommerce/single-product/sale-flash.php i-craft/woocommerce/single-product/title.php WooCommerce PayPal Payments Onboarded: ?</img> Shop country code: CN WooCommerce currency supported: ?</img> Advanced Card Processing available in country: – Pay Later messaging available in country: – Webhook status: ?</img> Vault enabled: ?</img> Logging enabled: ?</img> Reference Transactions: – Used PayPal Checkout plugin: – Tracking enabled: ?</img> Admin Enabled Features: activity-panels analytics coupons customer-effort-score-tracks import-products-task experimental-fashion-sample-products shipping-smart-defaults shipping-setting-tour homescreen marketing multichannel-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: minified-js new-product-management-experience product-variation-management settings Daily Cron: ?</img> Next scheduled: 2023-04-02 06:39:50 +00:00 Options: ?</img> Notes: 118 Onboarding: completed Action Scheduler Complete: 639 Oldest: 2023-03-02 12:35:05 +0000 Newest: 2023-04-02 02:25:51 +0000 Failed: 5 Oldest: 2023-03-29 11:20:12 +0000 Newest: 2023-04-01 17:23:51 +0000 Pending: 7 Oldest: 2023-04-02 02:40:51 +0000 Newest: 2023-04-05 03:03:05 +0000 Status report information Generated at: 2023-04-02 02:40:18 +00:00 `
Hi,
Thanks for sending the system report.
Please note that this forum is specific for WooCommerce Core. There are several reasons to get this error
UNPROCESSABLE_ENTITY
, I recommend to first update your WordPress version on your site, and then you can create a test order making sure the billing details (postal code, address, city, etc.) are correct.If the issue persists, I recommend forwarding your request to the dedicated PayPal Payments support forum here, this is for better assistance.
Let us know how that goes.
- The topic ‘Woocommerce paypal – Credit card payment Error’ is closed to new replies.