• Resolved ivanmecina

    (@ivanmecina)


    I need help with a conflict. I am getting DUPLICATE_INVOICE_ID error on my cart

    I have been in contact with Paypal and they sent me this:

    THE PAYPAL BUTTONS WORK ON PRODUCT PAGES BUT NOT ON THE CHECKOUT PAGE. I see a quick flash of the pop up for paypal but it disappears right away I have added the debug code below as you can see the 13.22 entry worked when `I used the button on the individual page. 2022-07-21T10:08:49+00:00 DEBUG POST https://api.paypal.com/v1/oauth2/token?grant_type=client_credentials Response Debug ID: a21f80108ca4e Response: Array ( [code] => 200 [message] => OK ) 2022-07-21T10:13:22+00:00 DEBUG POST https://api.paypal.com/v2/checkout/orders Request Body: {"intent":"CAPTURE","purchase_units":[{"reference_id":"default","amount":{"currency_code":"GBP","value":"12.00","breakdown":{"item_total":{"currency_code":"GBP","value":"12.00"},"shipping":{"currency_code":"GBP","value":"0.00"},"tax_total":{"currency_code":"GBP","value":"0.00"}}},"description":"","items":[{"name":"Pigment Free Underglaze Medium. - 250ml","unit_amount":{"currency_code":"GBP","value":"12.00"},"quantity":1,"description":"","sku":"","category":"PHYSICAL_GOODS"}],"payee":{"merchant_id":"54ZLQAYG66WRJ"}}],"application_context":{"user_action":"CONTINUE","shipping_preference":"GET_FROM_FILE","landing_page":"LOGIN","locale":"en-GB","brand_name":"Jane Scott Ceramics","return_url":"https:\/\/janescottceramics.com\/?wc-ajax=ppc-return-url","cancel_url":"https:\/\/janescottceramics.com\/checkout\/"},"payment_method":{"payee_preferred":"UNRESTRICTED","payer_selected":"PAYPAL"}} Response Debug ID: dd3dc994f7a96 Response: Array ( [code] => 201 [message] => Created ) 2022-07-21T10:13:46+00:00 DEBUG POST https://api.paypal.com/v1/identity/generate-token Response Debug ID: f467114484976 Response: Array ( [code] => 200 [message] => OK ) 2022-07-21T10:14:08+00:00 DEBUG POST https://api.paypal.com/v1/identity/generate-token Response Debug ID: 59a78a98e1849 Response: Array ( [code] => 200 [message] => OK )</p> <p></p> <pre class="wp-block-code"><code><strong>WordPress Environment</strong> WordPress address (URL): https://janescottceramics.com Site address (URL): https://janescottceramics.com WC Version: 7.7.2 REST API Version: ? 7.7.2 WC Blocks Version: ? 10.0.6 Action Scheduler Version: ? 3.5.4 Log Directory Writable: ? WP Version: 6.2.2 WP Multisite: – WP Memory Limit: 512 MB WP Debug Mode: – WP Cron: ? Language: en_GB External object cache: ? <strong>Server Environment</strong> Server Info: LiteSpeed PHP Version: 7.4.33 PHP Post Max Size: 2 GB PHP Time Limit: 90 PHP Max Input Vars: 1000 cURL Version: 7.61.1 OpenSSL/1.1.1k SUHOSIN Installed: – MySQL Version: 5.5.5-10.6.13-MariaDB Max Upload Size: 2 GB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? <strong>Database</strong> WC Database Version: 7.7.2 WC Database Prefix: ECVhEOqO4_ Total Database Size: 61.60MB Database Data Size: 41.76MB Database Index Size: 19.84MB ECVhEOqO4_woocommerce_sessions: Data: 0.06MB + Index: 0.02MB + Engine InnoDB ECVhEOqO4_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ECVhEOqO4_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ECVhEOqO4_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB ECVhEOqO4_woocommerce_order_items: Data: 0.25MB + Index: 0.08MB + Engine InnoDB ECVhEOqO4_woocommerce_order_itemmeta: Data: 2.52MB + Index: 3.03MB + Engine InnoDB ECVhEOqO4_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB ECVhEOqO4_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ECVhEOqO4_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ECVhEOqO4_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ECVhEOqO4_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ECVhEOqO4_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ECVhEOqO4_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ECVhEOqO4_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ECVhEOqO4_actionscheduler_actions: Data: 1.52MB + Index: 0.55MB + Engine InnoDB ECVhEOqO4_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ECVhEOqO4_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ECVhEOqO4_actionscheduler_logs: Data: 1.52MB + Index: 1.89MB + Engine InnoDB ECVhEOqO4_admintools_acl: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ECVhEOqO4_admintools_adminiplist: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ECVhEOqO4_admintools_badwords: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ECVhEOqO4_admintools_cookies: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ECVhEOqO4_admintools_customperms: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ECVhEOqO4_admintools_filescache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ECVhEOqO4_admintools_ipautoban: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ECVhEOqO4_admintools_ipautobanhistory: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ECVhEOqO4_admintools_ipblock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ECVhEOqO4_admintools_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ECVhEOqO4_admintools_profiles: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ECVhEOqO4_admintools_redirects: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ECVhEOqO4_admintools_scanalerts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ECVhEOqO4_admintools_scans: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ECVhEOqO4_admintools_storage: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ECVhEOqO4_admintools_tempsuperusers: Data: 0.00MB + Index: 0.00MB + Engine MyISAM ECVhEOqO4_admintools_wafexceptions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ECVhEOqO4_admintools_waftemplates: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ECVhEOqO4_aioseo_cache: Data: 0.07MB + Index: 0.01MB + Engine MyISAM ECVhEOqO4_aioseo_notifications: Data: 0.04MB + Index: 0.01MB + Engine MyISAM ECVhEOqO4_aioseo_posts: Data: 0.64MB + Index: 0.03MB + Engine MyISAM ECVhEOqO4_akeeba_common: Data: 0.00MB + Index: 0.00MB + Engine MyISAM ECVhEOqO4_ce4wp_abandoned_checkout: Data: 0.00MB + Index: 0.00MB + Engine MyISAM ECVhEOqO4_ce4wp_contacts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM ECVhEOqO4_cf_forms: Data: 0.09MB + Index: 0.02MB + Engine InnoDB ECVhEOqO4_cf_form_entries: Data: 0.05MB + Index: 0.06MB + Engine InnoDB ECVhEOqO4_cf_form_entry_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ECVhEOqO4_cf_form_entry_values: Data: 0.27MB + Index: 0.19MB + Engine InnoDB ECVhEOqO4_cf_pro_messages: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ECVhEOqO4_cf_queue_failures: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ECVhEOqO4_cf_queue_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ECVhEOqO4_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ECVhEOqO4_comments: Data: 0.23MB + Index: 0.31MB + Engine InnoDB ECVhEOqO4_csp3_subscribers: Data: 0.00MB + Index: 0.00MB + Engine MyISAM ECVhEOqO4_css_js_manager: Data: 0.00MB + Index: 0.00MB + Engine MyISAM ECVhEOqO4_dopbsp_api_keys: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ECVhEOqO4_dopbsp_availability: Data: 0.02MB + Index: 0.05MB + Engine InnoDB ECVhEOqO4_dopbsp_availability_no: Data: 0.02MB + Index: 0.06MB + Engine InnoDB ECVhEOqO4_dopbsp_availability_price: Data: 0.02MB + Index: 0.06MB + Engine InnoDB ECVhEOqO4_dopbsp_calendars: Data: 0.02MB + Index: 0.08MB + Engine InnoDB ECVhEOqO4_dopbsp_coupons: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ECVhEOqO4_dopbsp_days: Data: 0.02MB + Index: 0.09MB + Engine InnoDB ECVhEOqO4_dopbsp_discounts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ECVhEOqO4_dopbsp_discounts_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ECVhEOqO4_dopbsp_discounts_items_rules: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ECVhEOqO4_dopbsp_emails: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ECVhEOqO4_dopbsp_emails_translation: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ECVhEOqO4_dopbsp_extras: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ECVhEOqO4_dopbsp_extras_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ECVhEOqO4_dopbsp_extras_groups_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ECVhEOqO4_dopbsp_fees: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ECVhEOqO4_dopbsp_forms: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ECVhEOqO4_dopbsp_forms_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ECVhEOqO4_dopbsp_forms_select_options: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ECVhEOqO4_dopbsp_languages: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ECVhEOqO4_dopbsp_locations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ECVhEOqO4_dopbsp_models: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ECVhEOqO4_dopbsp_reservations: Data: 0.02MB + Index: 0.14MB + Engine InnoDB ECVhEOqO4_dopbsp_rules: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ECVhEOqO4_dopbsp_searches: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ECVhEOqO4_dopbsp_settings: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ECVhEOqO4_dopbsp_settings_calendar: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ECVhEOqO4_dopbsp_settings_notifications: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ECVhEOqO4_dopbsp_settings_payment: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ECVhEOqO4_dopbsp_settings_search: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ECVhEOqO4_dopbsp_smses: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ECVhEOqO4_dopbsp_smses_translation: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ECVhEOqO4_dopbsp_translation_en: Data: 0.33MB + Index: 0.19MB + Engine InnoDB ECVhEOqO4_dopbsp_woocommerce: Data: 0.02MB + Index: 0.08MB + Engine InnoDB ECVhEOqO4_et_divi_ab_testing_stats: Data: 0.17MB + Index: 0.05MB + Engine MyISAM ECVhEOqO4_gmedia: Data: 0.06MB + Index: 0.06MB + Engine InnoDB ECVhEOqO4_gmedia_log: Data: 0.02MB + Index: 0.08MB + Engine InnoDB ECVhEOqO4_gmedia_meta: Data: 0.27MB + Index: 0.22MB + Engine InnoDB ECVhEOqO4_gmedia_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ECVhEOqO4_gmedia_term_meta: Data: 0.09MB + Index: 0.03MB + Engine InnoDB ECVhEOqO4_gmedia_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ECVhEOqO4_grp_google_place: Data: 0.00MB + Index: 0.00MB + Engine MyISAM ECVhEOqO4_grp_google_review: Data: 0.00MB + Index: 0.00MB + Engine MyISAM ECVhEOqO4_grp_google_stats: Data: 0.00MB + Index: 0.00MB + Engine MyISAM ECVhEOqO4_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ECVhEOqO4_litespeed_url: Data: 0.00MB + Index: 0.00MB + Engine MyISAM ECVhEOqO4_litespeed_url_file: Data: 0.00MB + Index: 0.00MB + Engine MyISAM ECVhEOqO4_loginizer_logs: Data: 0.00MB + Index: 0.01MB + Engine MyISAM ECVhEOqO4_mclean_refs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM ECVhEOqO4_mclean_scan: Data: 0.00MB + Index: 0.00MB + Engine MyISAM ECVhEOqO4_options: Data: 8.28MB + Index: 0.27MB + Engine InnoDB ECVhEOqO4_pmxe_exports: Data: 0.09MB + Index: 0.00MB + Engine MyISAM ECVhEOqO4_pmxe_google_cats: Data: 0.26MB + Index: 0.05MB + Engine MyISAM ECVhEOqO4_pmxe_posts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM ECVhEOqO4_pmxe_templates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM ECVhEOqO4_postmeta: Data: 10.52MB + Index: 8.03MB + Engine InnoDB ECVhEOqO4_posts: Data: 3.52MB + Index: 0.61MB + Engine InnoDB ECVhEOqO4_rcb_asset_seo_redirect: Data: 0.00MB + Index: 0.00MB + Engine MyISAM ECVhEOqO4_rcb_consent: Data: 0.00MB + Index: 0.00MB + Engine MyISAM ECVhEOqO4_rcb_presets: Data: 0.03MB + Index: 0.02MB + Engine MyISAM ECVhEOqO4_rcb_revision: Data: 0.00MB + Index: 0.00MB + Engine MyISAM ECVhEOqO4_rcb_revision_independent: Data: 0.01MB + Index: 0.00MB + Engine MyISAM ECVhEOqO4_rcb_stats: Data: 0.00MB + Index: 0.01MB + Engine MyISAM ECVhEOqO4_smush_dir_images: Data: 0.19MB + Index: 0.11MB + Engine InnoDB ECVhEOqO4_tec_events: Data: 0.00MB + Index: 0.00MB + Engine MyISAM ECVhEOqO4_tec_occurrences: Data: 0.00MB + Index: 0.00MB + Engine MyISAM ECVhEOqO4_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ECVhEOqO4_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ECVhEOqO4_term_relationships: Data: 0.06MB + Index: 0.02MB + Engine InnoDB ECVhEOqO4_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ECVhEOqO4_tm_taskmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM ECVhEOqO4_tm_tasks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM ECVhEOqO4_usermeta: Data: 1.52MB + Index: 0.53MB + Engine InnoDB ECVhEOqO4_users: Data: 0.06MB + Index: 0.05MB + Engine InnoDB ECVhEOqO4_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ECVhEOqO4_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ECVhEOqO4_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ECVhEOqO4_wc_customer_lookup: Data: 0.09MB + Index: 0.06MB + Engine InnoDB ECVhEOqO4_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ECVhEOqO4_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ECVhEOqO4_wc_order_product_lookup: Data: 0.30MB + Index: 0.31MB + Engine InnoDB ECVhEOqO4_wc_order_stats: Data: 0.17MB + Index: 0.17MB + Engine InnoDB ECVhEOqO4_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ECVhEOqO4_wc_product_attributes_lookup: Data: 0.01MB + Index: 0.01MB + Engine MyISAM ECVhEOqO4_wc_product_download_directories: Data: 0.00MB + Index: 0.01MB + Engine MyISAM ECVhEOqO4_wc_product_meta_lookup: Data: 0.06MB + Index: 0.09MB + Engine InnoDB ECVhEOqO4_wc_rate_limits: Data: 0.00MB + Index: 0.00MB + Engine MyISAM ECVhEOqO4_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ECVhEOqO4_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ECVhEOqO4_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ECVhEOqO4_wfBadLeechers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ECVhEOqO4_wfBlockedCommentLog: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ECVhEOqO4_wfBlockedIPLog: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ECVhEOqO4_wfBlocks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ECVhEOqO4_wfBlocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB ECVhEOqO4_wfBlocksAdv: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ECVhEOqO4_wfConfig: Data: 0.45MB + Index: 0.00MB + Engine InnoDB ECVhEOqO4_wfCrawlers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ECVhEOqO4_wfFileChanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ECVhEOqO4_wfFileMods: Data: 2.52MB + Index: 0.00MB + Engine InnoDB ECVhEOqO4_wfHits: Data: 1.52MB + Index: 0.27MB + Engine InnoDB ECVhEOqO4_wfHoover: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ECVhEOqO4_wfIssues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB ECVhEOqO4_wfKnownFileList: Data: 1.52MB + Index: 0.00MB + Engine InnoDB ECVhEOqO4_wfLeechers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ECVhEOqO4_wfLiveTrafficHuman: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ECVhEOqO4_wfLockedOut: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ECVhEOqO4_wfLocs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ECVhEOqO4_wfLogins: Data: 0.09MB + Index: 0.03MB + Engine InnoDB ECVhEOqO4_wfNet404s: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ECVhEOqO4_wfNotifications: Data: 0.06MB + Index: 0.00MB + Engine InnoDB ECVhEOqO4_wfPendingIssues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB ECVhEOqO4_wfReverseCache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ECVhEOqO4_wfScanners: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ECVhEOqO4_wfSNIPCache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB ECVhEOqO4_wfStatus: Data: 0.13MB + Index: 0.09MB + Engine InnoDB ECVhEOqO4_wfThrottleLog: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ECVhEOqO4_wfVulnScanners: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ECVhEOqO4_wpfm_backup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM ECVhEOqO4_wpforms_tasks_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM ECVhEOqO4_wpmailsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ECVhEOqO4_wpmailsmtp_tasks_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM ECVhEOqO4_wt_iew_action_history: Data: 0.00MB + Index: 0.00MB + Engine MyISAM ECVhEOqO4_wt_iew_cron: Data: 0.00MB + Index: 0.00MB + Engine MyISAM ECVhEOqO4_wt_iew_ftp: Data: 0.00MB + Index: 0.00MB + Engine MyISAM ECVhEOqO4_wt_iew_mapping_template: Data: 0.00MB + Index: 0.00MB + Engine MyISAM <strong>Post Type Counts</strong> acf-field: 1 acf-field-group: 1 attachment: 578 custom_css: 2 customize_changeset: 3 elementor_library: 1 et_pb_layout: 40 gmedia: 265 gmedia_album: 23 gmedia_gallery: 22 nav_menu_item: 27 page: 19 post: 1 product: 90 product_variation: 172 project: 2 revision: 145 seedprod: 2 sg_optimizer_job: 4 shop_coupon: 10 shop_order: 1172 shop_order_refund: 30 soliloquy: 1 tec_tc_order: 1 tec_tc_ticket: 5 tribe_events: 17 tribe_organizer: 4 tribe_tpp_orders: 8 tribe_venue: 5 tribe_wooticket: 80 wc_eatt_files: 1 woocustomemails: 3 wpdesk-coupons: 4 wpsc_cart_orders: 10 wpz-insta_feed: 1 wpz-insta_user: 1 <strong>Security</strong> Secure connection (HTTPS): ? Hide errors from visitors: ? <strong>Active Plugins (36)</strong> Admin Tools Core for WordPress: by Akeeba Ltd – 1.6.1 Advanced Custom Fields: by WP Engine – 6.1.6 All-in-One WP Migration: by ServMask – 7.75 Angell EYE Updater: by Angell EYE – 2.0.18 The SEO Framework: by The SEO Framework Team – 4.2.8 Clear Cart & Sessions for WooCommerce: by fmeaddons – 1.0.0 Creative Mail by Newfold Digital: by Newfold Digital – 1.6.7 Event Tickets: by The Events Calendar – 5.5.11.1 Flexible Shipping: by Octolize – 4.21.2 Flying Pages: by WP Speed Matters – 2.4.6 Site Kit by Google: by Google – 1.102.0 XML Sitemap Generator for Google: by Auctollo – 4.1.11 WP Armour - Honeypot Anti Spam: by Dnesscarkey – 2.1.4 LiteSpeed Cache: by LiteSpeed Technologies – 5.4 PayPal for WooCommerce: by Angell EYE – 4.0.16 Bookings and Appointments For WooCommerce Premium: by PluginHive – 2.0.1 Really Simple SSL: by Really Simple Plugins – 7.0.3 Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 3.1.5 The Events Calendar: by The Events Calendar – 6.0.13.1 The Events Calendar Extension: Divi Compatibility: by Modern Tribe Inc. – 1.2.1 UK Address Postcode Validation: by Ideal Postcodes – 3.3.0 Watchful: by watchful – 1.6.5 Plugin for Google Reviews: by RichPlugins – 2.5.1 Woo Custom Emails Per Product: by Alex Mustin – 2.2.9 WooCommerce PayPal Payments: by WooCommerce – 2.0.5 WooCommerce Product Dependencies: by SomewhereWarm – 1.2.7 Product Sort and Display for WooCommerce: by a3rev Software – 2.4.0 WooCommerce Royal Mail: by WooCommerce – 2.8.1 WooCommerce: by Automattic – 7.7.2 StoreCustomizer: by Kaira – 2.5.1 Asset CleanUp: Page Speed Booster: by Gabe Livan – 1.3.9.1 WP Mail SMTP: by WP Mail SMTP – 3.8.0 WP Menu Cart: by WP Overnight – 2.14.0 WP-Sweep: by Lester 'GaMerZ' Chan – 1.1.8 YITH WooCommerce Subscription: by YITH – 2.22.0 Embed Plus YouTube WordPress Plugin: by Embed Plus YouTube Plugin Team – 14.1.6.2 <strong>Inactive Plugins (2)</strong> Query Monitor: by John Blackbourn – 3.12.3 WPForms Lite: by WPForms – 1.8.1.3 <strong>Dropin Plugins (2)</strong> maintenance.php: maintenance.php object-cache.php: object-cache.php <strong>Must Use Plugins (1)</strong> Admin Tools for WordPress: by Akeeba Ltd – 1.6.1 <strong>Settings</strong> API Enabled: ? Force SSL: ? Currency: GBP (£) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) phive_booking (phive_booking) 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: – <strong>WC Pages</strong> Shop base: #1098 - /shop/ Trolley: #1099 - /cart/ Checkout: #1100 - /checkout/ My account: #1101 - /my-account/ Terms and conditions: #1371 - /terms-and-conditions/ <strong>Theme</strong> Name: Jane Scott Ceramics Version: 1.0.0 Author URL: https://cqrhosting.com Child Theme: ? Parent Theme Name: Divi Parent Theme Version: 4.21.0 Parent Theme Author URL: https://www.elegantthemes.com WooCommerce Support: ? <strong>Templates</strong> Overrides: Jane Scott Ceramics/woocommerce/archive-product.php Jane Scott Ceramics/woocommerce/checkout/form-shipping.php Jane Scott Ceramics/woocommerce/checkout/order-receipt.php Jane Scott Ceramics/woocommerce/checkout/payment-method.php Jane Scott Ceramics/woocommerce/checkout/thankyou.php Jane Scott Ceramics/woocommerce/single-product.php <strong>WooCommerce PayPal Payments</strong> Onboarded: ? Shop country code: GB 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: – <strong>Admin</strong> 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 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: product-block-editor minified-js new-product-management-experience product-variation-management settings Daily Cron: ? Next scheduled: 2023-06-06 10:23:39 +01:00 Options: ? Notes: 33 Onboarding: completed <strong>Action Scheduler</strong> Canceled: 1 Oldest: 2023-06-05 20:50:43 +0100 Newest: 2023-06-05 20:50:43 +0100 Complete: 105 Oldest: 2023-05-06 16:54:39 +0100 Newest: 2023-06-06 09:19:23 +0100 Failed: 1,391 Oldest: 2022-07-01 09:15:06 +0100 Newest: 2023-06-05 20:55:49 +0100 Pending: 3 Oldest: 2023-06-07 09:19:23 +0100 Newest: 2023-06-12 14:00:00 +0100 <strong>Status report information</strong> Generated at: 2023-06-06 10:21:51 +01:00 `

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Syde Joost

    (@joostvandevijver)

    Hello @ivanmecina

    Thank you for reaching out to us, we are here to help.

    The error?DUPLICATE_INVOICE_ID?error is a security feature from?PayPal which aims to prevent accidental double-payments.

    PayPal Payments automatically sets an “invoice prefix” and then sends the WooCommerce order numbers in the pattern “invoice prefix+ordernumber” to PayPal.
    So when your prefix is set to “cfbdg-” and your order number is “123”, PayPal Payments sends the invoice ID “cfbdg-123” to PayPal.

    Now, when you restore a backup from your website, it is possible that the most recent WooCommerce orders do not exist anymore after the restore.
    So as soon as WooCommerce attempts to create a new order with the number 123 and the same invoice prefix, PayPal would throw this error to prevent accidental double payments because there is already a payment at PayPal with the same invoice ID.
    This feature can be disabled, though we usually recommend keeping it enabled. To disable it, follow these steps:

    1. Log in to your Business PayPal account (https://www.paypal.com/businessmanage/preferences/payments)
    2. Go to the Payments Preferences section
    3. Under the “Block accidental payments:” section, select the option “No, allow multiple payments per invoice ID

    With this feature disabled,?PayPal would no longer complain when you submit an invoice number that already exists in the system.

    Please try this and let us know if it resolved the issue.

    Kind regards,
    Joost

    Plugin Support Syde Joost

    (@joostvandevijver)

    Hello @ivanmecina

    I forgot to reply to the checkout page situation: I went through the checkout process on your website and DID see the PayPal buttons there, so I would expect this to be caused by a local (probably browser) situation. Please try other browsers or systems to verify this situation.

    The PayPal button is loaded by a JavaScript that can be blocked by the browser, so that would where you should be looking for a solution on this matter.

    Let me know how this goes and if you require additional support.

    Kind regards,
    Joost

    Thread Starter ivanmecina

    (@ivanmecina)

    I disabled the feature in Paypal as you described and this has fixed the issue. I am concerned that this is a bad fix that will create other issues as you state not recommended can you tell me why? how else can I resolve this issue? I haven’t restored my site recently so it must be a conflict in plugins?

    Plugin Support Syde Joost

    (@joostvandevijver)

    Hello @ivanmecina

    You will find out if this is a bad fix when you see duplicate payments for the same order (which you can correct by refunding those via PayPal), so the fix is not that bad (in my opinion).

    However, if you want to do further tests to find out what is causing this, you may want to perform a full conflict test to rule out eventual issues with the theme or a different plugin. We recommend temporarily activating the default theme Storefront and disabling all other plugins except for?WooCommerce and?PayPal Payments to see if the behavior persists.

    Here’s a guide that explains the steps in more detail: How to test for conflicts. It is probably best to leave your live site as it is and create a staging site to do further testing (using sandbox accounts, so you don’t affect the live account/website).

    Please let us know how this works out for you and if you have any further questions for us.

    Kind regards,
    Joost

    Plugin Support Syde Joost

    (@joostvandevijver)

    Hello,

    Since we did not receive any response or follow-up questions from you, we will assume you got this working to your requirements. If you still have any more questions for us, please open a new thread, because we will mark this one as resolved.

    Kind regards,
    Joost

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘DUPLICATE_INVOICE_ID’ is closed to new replies.