Could not retrieve order. No Paypal button on Checkout page
-
Hi, recently we notice an error when placing orders:
Could not retrieve order. Maybe it was already completed or this browser is not supported. Please check your email or try again with a different browser. PayPalGateway.php:547 Order status changed from Pending payment to Failed.
After searching through this forum, I see many people had the same problem. These are some things I’ve tried:
- Downgrade the plugin to version 1.9.1 as some people said the fix was in this version. No luck. The current version of the plugin is 2.2.0.
- Followed the intructions on the Wiki. But we only see the button.js file, no Paypal button is rendered. The website still shows the default WooCommerce’s Place order button. Here is the screenshot.
Some info:
- The console shows one JS error (screenshot), it comes from WC Fields Factory plugin. Deactivating it removes the JS error, but the error with payment still exists.
- I already enabled Paypal smart button on Checkout page (screenshot).
- No related errors in debug.log.
System report:
### WordPress Environment ### WordPress address (URL): https://hirosarts.co Site address (URL): https://hirosarts.co WC Version: 7.9.0 REST API Version: ? 7.9.0 WC Blocks Version: ? 10.4.6 Action Scheduler Version: ? 3.6.1 Log Directory Writable: ? WP Version: 6.2.2 WP Multisite: – WP Memory Limit: 512 MB WP Debug Mode: ? WP Cron: ? Language: en_US External object cache: – ### Server Environment ### Server Info: Apache/2.4.52 (Ubuntu) PHP Version: 8.1.2-1ubuntu2.13 PHP Post Max Size: 8 MB PHP Time Limit: 30 PHP Max Input Vars: 1000 cURL Version: 7.81.0 OpenSSL/3.0.2 SUHOSIN Installed: – MySQL Version: 5.5.5-10.6.12-MariaDB-0ubuntu0.22.04.1 Max Upload Size: 2 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? Your server does not have the SoapClient class enabled - some gateway plugins which use SOAP may not work as expected. DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 7.9.0 WC Database Prefix: wp_ Total Database Size: 85.10MB Database Data Size: 66.73MB Database Index Size: 18.37MB wp_woocommerce_sessions: Data: 7.16MB + Index: 0.18MB + 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.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_order_items: Data: 0.49MB + Index: 0.24MB + Engine MyISAM wp_woocommerce_order_itemmeta: Data: 3.75MB + Index: 2.21MB + 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.12MB + Index: 0.06MB + Engine MyISAM wp_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_actionscheduler_logs: Data: 0.08MB + Index: 0.06MB + Engine MyISAM wp_berocket_termmeta: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_commentmeta: Data: 0.14MB + Index: 0.08MB + Engine MyISAM wp_comments: Data: 2.31MB + Index: 0.97MB + Engine MyISAM wp_e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_e_submissions: Data: 0.02MB + Index: 0.27MB + Engine InnoDB wp_e_submissions_actions_log: Data: 0.02MB + Index: 0.11MB + Engine InnoDB wp_e_submissions_values: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_ff_scheduled_actions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_fluentform_entry_details: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_fluentform_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_fluentform_form_analytics: Data: 0.27MB + Index: 0.00MB + Engine InnoDB wp_fluentform_form_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_fluentform_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_fluentform_submissions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_fluentform_submission_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_fsmpt_email_logs: Data: 2.52MB + Index: 0.00MB + Engine InnoDB wp_gla_budget_recommendations: Data: 0.20MB + Index: 0.11MB + 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_imagify_files: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wp_imagify_folders: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_itsec_bans: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_itsec_dashboard_events: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_itsec_distributed_storage: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_itsec_fingerprints: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_itsec_geolocation_cache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_itsec_lockouts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_itsec_logs: Data: 0.96MB + Index: 0.06MB + Engine MyISAM wp_itsec_mutexes: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_itsec_opaque_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_itsec_temp: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_itsec_user_groups: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_lionthemes_user_like_ip: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_mb_relationships: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_options: Data: 4.86MB + Index: 0.22MB + Engine MyISAM wp_postmeta: Data: 26.82MB + Index: 7.18MB + Engine MyISAM wp_posts: Data: 8.13MB + Index: 0.99MB + Engine MyISAM wp_rank_math_404_logs: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_rank_math_analytics_keyword_manager: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_rank_math_analytics_objects: Data: 0.09MB + Index: 0.05MB + Engine InnoDB wp_rank_math_internal_links: Data: 0.33MB + Index: 0.09MB + Engine InnoDB wp_rank_math_internal_meta: Data: 0.05MB + Index: 0.00MB + Engine InnoDB wp_rank_math_redirections: Data: 0.06MB + Index: 0.02MB + Engine InnoDB wp_rank_math_redirections_cache: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_smush_dir_images: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_termmeta: Data: 0.05MB + Index: 0.04MB + Engine MyISAM wp_terms: Data: 0.02MB + Index: 0.05MB + Engine MyISAM wp_term_relationships: Data: 0.08MB + Index: 0.16MB + Engine MyISAM wp_term_taxonomy: Data: 0.05MB + Index: 0.03MB + Engine MyISAM wp_usermeta: Data: 3.91MB + Index: 1.88MB + Engine MyISAM wp_users: Data: 0.33MB + Index: 0.27MB + Engine MyISAM wp_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine MyISAM wp_wc_admin_note_actions: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wp_wc_category_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_comments_subscription: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wc_customer_lookup: Data: 0.33MB + Index: 0.22MB + Engine MyISAM wp_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_feedback_forms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_follow_users: Data: 0.02MB + Index: 0.13MB + Engine InnoDB wp_wc_order_coupon_lookup: Data: 0.01MB + Index: 0.02MB + Engine MyISAM wp_wc_order_product_lookup: Data: 0.47MB + Index: 0.35MB + Engine MyISAM wp_wc_order_stats: Data: 0.28MB + Index: 0.16MB + Engine MyISAM wp_wc_order_tax_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_phrases: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_product_attributes_lookup: Data: 0.14MB + Index: 0.11MB + Engine InnoDB wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_product_meta_lookup: Data: 0.12MB + Index: 0.17MB + Engine MyISAM wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_reserved_stock: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_wc_users_rated: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_users_voted: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_shipping_table_rates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woo_shippment_provider: Data: 0.08MB + Index: 0.00MB + Engine InnoDB wp_wpf_filters: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpf_meta_data: Data: 1.52MB + Index: 1.05MB + Engine InnoDB wp_wpf_meta_keys: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wpf_meta_values: Data: 0.05MB + Index: 0.03MB + Engine InnoDB wp_wpf_meta_values_bk: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wpf_modules: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wpf_modules_type: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpf_usage_stat: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wpmailsmtp_debug_events: Data: 0.06MB + Index: 0.00MB + Engine InnoDB wp_wpmailsmtp_tasks_meta: Data: 0.06MB + Index: 0.00MB + Engine InnoDB wp_yikes_easy_mc_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_yith_wcan_filter_sessions: Data: 0.02MB + Index: 0.05MB + Engine InnoDB ### Post Type Counts ### acf-field: 65 acf-field-group: 12 aiosrs-schema: 3 attachment: 5575 banner: 3 br_product_filter: 1 custom_css: 3 customize_changeset: 1 elementor_library: 17 itsec-dash-card: 6 itsec-dashboard: 1 jet-smart-filters: 1 mailpoet_page: 1 mc4wp-form: 1 meta-box: 1 nav_menu_item: 73 oembed_cache: 16 page: 25 post: 141 product: 328 product_variation: 1193 revision: 1 shop_coupon: 11 shop_order: 3377 shop_order_refund: 87 wcccf: 78 wccpf: 15 wp_global_styles: 1 wpcode: 3 wpdiscuz_form: 1 yith_wcan_preset: 2 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (24) ### Easy Table of Contents: by Magazine3 – 2.0.52 Falcon: by eLightUp – 2.3.0 Flexible Shipping: by Octolize – 4.21.5 FluentSMTP: by FluentSMTP & WPManageNinja Team – 2.2.5 Fluent Forms: by Contact Form - WPManageNinja LLC – 5.0.7 Flying Scripts: by WP Speed Matters – 1.2.3 GA Google Analytics: by Jeff Starr – 20230721 Jetpack: by Automattic – 12.3 MC4WP: Mailchimp for WordPress: by ibericode – 4.9.6 Meta Box AIO: by MetaBox.io – 1.21.4 Meta Box: by MetaBox.io – 5.7.4 Product Reviews Import Export for WooCommerce: by WebToffee – 1.4.9 Rank Math SEO: by Rank Math – 1.0.120 Advanced Editor Tools: by Automattic – 5.9.0 WC Fields Factory: by Saravana Kumar K – 4.1.7 CTX Feed: by WebAppick – 5.4.32 Advanced Shipment Tracking for WooCommerce: by zorem – 3.5.3 Ajax add to cart for WooCommerce: by QuadLayers – 2.2.2 Product Filter by WBW: by WBW – 2.4.1 Quick View for WooCommerce: by ShapedPlugin LLC – 2.2.2 WooCommerce Checkout Manager: by QuadLayers – 7.2.0 WooCommerce PayPal Payments: by WooCommerce – 2.2.0 WooCommerce: by Automattic – 7.9.0 WP Fastest Cache: by Emre Vona – 1.1.7 ### Inactive Plugins (6) ### Akismet Anti-Spam: Spam Protection: by Automattic - Anti Spam Team – 5.2 Converter for Media: by matt plugins – 5.9.4 Export All URLs: by Atlas Gondal – 4.6 Jetpack Boost: by Automattic - Jetpack Site Speed team – 2.0.0 Payoneer Checkout: by Payoneer – 1.4.2 WP-Sweep: by Lester 'GaMerZ' Chan – 1.1.8 ### 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) 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: – HPOS feature screen enabled: – HPOS feature enabled: – Order datastore: WC_Order_Data_Store_CPT HPOS data sync enabled: – ### WC Pages ### Shop base: #8 - /shop/ Cart: #9 - /cart/ Checkout: #10 - /checkout/ My account: #11 - /my-account/ Terms and conditions: ? Page not set ### Theme ### Name: hirosart Version: 1.0.0 Author URL: https://titanweb.vn 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: hirosart/woocommerce/archive-product.php hirosart/woocommerce/content-product.php hirosart/woocommerce/content-single-product.php hirosart/woocommerce/global/quantity-input.php version 3.6.0 is out of date. The core version is 7.8.0 hirosart/woocommerce/loop/pagination.php hirosart/woocommerce/loop/rating.php hirosart/woocommerce/single-product/meta.php version - is out of date. The core version is 3.0.0 hirosart/woocommerce/single-product/photoswipe.php hirosart/woocommerce/single-product/price.php hirosart/woocommerce/single-product/product-attributes.php hirosart/woocommerce/single-product/product-image.php version 3.5.1 is out of date. The core version is 7.8.0 hirosart/woocommerce/single-product/product-thumbnails.php hirosart/woocommerce/single-product/rating.php hirosart/woocommerce/single-product/related.php hirosart/woocommerce/single-product/review-meta.php hirosart/woocommerce/single-product/review-rating.php hirosart/woocommerce/single-product/review.php hirosart/woocommerce/single-product/sale-flash.php hirosart/woocommerce/single-product/share.php hirosart/woocommerce/single-product/short-description.php hirosart/woocommerce/single-product/stock.php hirosart/woocommerce/single-product/tabs/additional-information.php hirosart/woocommerce/single-product/tabs/description.php hirosart/woocommerce/single-product/tabs/tabs.php hirosart/woocommerce/single-product/title.php hirosart/woocommerce/single-product/up-sells.php hirosart/woocommerce/single-product-reviews.php hirosart/woocommerce/single-product.php hirosart/woocommerce/taxonomy-product_cat.php version 3.6.0 is out of date. The core version is 4.7.0 Outdated Templates: ? Learn how to update ### 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: – PayPal Vault enabled: – ACDC Vault enabled: – Logging enabled: – Reference Transactions: – Used PayPal Checkout plugin: ? Tracking enabled: ? ### Admin ### Enabled Features: activity-panels analytics product-block-editor coupons core-profiler 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: minified-js new-product-management-experience product-variation-management settings async-product-editor-category-field Daily Cron: ? Next scheduled: 2023-07-28 06:16:17 -04:00 Options: ? Notes: 51 Onboarding: skipped ### Action Scheduler ### Complete: 399 Oldest: 2023-06-27 03:30:08 -0400 Newest: 2023-07-28 01:00:35 -0400 Failed: 23 Oldest: 2022-10-05 21:59:46 -0400 Newest: 2023-07-24 20:31:20 -0400 Pending: 3 Oldest: 2023-07-28 07:11:18 -0400 Newest: 2023-07-31 20:31:20 -0400 ### Status report information ### Generated at: 2023-07-28 01:02:18 -04:00
The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Could not retrieve order. No Paypal button on Checkout page’ is closed to new replies.