Failed Order
-
Hello,
I received a lot of failed orders after upgrading to the latest version 1.9.2. The note in failed orders is:
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-TRANSACTION_REFUSED /home/website.com/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-wc-gateway/src/Gateway/PayPalGateway.php:502 [UNPROCESSABLE_ENTITY] The requested action could not be performed, semantically incorrect, or failed business validation. https://developer.paypal.com/docs/api/orders/v2/#error-TRANSACTION_REFUSED /home/website.com/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-api-client/src/Endpoint/OrderEndpoint.php:312 Order status changed from Pending payment to Failed.
Or
Could not retrieve order. /home/website.com/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-api-client/src/Endpoint/OrderEndpoint.php:529 Order status changed from Pending payment to Failed.
What does these errors mean?
-
Same here! I’ve missed about 5 sales in the last 1 hour from this!
- This reply was modified 2 years, 3 months ago by flexserve. Reason: Need info ASAP
Same. We had a bunch of failed orders on Friday (8/12) and I had to disable the plugin for the weekend so it wouldn’t interfere with our other payment gateways – because it was. Our site is hosted on SiteGround, if this plugin interferes with some of their features. Please help!
Hi everyone,
If you are using the SiteGround Optimizer plugin, please either disable JavaScript Frontend Optimizations or whitelist the PayPal Payments scripts as mentioned here:
https://www.ads-software.com/support/topic/plugin-conflict-with-our-site/#post-15917222
Thanks!You could also downgrade to the previous version 1.9.1 as it is not negatively impacted by the minifaction.
We’re looking to implement a feature in the next update that automatically prevents the SiteGround Optimizer plugin from breaking PayPal Payments so you don’t have to do anything.Kind regards,
NiklasHi. Thank you so much for your help. I am experiencing a new related problem:
woocommerce->settings->payments and click manage for paypal:
1. paypal only shows as a payment method on the frontend checkout when i have “enable buttons on checkout” selected. but i don’t want the buttons. they crash our cart. i have “enable the paypal gateway” checked, so you’d think it would show up like it always has.
2. if i go back to woocommerce->settings->payments and click manage again, everything goes back to an unchecked state and paypal no longer shows up in our checkout.
this was never an issue until Friday when whatever new “update” occurred actually ruined what had been working fine for years. I really hope I have communicated my problem, and even moreso that you can help! Thanks a lot.
@niklasinpsyde I am having a similar issue and am not using the SiteGround optimizer plugin
Unless your problem is 100% the same as the thread starter, we ask everyone to please create your own thread as explained in the forum guidelines because chances are, you’re facing a different issue.
This thread is about the problem @adleyho reported and includes
TRANSACTION_REFUSED
error messages. These error messages require the PayPal MTS to investigate and most likely do not affect anyone else in this thread.
Everyone will receive appropriate attention when creating a separate thread just for themselves.
Thanks for your consideration!Kind regards,
NiklasHi Niklas,
I do not use the SiteGround Optimizer plugin on my sites. It’s about 10% of orders on my sites failed because of the errors I mentioned above. I don’t know what caused that. Could you please explain and provide a solution to fix it? I appreciate your help!Hi @adleyho,
As mentioned above, the
TRANSACTION_REFUSED
error requires input from the PayPal Merchant Technical Support because it’s coming from the PayPal system.
I suggest reaching out to the MTS with a copy of your plugin log files (if available).
The user should see this error in the Checkout:Failed to process the payment. Please try again or contact the shop admin.
But the problem is on PayPal’s end (or with the buyer’s funding source).
But the other error
Could not retrieve order.
is a plugin-related problem. It can potentially occur when the buyer sees the regular “Place order” button on the Checkout page instead of the PayPal smart buttons and then clicks it. PayPal Payments only works with the PayPal smart buttons.
This could happen when the buyer uses an outdated & unsupported browser or has disabled JavaScript. Or, as other users reported, on environments hosted on SiteGround with their Optimizer plugin.Could you please share with us a copy of your WooCommerce system report so we can learn more about the website configuration?
The system report can be accessed from here:
WooCommerce > Status > Get system report > Copy for support
You can share it either here in the forums or privately with us from here:
https://paypal.inpsyde.com/docs/request-support/
Please include a link to this thread if you send a private message.
Thanks!Kind regards,
NiklasHi @niklasinpsyde
Here is woo system report of my site### WordPress Environment ### WordPress address (URL): https://www.mysite.com Site address (URL): https://www.mysite.com WC Version: 6.8.0 REST API Version: ? 6.8.0 WC Blocks Version: ? 8.0.0 Action Scheduler Version: ? 3.4.0 Log Directory Writable: ? WP Version: 6.0.1 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: 8.0.19 PHP Post Max Size: 64 MB PHP Time Limit: 360 PHP Max Input Vars: 1000 cURL Version: 7.68.0 OpenSSL/1.1.1f SUHOSIN Installed: – MySQL Version: 10.6.8-MariaDB-1:10.6.8+maria~focal Max Upload Size: 64 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 6.8.0 WC Database Prefix: wp_ Total Database Size: 231.60MB Database Data Size: 188.29MB Database Index Size: 43.31MB wp_woocommerce_sessions: Data: 5.02MB + Index: 0.08MB + 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.06MB + Engine InnoDB wp_woocommerce_order_items: Data: 0.23MB + Index: 0.08MB + Engine InnoDB wp_woocommerce_order_itemmeta: Data: 1.52MB + Index: 2.02MB + Engine InnoDB wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + 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 wp_actionscheduler_actions: Data: 2.02MB + Index: 2.91MB + 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: 2.02MB + Index: 1.30MB + Engine InnoDB wp_cartflows_ca_cart_abandonment: Data: 1.52MB + Index: 0.05MB + Engine InnoDB wp_cartflows_ca_email_history: Data: 0.17MB + Index: 0.23MB + Engine InnoDB wp_cartflows_ca_email_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_cartflows_ca_email_templates_meta: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_comments: Data: 1.52MB + Index: 1.05MB + Engine InnoDB wp_devvp_paypal: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_eum_logs: Data: 0.38MB + Index: 0.00MB + Engine InnoDB wp_e_events: Data: 0.02MB + Index: 0.02MB + 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.05MB + Engine InnoDB wp_gla_shipping_times: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_litespeed_url: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_litespeed_url_file: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wp_mailpoet_custom_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_dynamic_segment_filters: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_feature_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_mailpoet_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_mailpoet_mapping_to_external_entities: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_newsletters: Data: 1.09MB + Index: 0.03MB + Engine InnoDB wp_mailpoet_newsletter_links: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_mailpoet_newsletter_option: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_newsletter_option_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_newsletter_posts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_newsletter_segment: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_newsletter_templates: Data: 2.52MB + Index: 0.00MB + Engine InnoDB wp_mailpoet_scheduled_tasks: Data: 0.08MB + Index: 0.03MB + Engine InnoDB wp_mailpoet_scheduled_task_subscribers: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_segments: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_mailpoet_sending_queues: Data: 0.42MB + Index: 0.03MB + Engine InnoDB wp_mailpoet_settings: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_statistics_bounces: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_mailpoet_statistics_clicks: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_mailpoet_statistics_forms: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_statistics_newsletters: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_mailpoet_statistics_opens: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wp_mailpoet_statistics_unsubscribes: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_mailpoet_statistics_woocommerce_purchases: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_mailpoet_stats_notifications: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_mailpoet_subscribers: Data: 0.27MB + Index: 0.34MB + Engine InnoDB wp_mailpoet_subscriber_custom_field: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_subscriber_ips: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_subscriber_segment: Data: 0.09MB + Index: 0.09MB + Engine InnoDB wp_mailpoet_subscriber_tag: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_mailpoet_tags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_user_agents: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_user_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_options: Data: 26.05MB + Index: 3.05MB + Engine InnoDB wp_pmxe_exports: Data: 0.23MB + Index: 0.00MB + Engine InnoDB wp_pmxe_google_cats: Data: 0.39MB + Index: 0.00MB + Engine InnoDB wp_pmxe_posts: Data: 0.08MB + Index: 0.00MB + Engine InnoDB wp_pmxe_templates: Data: 0.08MB + Index: 0.00MB + Engine InnoDB wp_pmxi_files: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_pmxi_hash: Data: 0.33MB + Index: 0.00MB + Engine InnoDB wp_pmxi_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_pmxi_images: Data: 4.52MB + Index: 0.00MB + Engine InnoDB wp_pmxi_imports: Data: 2.52MB + Index: 0.00MB + Engine InnoDB wp_pmxi_posts: Data: 1.27MB + Index: 0.00MB + Engine InnoDB wp_pmxi_templates: Data: 0.11MB + Index: 0.00MB + Engine InnoDB wp_postmeta: Data: 103.47MB + Index: 19.61MB + Engine InnoDB wp_posts: Data: 22.36MB + Index: 6.16MB + Engine InnoDB wp_termmeta: Data: 0.13MB + Index: 0.17MB + Engine InnoDB wp_terms: Data: 0.19MB + Index: 0.22MB + Engine InnoDB wp_term_relationships: Data: 3.20MB + Index: 2.14MB + Engine InnoDB wp_term_taxonomy: Data: 0.19MB + Index: 0.20MB + Engine InnoDB wp_trackship_shipment: Data: 0.02MB + Index: 0.13MB + Engine InnoDB wp_trackship_shipment_meta: Data: 0.17MB + Index: 0.02MB + Engine InnoDB wp_trackship_shipping_provider: Data: 0.05MB + Index: 0.00MB + Engine InnoDB wp_usermeta: Data: 1.52MB + Index: 0.59MB + Engine InnoDB wp_users: Data: 0.06MB + Index: 0.05MB + Engine InnoDB wp_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_customer_lookup: Data: 0.13MB + Index: 0.09MB + Engine InnoDB wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_product_lookup: Data: 0.17MB + Index: 0.20MB + Engine InnoDB wp_wc_order_stats: Data: 0.16MB + Index: 0.17MB + 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.27MB + Index: 0.47MB + 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.02MB + Index: 0.02MB + Engine InnoDB wp_woo_shippment_provider: Data: 0.09MB + Index: 0.00MB + Engine InnoDB wp_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpmailsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_zorem_email_sms_log: Data: 0.02MB + Index: 0.11MB + Engine InnoDB ### Post Type Counts ### attachment: 24333 custom_css: 1 customize_changeset: 11 elementor_library: 2 mailpoet_page: 1 nav_menu_item: 25 page: 18 post: 3 product: 2132 revision: 386 shop_coupon: 238 shop_order: 1088 shop_order_refund: 53 wp_global_styles: 1 wpforms: 3 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (36) ### Direct checkout, WooCommerce Single page checkout , WooCommerce One page checkout: by PI Websolution – 2.1.32 Advanced Shipment Tracking Pro: by zorem – 2.5 aThemes Blocks: by aThemes – 1.0.6 aThemes Starter Sites: by aThemes – 1.0.22 Botiga Pro: by aThemes – 1.0.9 Cost of Goods for WooCommerce: by WPFactory – 2.6.3 Disable User Password Reset Admin Notifications: by Chris Cook – 1.2 EAN for WooCommerce: by WPFactory – 4.3.0 Elementor: by Elementor.com – 3.6.7 Hide Paypal Stripe: by DevVP – 1.0.1 Jetpack: by Automattic – 11.1 Kadence WooCommerce Email Designer: by Kadence WP – 1.5.2 LiteSpeed Cache: by LiteSpeed Technologies – 5.0.1 MailPoet 3 (New): by MailPoet – 3.94.0 Min and Max Quantity for WooCommerce: by BeRocket – 1.3.2.4 Perfect Brands for WooCommerce: by QuadLayers – 2.1.5 PixelYourSite PRO: by PixelYourSite – 9.0.0 PixelYourSite Super Pack: by PixelYourSite – 3.0.6 PW WooCommerce Bulk Edit Pro: by Pimwick LLC – 2.334 Royal Elementor Addons: by WP Royal – 1.3.44 Easy Updates Manager: by Easy Updates Manager Team – 9.0.13 TrackShip for WooCommerce: by TrackShip – 1.4.2 User Role Editor: by Vladimir Garagulya – 4.63 CTX Feed Pro: by WebAppick – 5.3.31 WooCommerce Cart Abandonment Recovery: by CartFlows Inc – 1.2.18 Preview E-mails for WooCommerce: by Digamber Pradhan – 2.0.2 WooCommerce PayPal Payments: by WooCommerce – 1.9.2 WooCommerce Shipping & Tax: by WooCommerce – 1.26.1 (update to version 1.26.3 is available) WooCommerce: by Automattic – 6.8.0 WP All Export Pro: by Soflyy – 1.7.8 WP All Import Pro: by Soflyy – 4.7.3 WP Mail SMTP: by WPForms – 3.5.1 WP All Export - WooCommerce Export Add-On Pro: by Soflyy – 1.0.5 WP All Import - WooCommerce Import Add-On Pro: by Soflyy – 3.3.1 WPForms Lite: by WPForms – 1.7.5.5 Sequential Order Numbers for WooCommerce: by WebToffee – 1.4.8 ### Inactive Plugins (0) ### ### Dropin Plugins (1) ### object-cache.php: object-cache.php ### 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: ? ### WC Pages ### Shop base: #394 - /all-categories/ Cart: #395 - /cart/ Checkout: #396 - /checkout/ My account: #397 - /my-account/ Terms and conditions: ? Page not set ### Theme ### Name: Botiga Version: 1.1.7 (update to version 1.1.8 is available) Author URL: https://athemes.com 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: – ### Pimwick Plugins ### PW WooCommerce Bulk Edit Pro: License key: Pp-629678fdsg497a40 Result: success Cached: 2022-08-17 ### WooCommerce PayPal Payments ### Onboarded: ? Shop country code: US WooCommerce currency supported: ? PayPal card processing available in country: ? Pay Later messaging available in country: ? Webhook status: ? Vault enabled: – Logging enabled: ? Reference Transactions: – Used PayPal Checkout plugin: – ### Admin ### Enabled Features: activity-panels analytics coupons customer-effort-score-tracks experimental-products-task experimental-import-products-task experimental-fashion-sample-products experimental-product-tour 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 wc-pay-promotion wc-pay-welcome-page wc-pay-subscriptions-page Disabled Features: minified-js settings Daily Cron: ? Next scheduled: 2022-08-17 09:34:24 -07:00 Options: ? Notes: 63 Onboarding: completed ### Action Scheduler ### Complete: 4,695 Oldest: 2022-07-17 09:44:49 +0000 Newest: 2022-08-17 01:36:48 +0000 Failed: 3 Oldest: 2022-06-07 11:22:18 +0000 Newest: 2022-06-07 12:09:55 +0000 Pending: 7 Oldest: 2022-08-17 04:55:38 +0000 Newest: 2022-08-22 14:03:27 +0000 ### Status report information ### Generated at: 2022-08-16 18:37:07 -07:00
Hello,
this thread is related to the plugin conflict that exists with the SiteGround Optimizer plugin together with our 1.9.2 release. Please don’t add to the thread if your issue is not related to this and open a new thread.
This problem can be caused when using Frontend Optimization features (JavaScript) from the SiteGround Optimizer plugin.
The?regular “Place order” button?is hidden by the PayPal Payments plugin and then replaced by the smart buttons.
Certain features in the?SiteGround Optimizer plugin?can essentially break this functionality, and then orders would fail if the buyer clicks the regular “Place order” button.
This wasn’t a big issue in the previous PayPal Payments version, but in the latest version 1.9.2, things work a little bit differently, and we did not anticipate there to be potential for a conflict.
Please try disabling the following features (JavaScript) in the Siteground Optimizer plugin:
– Minify JavaScript Files
– Combine JavaScript FilesOr you can also try whitelisting the PayPal Payments scripts mentioned here:?https://woocommerce.com/document/woocommerce-paypal-payments/#faq-paypal-smart-buttons-not-loading
Let us know how this works for you!Alternatively, you can also find all previous plugin versions at the bottom of this page:
https://www.ads-software.com/plugins/woocommerce-paypal-payments/advanced/
Or here on GitHub:
https://github.com/woocommerce/woocommerce-paypal-payments/releasesWe also have a fix in place for our next release, you can test this fix with the beta release that you can download here: https://github.com/woocommerce/woocommerce-paypal-payments/releases/tag/1.9.3-rc2
Our next official release should also resolve this issue.If your issue is not related to this, then please open a new thread.
I will mark this thread as resolved.Kind regards,
Joost
- The topic ‘Failed Order’ is closed to new replies.