Support » Plugin: WooCommerce PayPal Payments » Paypal button not working on second store of multisite WordPress

  • Resolved GalinaBublik

    (@galinabublik)


    On main site Button work correct
    But on subSite – “Pay Latter” not generated without errors in console, and “Pay now” got error after click:

    buttons?style.label=…gPayments=true:1318 create_order_error 
    {err: 'TypeError: Cannot read properties of null (reading…fort,venmo&enable-funding=venmo,paylater:2:147770', timestamp: '1646062209711', referer: 'www.paypal.com', sdkCorrelationID: 'f979895887e38', sessionID: 'uid_efadfdafc1_mtu6mtm6ndu', …}
    buttonCorrelationID: "f556292da1787"
    buttonSessionID: "uid_7e17ef0c66_mtu6mza6mdu"
    clientID: "Afm-jQ7nKPojL-PX8L1MKxKTZDuVsKHYzKHvqEPU9zopf9NTNji_10SlVxj3TLOS3gDv4MDcCmf6CKjn"
    env: "production"
    err: "TypeError: Cannot read properties of null (reading 'value')\n    at getProducts (webpack-internal:///964:358:64)\n    at Object.createOrder (webpack-internal:///964:411:57)\n    at https://www.paypal.com/sdk/js?client-id=Afm-jQ7nKPojL-PX8L1MKxKTZDuVsKHYzKHvqEPU9zopf9NTNji_10SlVxj3TLOS3gDv4MDcCmf6CKjn&currency=EUR&integration-date=2021-09-17&components=buttons,messages&vault=false&commit=false&intent=capture&disable-funding=card,credit,sepa,bancontact,blik,eps,giropay,ideal,mercadopago,mybank,p24,sofort,venmo&enable-funding=venmo,paylater:2:135200\n    at e.n.dispatch (https://www.paypal.com/sdk/js?client-id=Afm-jQ7nKPojL-PX8L1MKxKTZDuVsKHYzKHvqEPU9zopf9NTNji_10SlVxj3TLOS3gDv4MDcCmf6CKjn&currency=EUR&integration-date=2021-09-17&components=buttons,messages&vault=false&commit=false&intent=capture&disable-funding=card,credit,sepa,bancontact,blik,eps,giropay,ideal,mercadopago,mybank,p24,sofort,venmo&enable-funding=venmo,paylater:2:72541)\n    at e.n.then (https://www.paypal.com/sdk/js?client-id=Afm-jQ7nKPojL-PX8L1MKxKTZDuVsKHYzKHvqEPU9zopf9NTNji_10SlVxj3TLOS3gDv4MDcCmf6CKjn&currency=EUR&integration-date=2021-09-17&components=buttons,messages&vault=false&commit=false&intent=capture&disable-funding=card,credit,sepa,bancontact,blik,eps,giropay,ideal,mercadopago,mybank,p24,sofort,venmo&enable-funding=venmo,paylater:2:73304)\n    at Object.handler (https://www.paypal.com/sdk/js?client-id=Afm-jQ7nKPojL-PX8L1MKxKTZDuVsKHYzKHvqEPU9zopf9NTNji_10SlVxj3TLOS3gDv4MDcCmf6CKjn&currency=EUR&integration-date=2021-09-17&components=buttons,messages&vault=false&commit=false&intent=capture&disable-funding=card,credit,sepa,bancontact,blik,eps,giropay,ideal,mercadopago,mybank,p24,sofort,venmo&enable-funding=venmo,paylater:2:135174)\n    at https://www.paypal.com/sdk/js?client-id=Afm-jQ7nKPojL-PX8L1MKxKTZDuVsKHYzKHvqEPU9zopf9NTNji_10SlVxj3TLOS3gDv4MDcCmf6CKjn&currency=EUR&integration-date=2021-09-17&components=buttons,messages&vault=false&commit=false&intent=capture&disable-funding=card,credit,sepa,bancontact,blik,eps,giropay,ideal,mercadopago,mybank,p24,sofort,venmo&enable-funding=venmo,paylater:2:140051\n    at Function.e.try (https://www.paypal.com/sdk/js?client-id=Afm-jQ7nKPojL-PX8L1MKxKTZDuVsKHYzKHvqEPU9zopf9NTNji_10SlVxj3TLOS3gDv4MDcCmf6CKjn&currency=EUR&integration-date=2021-09-17&components=buttons,messages&vault=false&commit=false&intent=capture&disable-funding=card,credit,sepa,bancontact,blik,eps,giropay,ideal,mercadopago,mybank,p24,sofort,venmo&enable-funding=venmo,paylater:2:75146)\n    at zr (https://www.paypal.com/sdk/js?client-id=Afm-jQ7nKPojL-PX8L1MKxKTZDuVsKHYzKHvqEPU9zopf9NTNji_10SlVxj3TLOS3gDv4MDcCmf6CKjn&currency=EUR&integration-date=2021-09-17&components=buttons,messages&vault=false&commit=false&intent=capture&disable-funding=card,credit,sepa,bancontact,blik,eps,giropay,ideal,mercadopago,mybank,p24,sofort,venmo&enable-funding=venmo,paylater:2:139867)\n    at Yr (https://www.paypal.com/sdk/js?client-id=Afm-jQ7nKPojL-PX8L1MKxKTZDuVsKHYzKHvqEPU9zopf9NTNji_10SlVxj3TLOS3gDv4MDcCmf6CKjn&currency=EUR&integration-date=2021-09-17&components=buttons,messages&vault=false&commit=false&intent=capture&disable-funding=card,credit,sepa,bancontact,blik,eps,giropay,ideal,mercadopago,mybank,p24,sofort,venmo&enable-funding=venmo,paylater:2:141886)\n\nError: Cannot read properties of null (reading 'value')\n    at Or.error (https://www.paypal.com/sdk/js?client-id=Afm-jQ7nKPojL-PX8L1MKxKTZDuVsKHYzKHvqEPU9zopf9NTNji_10SlVxj3TLOS3gDv4MDcCmf6CKjn&currency=EUR&integration-date=2021-09-17&components=buttons,messages&vault=false&commit=false&intent=capture&disable-funding=card,credit,sepa,bancontact,blik,eps,giropay,ideal,mercadopago,mybank,p24,sofort,venmo&enable-funding=venmo,paylater:2:128580)\n    at Object.<anonymous> (https://www.paypal.com/sdk/js?client-id=Afm-jQ7nKPojL-PX8L1MKxKTZDuVsKHYzKHvqEPU9zopf9NTNji_10SlVxj3TLOS3gDv4MDcCmf6CKjn&currency=EUR&integration-date=2021-09-17&components=buttons,messages&vault=false&commit=false&intent=capture&disable-funding=card,credit,sepa,bancontact,blik,eps,giropay,ideal,mercadopago,mybank,p24,sofort,venmo&enable-funding=venmo,paylater:2:136954)\n    at JSON.parse (<anonymous>)\n    at o (https://www.paypal.com/sdk/js?client-id=Afm-jQ7nKPojL-PX8L1MKxKTZDuVsKHYzKHvqEPU9zopf9NTNji_10SlVxj3TLOS3gDv4MDcCmf6CKjn&currency=EUR&integration-date=2021-09-17&components=buttons,messages&vault=false&commit=false&intent=capture&disable-funding=card,credit,sepa,bancontact,blik,eps,giropay,ideal,mercadopago,mybank,p24,sofort,venmo&enable-funding=venmo,paylater:2:136813)\n    at jr (https://www.paypal.com/sdk/js?client-id=Afm-jQ7nKPojL-PX8L1MKxKTZDuVsKHYzKHvqEPU9zopf9NTNji_10SlVxj3TLOS3gDv4MDcCmf6CKjn&currency=EUR&integration-date=2021-09-17&components=buttons,messages&vault=false&commit=false&intent=capture&disable-funding=card,credit,sepa,bancontact,blik,eps,giropay,ideal,mercadopago,mybank,p24,sofort,venmo&enable-funding=venmo,paylater:2:136966)\n    at Yr.u.on (https://www.paypal.com/sdk/js?client-id=Afm-jQ7nKPojL-PX8L1MKxKTZDuVsKHYzKHvqEPU9zopf9NTNji_10SlVxj3TLOS3gDv4MDcCmf6CKjn&currency=EUR&integration-date=2021-09-17&components=buttons,messages&vault=false&commit=false&intent=capture&disable-funding=card,credit,sepa,bancontact,blik,eps,giropay,ideal,mercadopago,mybank,p24,sofort,venmo&enable-funding=venmo,paylater:2:141532)\n    at Yr (https://www.paypal.com/sdk/js?client-id=Afm-jQ7nKPojL-PX8L1MKxKTZDuVsKHYzKHvqEPU9zopf9NTNji_10SlVxj3TLOS3gDv4MDcCmf6CKjn&currency=EUR&integration-date=2021-09-17&components=buttons,messages&vault=false&commit=false&intent=capture&disable-funding=card,credit,sepa,bancontact,blik,eps,giropay,ideal,mercadopago,mybank,p24,sofort,venmo&enable-funding=venmo,paylater:2:141652)\n    at https://www.paypal.com/sdk/js?client-id=Afm-jQ7nKPojL-PX8L1MKxKTZDuVsKHYzKHvqEPU9zopf9NTNji_10SlVxj3TLOS3gDv4MDcCmf6CKjn&currency=EUR&integration-date=2021-09-17&components=buttons,messages&vault=false&commit=false&intent=capture&disable-funding=card,credit,sepa,bancontact,blik,eps,giropay,ideal,mercadopago,mybank,p24,sofort,venmo&enable-funding=venmo,paylater:2:147973\n    at Function.e.try (https://www.paypal.com/sdk/js?client-id=Afm-jQ7nKPojL-PX8L1MKxKTZDuVsKHYzKHvqEPU9zopf9NTNji_10SlVxj3TLOS3gDv4MDcCmf6CKjn&currency=EUR&integration-date=2021-09-17&components=buttons,messages&vault=false&commit=false&intent=capture&disable-funding=card,credit,sepa,bancontact,blik,eps,giropay,ideal,mercadopago,mybank,p24,sofort,venmo&enable-funding=venmo,paylater:2:75146)\n    at https://www.paypal.com/sdk/js?client-id=Afm-jQ7nKPojL-PX8L1MKxKTZDuVsKHYzKHvqEPU9zopf9NTNji_10SlVxj3TLOS3gDv4MDcCmf6CKjn&currency=EUR&integration-date=2021-09-17&components=buttons,messages&vault=false&commit=false&intent=capture&disable-funding=card,credit,sepa,bancontact,blik,eps,giropay,ideal,mercadopago,mybank,p24,sofort,venmo&enable-funding=venmo,paylater:2:147770"
    referer: "www.paypal.com"
    sdkCorrelationID: "f979895887e38"
    sessionID: "uid_efadfdafc1_mtu6mtm6ndu"
    time: "1646062209711"
    timestamp: "1646062209711"
    token: null
    user_id: "uid_7e17ef0c66_mtu6mza6mdu"

    Please help with this error.

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://min.com/int
    Site address (URL): https://min.com/int
    WC Version: 6.0.0
    REST API Version: ✔ 6.0.0
    WC Blocks Version: ✔ 6.3.3
    Action Scheduler Version: ✔ 3.3.0
    WC Admin Version: ✔ 2.9.4
    Log Directory Writable: ✔
    WP Version: ❌ 5.8.3 - There is a newer version of WordPress available (5.9.1)
    WP Multisite: ✔
    WP Memory Limit: 1 GB
    WP Debug Mode: ✔
    WP Cron: ✔
    Language: en_US
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.4.28
    PHP Post Max Size: 128 MB
    PHP Time Limit: 300
    PHP Max Input Vars: 10000
    cURL Version: 7.81.0
    OpenSSL/1.1.1m
    
    SUHOSIN Installed: –
    MySQL Version: 5.7.37
    Max Upload Size: 128 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 5.7.1
    WC Database Prefix: wp_2_
    Total Database Size: 150.61MB
    Database Data Size: 87.65MB
    Database Index Size: 62.96MB
    wp_2_woocommerce_sessions: Data: 0.03MB + Index: 0.02MB + Engine InnoDB
    wp_2_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_2_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_2_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_2_woocommerce_order_items: Data: 0.13MB + Index: 0.06MB + Engine InnoDB
    wp_2_woocommerce_order_itemmeta: Data: 1.52MB + Index: 0.63MB + Engine InnoDB
    wp_2_woocommerce_tax_rates: Data: 0.11MB + Index: 0.19MB + Engine InnoDB
    wp_2_woocommerce_tax_rate_locations: Data: 0.08MB + Index: 0.09MB + Engine InnoDB
    wp_2_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_2_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_2_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_2_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_2_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_2_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_2_actionscheduler_actions: Data: 0.09MB + Index: 0.13MB + Engine InnoDB
    wp_2_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_2_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_2_actionscheduler_logs: Data: 0.09MB + Index: 0.09MB + Engine InnoDB
    wp_2_c2c_config: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_2_commentmeta: Data: 2.52MB + Index: 3.03MB + Engine InnoDB
    wp_2_comments: Data: 6.52MB + Index: 7.05MB + Engine InnoDB
    wp_2_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_2_newsletter: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_2_newsletter_emails: Data: 0.03MB + Index: 0.00MB + Engine InnoDB
    wp_2_newsletter_sent: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_2_newsletter_stats: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_2_newsletter_user_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_2_options: Data: 3.44MB + Index: 0.22MB + Engine InnoDB
    wp_2_pmxe_exports: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_2_pmxe_google_cats: Data: 0.38MB + Index: 0.00MB + Engine InnoDB
    wp_2_pmxe_posts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_2_pmxe_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_2_pmxi_files: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_2_pmxi_hash: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_2_pmxi_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_2_pmxi_images: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_2_pmxi_imports: Data: 0.36MB + Index: 0.00MB + Engine InnoDB
    wp_2_pmxi_posts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_2_pmxi_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_2_postmeta: Data: 8.52MB + Index: 4.89MB + Engine InnoDB
    wp_2_posts: Data: 1.52MB + Index: 0.50MB + Engine InnoDB
    wp_2_termmeta: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    wp_2_terms: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    wp_2_term_relationships: Data: 0.09MB + Index: 0.06MB + Engine InnoDB
    wp_2_term_taxonomy: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    wp_2_tm_taskmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_2_tm_tasks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_2_wc_admin_notes: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    wp_2_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_2_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_2_wc_customer_lookup: Data: 3.52MB + Index: 1.98MB + Engine InnoDB
    wp_2_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_2_wc_order_coupon_lookup: Data: 0.08MB + Index: 0.09MB + Engine InnoDB
    wp_2_wc_order_product_lookup: Data: 0.16MB + Index: 0.19MB + Engine InnoDB
    wp_2_wc_order_stats: Data: 3.52MB + Index: 2.42MB + Engine InnoDB
    wp_2_wc_order_tax_lookup: Data: 1.52MB + Index: 0.69MB + Engine InnoDB
    wp_2_wc_product_meta_lookup: Data: 0.08MB + Index: 0.13MB + Engine InnoDB
    wp_2_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_2_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_2_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_2_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_2_wt_iew_action_history: Data: 0.03MB + Index: 0.00MB + Engine InnoDB
    wp_2_wt_iew_cron: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_2_wt_iew_ftp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_2_wt_iew_mapping_template: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_2_xoo_wl_list: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_2_xoo_wl_list_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_2_xsg_sitemap_meta: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
    wp_2_yith_wcwl: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_2_yith_wcwl_lists: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_blogmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_blogs: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_registration_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_signups: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_site: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_sitemeta: Data: 1.02MB + Index: 0.03MB + Engine InnoDB
    wp_usermeta: Data: 47.58MB + Index: 36.11MB + Engine InnoDB
    wp_users: Data: 3.52MB + Index: 3.45MB + Engine InnoDB
    
    ### Post Type Counts ###
    
    acf-field: 265
    acf-field-group: 12
    attachment: 960
    awl-labels: 1
    br_labels: 1
    custom_css: 1
    customize_changeset: 1
    faq: 7
    nav_menu_item: 21
    oembed_cache: 1
    page: 23
    popup: 2
    popup_theme: 8
    post: 21
    product: 76
    product_variation: 49
    revision: 43
    shop_order: 458
    shop_order_refund: 912
    wpcf7_contact_form: 1
    wpsl_stores: 3
    
    ### Security ###
    
    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔
    
    ### Active Plugins (45) ###
    
    Automated DHL Express live/manual shipping rates, labels and pickup: by HITShipo – 3.1.2
    Automated FedEx live/manual rates with shipping labels.: by HITShipo – 3.1.5
    Automated UPS Shipping: by HITShipo – 3.2.1
    Advanced Custom Fields: Image Aspect Ratio Crop: by Johannes Siipola – 6.0.0
    Advanced Custom Fields: Theme Code Pro: by hookturn – 2.4.0
    Advanced Custom Fields PRO: by Delicious Brains – 5.11.4
    Advanced Woo Labels: by ILLID – 1.36
    FiboSearch - AJAX Search for WooCommerce: by FiboSearch Team – 1.15.0
    Automated DHL Parcel shipping labels.: by HITShipo – 1.0.0
    Automated USPS Shipping: by HITShipo – 1.0.1
    Contact Form 7: by Takayuki Miyoshi – 5.5.3
    DHL Express for WooCommerce: by WP Desk – 1.5.5
    WooCommerce - Fondy payment gateway: by Fondy - Unified Payment Platform – 3.0.2
    Max Mega Menu: by megamenu.com – 2.9.5
    Simple Sitemap: by David Gwyer – 93.4
    WooCommerce PayPal Payments: by WooCommerce – 1.6.5
    WooCommerce: by Automattic – 6.0.0 (update to version 6.2.1 is available)
    WordPress Importer: by wordpressdotorg – 0.7
    WP-Optimize - Clean, Compress, Cache: by David Anderson
    Ruhani Rabin
    Team Updraft – 3.2.1
    
    WP SVG images: by KubiQ – 3.6
    Google XML Sitemap Generator: by XmlSitemapGenerator.org – 2.0.2
    YITH WooCommerce Wishlist: by YITH – 3.4.0
    FiboSearch - AJAX Search for WooCommerce: by FiboSearch Team – 1.15.0
    Advanced Custom Fields PRO: by Delicious Brains – 5.11.4
    Advanced Custom Fields: Image Aspect Ratio Crop: by Johannes Siipola – 6.0.0
    Advanced Custom Fields: Theme Code Pro: by hookturn – 2.4.0
    Advanced Woo Labels: by ILLID – 1.36
    Contact Form 7: by Takayuki Miyoshi – 5.5.3
    Flexible Shipping UPS: by WP Desk – 1.17.2
    Google XML Sitemap Generator: by XmlSitemapGenerator.org – 2.0.2
    Max Mega Menu: by megamenu.com – 2.9.5
    Simple Sitemap: by David Gwyer – 93.4
    WooCommerce: by Automattic – 6.0.0 (update to version 6.2.1 is available)
    WooCommerce PayPal Payments: by WooCommerce – 1.6.5
    WP SVG images: by KubiQ – 3.6
    WP-Optimize - Clean, Compress, Cache: by David Anderson
    Ruhani Rabin
    Team Updraft – 3.2.1
    
    YITH WooCommerce Wishlist: by YITH – 3.4.0
    Live rates for USPS and WooCommerce by Flexible Shipping: by Flexible Shipping – 1.0.4
    Payment Plugins for Stripe WooCommerce: by Payment Plugins
    support@paymentplugins.com – 3.3.15
    
    Classic Editor: by WordPress Contributors – 1.6.2
    WooCommerce - ShipStation Integration: by WooCommerce – 4.1.48
    WooCommerce Shipment Tracking: by WooCommerce – 1.6.31
    Popup Maker: by Popup Maker – 1.16.3
    Waitlist woocommerce( Back in stock notifier ): by  – 2.5.2
    Easy WP SMTP: by wpecommerce
    alexanderfoxc – 1.4.7
    
    ### Inactive Plugins (25) ###
    
    DHL for WooCommerce: by DHL – 2.7.6
    Flexible Shipping For FedEx: by WP Desk – 1.9.0
    Klarna Checkout for WooCommerce: by Krokedil – 2.6.4
    Klarna Payments for WooCommerce: by krokedil
    klarna
    automattic – 2.8.1
    
    Maintenance: by WebFactory Ltd – 4.05
    Newsletter: by Stefano Lissa & The Newsletter Team – 7.3.6
    PayPal Express Checkout Payment Gateway for WooCommerce ( Basic ): by WebToffee – 1.6.5
    PayPal PLUS for WooCommerce: by Inpsyde GmbH – 2.2.1
    Product CSV Import Export (BASIC): by WebToffee – 2.1.4
    Product Filters for WooCommerce: by Nexter – 1.1.16
    Product Gallery Slider for WooCommerce: by codeixer – 2.1.3
    TC Custom JavaScript: by Tiny Code – 1.2.3
    USPS Simple Shipping for Woocommerce: by dangoodman – 1.5.7
    Woocommerce Multi Warehouses: by Venby – 2.0.4
    WooCommerce Shipping & Tax: by WooCommerce – 1.25.20 (update to version 1.25.23 is available)
    WooCommerce Stripe Gateway: by WooCommerce – 6.0.0
    WordPress Multisite Content Copier/Updater: by Obtain Infotech – 1.5.0
    WP All Export - ACF Export Add-On Pro: by Soflyy – 1.0.3
    WP All Export - WooCommerce Export Add-On Pro: by Soflyy – 1.0.3
    WP All Export Pro: by Soflyy – 1.7.2
    WP All Import - ACF Add-On: by Soflyy – 3.2.9
    WP All Import - WooCommerce Add-On Pro: by Soflyy – 3.2.7
    WP All Import Pro: by Soflyy – 4.7.1
    WP SMTP: by Yehuda Hassine – 1.2.3
    WP Store Locator: by Tijmen Smit – 2.2.234
    
    ### Dropin Plugins (1) ###
    
    advanced-cache.php: advanced-cache.php
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: –
    Currency: EUR (€)
    Currency Position: left
    Thousand Separator: 
    Decimal Separator: .
    Number of Decimals: 0
    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: –
    
    ### WC Pages ###
    
    Shop base: #1347 - /shop/
    Cart: #7 - /cart/
    Checkout: #8 - /checkout/
    My account: #9 - /my-account/
    Terms and conditions: #1959 - /terms-and-conditions/
    
    ### Theme ###
    
    Name: MIN NY
    Version: 1.0
    Author URL: https://boikotyk.github.io/
    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: min/woocommerce/archive-product.php
    min/woocommerce/cart/cart-empty.php
    min/woocommerce/cart/cart-shipping.php
    min/woocommerce/cart/cart-totals.php
    min/woocommerce/cart/cart.php
    min/woocommerce/cart/proceed-to-checkout-button.php
    min/woocommerce/cart/shipping-calculator.php
    min/woocommerce/checkout/form-billing.php
    min/woocommerce/checkout/form-checkout.php
    min/woocommerce/checkout/form-coupon.php
    min/woocommerce/checkout/form-login.php
    min/woocommerce/checkout/payment-method.php
    min/woocommerce/checkout/payment.php
    min/woocommerce/checkout/review-order.php
    min/woocommerce/checkout/terms.php
    min/woocommerce/checkout/thankyou.php
    min/woocommerce/content-product.php
    min/woocommerce/content-single-product.php
    min/woocommerce/content-widget-product.php
    min/woocommerce/emails/customer-completed-order.php
    min/woocommerce/emails/customer-invoice.php
    min/woocommerce/emails/customer-new-account.php
    min/woocommerce/emails/customer-processing-order.php
    min/woocommerce/emails/customer-refunded-order.php
    min/woocommerce/emails/customer-reset-password.php
    min/woocommerce/emails/email-order-details.php
    min/woocommerce/global/breadcrumb.php
    min/woocommerce/global/form-login.php
    min/woocommerce/global/quantity-input.php
    min/woocommerce/loop/add-to-cart.php
    min/woocommerce/loop/loop-end.php
    min/woocommerce/loop/loop-start.php
    min/woocommerce/loop/no-products-found.php
    min/woocommerce/loop/orderby.php
    min/woocommerce/loop/pagination.php
    min/woocommerce/loop/price.php
    min/woocommerce/loop/rating.php
    min/woocommerce/loop/result-count.php
    min/woocommerce/loop/sale-flash.php
    min/woocommerce/myaccount/dashboard.php
    min/woocommerce/myaccount/form-edit-account.php
    min/woocommerce/myaccount/form-edit-address.php
    min/woocommerce/myaccount/form-login.php
    min/woocommerce/myaccount/form-lost-password.php
    min/woocommerce/myaccount/form-reset-password.php
    min/woocommerce/myaccount/lost-password-confirmation.php
    min/woocommerce/myaccount/my-account.php
    min/woocommerce/myaccount/my-address.php
    min/woocommerce/myaccount/my-orders.php
    min/woocommerce/myaccount/navigation.php
    min/woocommerce/myaccount/orders.php
    min/woocommerce/myaccount/view-order.php
    min/woocommerce/notices/error.php
    min/woocommerce/notices/notice.php
    min/woocommerce/notices/success.php
    min/woocommerce/order/form-tracking.php
    min/woocommerce/order/order-again.php
    min/woocommerce/order/order-details-customer.php
    min/woocommerce/order/order-details-item.php
    min/woocommerce/order/order-details.php
    min/woocommerce/order/order-downloads.php
    min/woocommerce/order/tracking.php
    min/woocommerce/single-product/add-to-cart/external.php
    min/woocommerce/single-product/add-to-cart/grouped.php
    min/woocommerce/single-product/add-to-cart/simple.php
    min/woocommerce/single-product/add-to-cart/variable.php
    min/woocommerce/single-product/add-to-cart/variation-add-to-cart-button.php
    min/woocommerce/single-product/add-to-cart/variation.php
    min/woocommerce/single-product/meta.php
    min/woocommerce/single-product/photoswipe.php
    min/woocommerce/single-product/price.php
    min/woocommerce/single-product/product-attributes.php
    min/woocommerce/single-product/product-image.php
    min/woocommerce/single-product/product-thumbnails.php
    min/woocommerce/single-product/rating.php
    min/woocommerce/single-product/related.php
    min/woocommerce/single-product/review-meta.php
    min/woocommerce/single-product/review-rating.php
    min/woocommerce/single-product/review.php
    min/woocommerce/single-product/sale-flash.php
    min/woocommerce/single-product/share.php
    min/woocommerce/single-product/short-description.php
    min/woocommerce/single-product/stock.php
    min/woocommerce/single-product/tabs/additional-information.php
    min/woocommerce/single-product/tabs/description.php
    min/woocommerce/single-product/tabs/tabs.php
    min/woocommerce/single-product/title.php
    min/woocommerce/single-product/up-sells.php
    min/woocommerce/single-product-reviews.php
    min/woocommerce/single-product.php
    
    ### 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: ✔
    
    ### Action Scheduler ###
    
    Complete: 277
    Oldest: 2022-01-29 21:00:10 +0000
    Newest: 2022-02-28 14:57:13 +0000
    
    Pending: 1
    Oldest: 2022-02-28 18:14:48 +0000
    Newest: 2022-02-28 18:14:48 +0000
    
    ### Status report information ###
    
    Generated at: 2022-02-28 15:55:59 +00:00
    

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

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Support Inpsyde Niklas

    (@niklasinpsyde)

    Hi @galinabublik,

    Pay Later is only available for the main region and currency of your PayPal account.
    So a US merchant can offer Pay Later US offers, but not the monthly installments PayPal provides for merchants operating from Germany: https://developer.paypal.com/docs/checkout/pay-later/us/

    The Could not validate nonce. error when trying to create an order can be caused by an interaction with a third-party plugin.
    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.

    Read more about plugin and theme conflicts in the WooCommerce Self-Service Guide.

    Kind regards,
    Niklas

    Thread Starter GalinaBublik

    (@galinabublik)

    Hello, Inpsyde Niklas (@niklasinpsyde)
    Thanks for your answer!
    I updated WP and all plugins
    On Main site button is working now.
    But on second site https://min.com/int/ of my network, still seen an error
    “err: “TypeError: Cannot read properties of null …”
    Don’t understand what is meen?
    How i can fixed this?

    Plugin Support Inpsyde Niklas

    (@niklasinpsyde)

    Hi @galinabublik,

    Have you also tried it while being logged out?
    As a guest, the order creation is impacted as every attempt at clicking the PayPal buttons ends with a Could not validate nonce. error. This happens on both of your sites. To me, it doesn’t look like it’s working quite yet.
    The error itself is fairly generic but the best thing you could do would be a full conflict test as described above. So first activate the Storefront theme and try again.
    If it still doesn’t work, then disable all other plugins except for WooCommerce and PayPal Payments to see if the issue remains.
    Thanks!

    Kind regards,
    Niklas

    Thread Starter GalinaBublik

    (@galinabublik)

    Hello, Inpsyde Niklas (@niklasinpsyde)

    Button stop working for all users and guests(

    installed Storefront theme On my stage site.
    Deactivated almost all plugins https://screenrec.com/share/rtXWugOq1h
    https://staging.min.com/product/scent-stories-discovery-set-volume-3/
    Button not working https://screenrec.com/share/GWarQkS10v “Error: Could not validate nonce.”

    Here is debug log

    2022-03-02T13:23:28+00:00 DEBUG POST https://connect.woocommerce.com/ppcsandbox/v2/customer/partner-referrals
    Request Body: {"partner_config_override":{"partner_logo_url":"https:\/\/connect.woocommerce.com\/images\/woocommerce_logo.png","return_url":"https:\/\/staging.min.com\/wp-admin\/admin.php?page=wc-settings&tab=checkout&section=ppcp-gateway","return_url_description":"Return to your shop.","show_add_credit_card":true},"products":["PPCP"],"legal_consents":[{"type":"SHARE_DATA_CONSENT","granted":true}],"operations":[{"operation":"API_INTEGRATION","api_integration_preference":{"rest_api_integration":{"integration_method":"PAYPAL","integration_type":"FIRST_PARTY","first_party_details":{"features":["PAYMENT","FUTURE_PAYMENT","REFUND","ADVANCED_TRANSACTIONS_SEARCH","VAULT"],"seller_nonce":"a1233wtergfsdt4365tzrshgfbaewa36AGa1233wtergfsdt4365tzrshgfbaewa36AG"}}}}]}
    Response Debug ID: 78cdf9ac5f29f
    Response: Array
    (
        [code] => 201
        [message] => Created
    )
    
    2022-03-02T13:23:28+00:00 DEBUG POST https://connect.woocommerce.com/ppcsandbox/v2/customer/partner-referrals
    Request Body: {"partner_config_override":{"partner_logo_url":"https:\/\/connect.woocommerce.com\/images\/woocommerce_logo.png","return_url":"https:\/\/staging.min.com\/wp-admin\/admin.php?page=wc-settings&tab=checkout&section=ppcp-gateway","return_url_description":"Return to your shop.","show_add_credit_card":true},"products":["EXPRESS_CHECKOUT"],"legal_consents":[{"type":"SHARE_DATA_CONSENT","granted":true}],"operations":[{"operation":"API_INTEGRATION","api_integration_preference":{"rest_api_integration":{"integration_method":"PAYPAL","integration_type":"FIRST_PARTY","first_party_details":{"features":["PAYMENT","FUTURE_PAYMENT","REFUND","ADVANCED_TRANSACTIONS_SEARCH","VAULT"],"seller_nonce":"a1233wtergfsdt4365tzrshgfbaewa36AGa1233wtergfsdt4365tzrshgfbaewa36AG"}}}}]}
    Response Debug ID: a8258d6e9935b
    Response: Array
    (
        [code] => 201
        [message] => Created
    )
    
    2022-03-02T13:23:41+00:00 ERROR Cart updating failed: Could not validate nonce.

    Please check, what is incorrect.

    Thread Starter GalinaBublik

    (@galinabublik)

    Inpsyde Niklas (@niklasinpsyde)
    Please help fix the issue.

    I investigated products and founded that on simple product page button PayPal is working, but on variable product page – return an error “Something went wrong. Please try again or choose another payment source.” – “Cannot read properties of null”.
    How i can add value of variable id to data array for paypal checkout???

    Thread Starter GalinaBublik

    (@galinabublik)

    I am sorry, Inpsyde Niklas (@niklasinpsyde)
    Can you give me some answer about this issue?
    https://screenrec.com/share/RhxH8l1pBW

    Plugin Support Inpsyde Niklas

    (@niklasinpsyde)

    Hi @galinabublik,

    Thanks for providing a link to the staging site and apologies for getting back just now. It looks like the same error is thrown for simple and variable products. We’ll need to a deeper look into this with our developers.
    I’m pretty sure there is a relation to this error in the browser console: Error: Expected an order id to be passed
    This likely causes the endpoint ?wc-ajax=ppc-change-cart to be called twice, which results in the Could not validate nonce error.

    I have only seen a single report about a similar error message in the past but it does not seem the have the same cause as I can reproduce it on your site with all major browsers.
    Since you said you disabled almost all plugins, could you please make sure to also check it with only PayPal Payments and WooCommerce active?
    Thanks!

    Kind regards,
    Niklas

    Plugin Support Inpsyde Niklas

    (@niklasinpsyde)

    Hi @galinabublik,

    Could you please also give it a try with this version?
    https://drive.google.com/uc?export=download&id=1DblDUAzOQWsJsD4jRyw28K09qlSf4E9g
    Thanks!

    Kind regards,
    Niklas

    Thread Starter GalinaBublik

    (@galinabublik)

    Hello, Inpsyde Niklas (@niklasinpsyde)

    Now i see login form – https://screenrec.com/share/wEcvbtPTrm – i think it must be work.
    Thanks a lot!

    Plugin Support Joost van de Vijver

    (@joostvandevijver)

    Hello,

    It has been quite some time since our last communication, so we will mark this thread as resolved. Please open a new thread if you are still facing issues or have questions that you need us to answer.

    Kind regards,
    Joost

Viewing 10 replies - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.