• Resolved maltandmardle

    (@maltandmardle)


    We had previously had zettle connected and working with our site but a couple of days ago new products were not syncing. I disconnected the API while troubleshooting and when I tried to reestablish the connection it now says Authentication Failed.

    I have reinstalled the plugin and checked everything is updated but I am still getting Authentication Failed.

    The logs have been showing this message since this problem started:

    2022-11-10T00:38:37+00:00 INFO ZettleRestException: UNKNOWN
    Got status 410 when sending GET request to https://secure.izettle.com/api/resources/organizations/self
    
     Violations: []
     Thrown in /var/www/wp-content/plugins/zettle-pos-integration/modules/zettle-php-sdk/src/Psr18RestClient.php:184
     With data: []
     and payload: []
    2022-11-10T00:38:37+00:00 DEBUG Settings check failed. Got status 410 when sending GET request to https://secure.izettle.com/api/resources/organizations/self
    2022-11-10T11:18:18+00:00 INFO ZettleRestException: UNKNOWN
    Got status 410 when sending GET request to https://secure.izettle.com/api/resources/organizations/self
Viewing 15 replies - 1 through 15 (of 17 total)
  • Thread Starter maltandmardle

    (@maltandmardle)

    Having spent the weekend troubleshooting I have identified the issue to being the plugin not establishing webhooks.

    When reinstalling the plugin the only line in the log is the following:

    2022-11-13T10:48:31+00:00 DEBUG Added 1 jobs to the queue

    This is instead of the expected log from the documentation.

    I have gone on to test a woocommerce webhook using RequestBin and found the webhook worked so the site isn’t suddenly blocking webhooks.

    I’ve done all this with all plugins disabled expect woocommerce and zettle POS. Any ideas on what would be stopping the webhook from establishing?

    Thread Starter maltandmardle

    (@maltandmardle)

    I have also just loaded a backup of the site from Sunday when the plugin was working as we updated inventory.

    I found the same error is occurring. Using WP Data Access I can see an item is added to the zettle-queue to register a webhook but it is not removed or actioned.

    I have copied my current woocommerce status below:

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://maltandmardle.co.uk
    Site address (URL): https://maltandmardle.co.uk
    WC Version: 7.1.0
    REST API Version: ✔ 7.1.0
    WC Blocks Version: ✔ 8.7.5
    Action Scheduler Version: ✔ 3.4.0
    Log Directory Writable: ✔
    WP Version: ❌ 6.0.3 - There is a newer version of WordPress available (6.1)
    WP Multisite: –
    WP Memory Limit: 512 MB
    WP Debug Mode: –
    WP Cron: ✔
    Language: en_GB
    External object cache: ✔
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 8.0.22
    PHP Post Max Size: 100 MB
    PHP Time Limit: 300
    PHP Max Input Vars: 1000
    cURL Version: 7.80.0
    OpenSSL/1.1.1q
    
    SUHOSIN Installed: –
    MySQL Version: 5.7.26-29-log
    Max Upload Size: 100 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 7.1.0
    WC Database Prefix: wp_fwmr5vm7x0_
    Total Database Size: 23.17MB
    Database Data Size: 18.41MB
    Database Index Size: 4.76MB
    wp_fwmr5vm7x0_woocommerce_sessions: Data: 0.06MB + Index: 0.02MB + Engine InnoDB
    wp_fwmr5vm7x0_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_fwmr5vm7x0_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_fwmr5vm7x0_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_fwmr5vm7x0_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_fwmr5vm7x0_woocommerce_order_itemmeta: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
    wp_fwmr5vm7x0_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_fwmr5vm7x0_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_fwmr5vm7x0_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_fwmr5vm7x0_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_fwmr5vm7x0_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_fwmr5vm7x0_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_fwmr5vm7x0_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_fwmr5vm7x0_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpstg0_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpstg0_comments: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    wpstg0_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpstg0_options: Data: 1.52MB + Index: 0.03MB + Engine InnoDB
    wpstg0_postmeta: Data: 0.19MB + Index: 0.03MB + Engine InnoDB
    wpstg0_posts: Data: 5.52MB + Index: 0.06MB + Engine InnoDB
    wpstg0_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpstg0_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpstg0_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpstg0_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpstg0_usermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpstg0_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wpstg0_yoast_indexable: Data: 0.09MB + Index: 0.08MB + Engine InnoDB
    wpstg0_yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wpstg0_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpstg0_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpstg0_yoast_seo_links: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    wp_fwmr5vm7x0_actionscheduler_actions: Data: 0.31MB + Index: 0.28MB + Engine InnoDB
    wp_fwmr5vm7x0_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_fwmr5vm7x0_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_fwmr5vm7x0_actionscheduler_logs: Data: 0.20MB + Index: 0.17MB + Engine InnoDB
    wp_fwmr5vm7x0_cmplz_cookiebanners: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_fwmr5vm7x0_cmplz_cookies: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_fwmr5vm7x0_cmplz_services: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_fwmr5vm7x0_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_fwmr5vm7x0_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_fwmr5vm7x0_defender_audit_log: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    wp_fwmr5vm7x0_defender_email_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_fwmr5vm7x0_defender_lockout: Data: 0.06MB + Index: 0.06MB + Engine InnoDB
    wp_fwmr5vm7x0_defender_lockout_log: Data: 0.08MB + Index: 0.06MB + Engine InnoDB
    wp_fwmr5vm7x0_defender_scan: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_fwmr5vm7x0_defender_scan_item: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_fwmr5vm7x0_gla_budget_recommendations: Data: 0.22MB + Index: 0.14MB + Engine InnoDB
    wp_fwmr5vm7x0_gla_merchant_issues: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_fwmr5vm7x0_gla_shipping_rates: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_fwmr5vm7x0_gla_shipping_times: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_fwmr5vm7x0_jetpack_waf_blocklog: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_fwmr5vm7x0_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_fwmr5vm7x0_mailpoet_custom_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_fwmr5vm7x0_mailpoet_dynamic_segment_filters: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_fwmr5vm7x0_mailpoet_feature_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_fwmr5vm7x0_mailpoet_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_fwmr5vm7x0_mailpoet_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_fwmr5vm7x0_mailpoet_mapping_to_external_entities: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_fwmr5vm7x0_mailpoet_newsletters: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_fwmr5vm7x0_mailpoet_newsletter_links: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_fwmr5vm7x0_mailpoet_newsletter_option: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_fwmr5vm7x0_mailpoet_newsletter_option_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_fwmr5vm7x0_mailpoet_newsletter_posts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_fwmr5vm7x0_mailpoet_newsletter_segment: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_fwmr5vm7x0_mailpoet_newsletter_templates: Data: 2.52MB + Index: 0.00MB + Engine InnoDB
    wp_fwmr5vm7x0_mailpoet_scheduled_tasks: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_fwmr5vm7x0_mailpoet_scheduled_task_subscribers: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_fwmr5vm7x0_mailpoet_segments: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_fwmr5vm7x0_mailpoet_sending_queues: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_fwmr5vm7x0_mailpoet_settings: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_fwmr5vm7x0_mailpoet_statistics_bounces: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_fwmr5vm7x0_mailpoet_statistics_clicks: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_fwmr5vm7x0_mailpoet_statistics_forms: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_fwmr5vm7x0_mailpoet_statistics_newsletters: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_fwmr5vm7x0_mailpoet_statistics_opens: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    wp_fwmr5vm7x0_mailpoet_statistics_unsubscribes: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_fwmr5vm7x0_mailpoet_statistics_woocommerce_purchases: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_fwmr5vm7x0_mailpoet_stats_notifications: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_fwmr5vm7x0_mailpoet_subscribers: Data: 0.02MB + Index: 0.13MB + Engine InnoDB
    wp_fwmr5vm7x0_mailpoet_subscriber_custom_field: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_fwmr5vm7x0_mailpoet_subscriber_ips: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_fwmr5vm7x0_mailpoet_subscriber_segment: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_fwmr5vm7x0_mailpoet_subscriber_tag: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_fwmr5vm7x0_mailpoet_tags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_fwmr5vm7x0_mailpoet_user_agents: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_fwmr5vm7x0_mailpoet_user_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_fwmr5vm7x0_options: Data: 1.44MB + Index: 0.08MB + Engine InnoDB
    wp_fwmr5vm7x0_postmeta: Data: 1.52MB + Index: 0.28MB + Engine InnoDB
    wp_fwmr5vm7x0_posts: Data: 1.52MB + Index: 0.13MB + Engine InnoDB
    wp_fwmr5vm7x0_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_fwmr5vm7x0_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_fwmr5vm7x0_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_fwmr5vm7x0_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_fwmr5vm7x0_tm_taskmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_fwmr5vm7x0_tm_tasks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_fwmr5vm7x0_usermeta: Data: 0.09MB + Index: 0.03MB + Engine InnoDB
    wp_fwmr5vm7x0_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_fwmr5vm7x0_wc_admin_notes: Data: 0.08MB + Index: 0.00MB + Engine InnoDB
    wp_fwmr5vm7x0_wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
    wp_fwmr5vm7x0_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_fwmr5vm7x0_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_fwmr5vm7x0_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_fwmr5vm7x0_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_fwmr5vm7x0_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_fwmr5vm7x0_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_fwmr5vm7x0_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_fwmr5vm7x0_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_fwmr5vm7x0_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_fwmr5vm7x0_wc_product_meta_lookup: Data: 0.05MB + Index: 0.09MB + Engine InnoDB
    wp_fwmr5vm7x0_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_fwmr5vm7x0_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_fwmr5vm7x0_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_fwmr5vm7x0_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_fwmr5vm7x0_wpda_csv_uploads: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_fwmr5vm7x0_wpda_csv_uploads_BACKUP_20221113114340: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_fwmr5vm7x0_wpda_logging: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_fwmr5vm7x0_wpda_logging_BACKUP_20221113114340: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_fwmr5vm7x0_wpda_media: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_fwmr5vm7x0_wpda_media_BACKUP_20221113114340: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_fwmr5vm7x0_wpda_menus: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_fwmr5vm7x0_wpda_menus_BACKUP_20221113114340: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_fwmr5vm7x0_wpda_project: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_fwmr5vm7x0_wpda_project_BACKUP_20221113114340: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_fwmr5vm7x0_wpda_project_page: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_fwmr5vm7x0_wpda_project_page_BACKUP_20221113114340: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_fwmr5vm7x0_wpda_project_table: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_fwmr5vm7x0_wpda_project_table_BACKUP_20221113114340: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_fwmr5vm7x0_wpda_publisher: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_fwmr5vm7x0_wpda_publisher_BACKUP_20221113114340: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_fwmr5vm7x0_wpda_table_design: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_fwmr5vm7x0_wpda_table_design_BACKUP_20221113114340: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_fwmr5vm7x0_wpda_table_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_fwmr5vm7x0_wpda_table_settings_BACKUP_20221113114340: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_fwmr5vm7x0_yoast_indexable: Data: 0.33MB + Index: 0.27MB + Engine InnoDB
    wp_fwmr5vm7x0_yoast_indexable_hierarchy: Data: 0.05MB + Index: 0.05MB + Engine InnoDB
    wp_fwmr5vm7x0_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_fwmr5vm7x0_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_fwmr5vm7x0_yoast_seo_links: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
    wp_fwmr5vm7x0_zettle_queue: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_fwmr5vm7x0_zettle_woocommerce_id_map: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    
    ### Post Type Counts ###
    
    attachment: 339
    coblocks_pattern: 2
    custom_css: 4
    customize_changeset: 22
    jetpack_migration: 2
    mailpoet_page: 1
    nav_menu_item: 43
    page: 24
    popup: 2
    popup_theme: 8
    post: 2
    product: 43
    product_variation: 3
    revision: 90
    seedprod: 2
    shop_coupon: 5
    wp_block: 4
    wp_global_styles: 5
    
    ### Security ###
    
    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔
    
    ### Active Plugins (5) ###
    
    Child Theme Configurator: by Lilaea Media – 2.6.0
    CMP - Coming Soon & Maintenance Plugin: by NiteoThemes – 4.1.5
    WooCommerce: by Automattic – 7.1.0
    WP Data Access: by Passionate Programmers B.V. – 5.2.8
    PayPal Zettle POS: by PayPal – 1.5.4
    
    ### Inactive Plugins (13) ###
    
    Age Gate: by Phil Baker – 3.0.9
    Ajax add to cart for WooCommerce: by QuadLayers – 1.3.8
    CoBlocks: by GoDaddy – 2.25.0
    Complianz | GDPR/CCPA Cookie Consent: by Really Simple Plugins – 6.3.5
    Jetpack: by Automattic – 11.5.1
    Site Kit by Google: by Google – 1.87.0
    Sucuri Security - Auditing, Malware Scanner and Hardening: by Sucuri Inc. – 1.8.35
    WooCommerce Blocks: by Automattic – 8.8.2
    WooCommerce Payments: by Automattic – 5.0.1
    WooCommerce PayPal Payments: by WooCommerce – 1.9.5
    WooCommerce Shipping & Tax: by WooCommerce – 1.26.3
    WP Crontrol: by John Blackbourn & crontributors – 1.14.0
    Yoast SEO: by Team Yoast – 19.10
    
    ### Dropin Plugins (2) ###
    
    db-error.php: db-error.php
    object-cache.php: object-cache.php
    
    ### Must Use Plugins (2) ###
    
    Object Cache Pro (MU): by Rhubarb Group – 1.16.4
    System Plugin: by  – 4.51.1
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: –
    Currency: GBP (£)
    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: ✔
    
    ### WC Pages ###
    
    Shop base: #2193 - /test-shop/
    Basket: #3105 - /basket/
    Checkout: #3133 - /checkout/
    My account: #1155 - /my-account/
    Terms and conditions: #3014 - /terms-and-conditions/
    
    ### Theme ###
    
    Name: Storefront Child 02
    Version: 4.1.2.1663255351
    Author URL: https://woocommerce.com/
    Child Theme: ✔
    Parent Theme Name: Storefront
    Parent Theme Version: 4.1.3
    Parent Theme Author URL: https://woocommerce.com/
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: –
    
    ### Admin ###
    
    Enabled Features: activity-panels
    analytics
    coupons
    customer-effort-score-tracks
    experimental-products-task
    experimental-import-products-task
    experimental-fashion-sample-products
    shipping-smart-defaults
    shipping-setting-tour
    homescreen
    marketing
    multichannel-marketing
    mobile-app-banner
    navigation
    onboarding
    onboarding-tasks
    remote-inbox-notifications
    remote-free-extensions
    payment-gateway-suggestions
    shipping-label-banner
    subscriptions
    store-alerts
    transient-notices
    woo-mobile-welcome
    wc-pay-promotion
    wc-pay-welcome-page
    
    Disabled Features: minified-js
    new-product-management-experience
    settings
    
    Daily Cron: ✔ Next scheduled: 2022-11-07 15:16:02 +00:00
    Options: ✔
    Notes: 89
    Onboarding: completed
    
    ### Action Scheduler ###
    
    Canceled: 2
    Oldest: 2022-11-03 16:27:19 +0000
    Newest: 2022-11-03 17:13:31 +0000
    
    Complete: 729
    Oldest: 2022-10-13 13:32:59 +0000
    Newest: 2022-11-13 12:08:37 +0000
    
    Pending: 2
    Oldest: 2022-11-13 12:30:49 +0000
    Newest: 2022-11-14 11:30:49 +0000
    
    ### PayPal Zettle POS ###
    
    Onboarding state: 
    
    ### Status report information ###
    
    Generated at: 2022-11-13 12:13:56 +00:00
    
    Plugin Support Syde Joost

    (@joostvandevijver)

    Hello @maltandmardle

    Sorry for the delay in my response.

    If you tested the function of the Zettle plugin without the other plugins active and the theme replaced (by default storefront theme), then you made a good start with troubleshooting.
    In this case, there are 2 options left:
    1) Server issue Zettle – I just checked the Zettle status site and see there was some issue on the 10th, but currently everything seems to be fine. Can you check again?
    2) Account details stored incorrectly – It could be that the database was corrupted, or somehow the account details were adjusted, and it can’t access the Zettle server any longer. You might want to disconnect your account and onboard the account again. Be sure to not overwrite all products, so that you don’t lose all history of your previous work (by choosing “Add WooCommerce Products” in step 2/6 of onboarding).

    Please let me know if any of these options help you resolve the issue.

    Kind regards,
    Joost

    Thread Starter maltandmardle

    (@maltandmardle)

    Hi @joostvandevijver

    I just tried again and have encountered the same problem.

    I am on the storefront theme and deactivated and reactivated only the woocommerce and zettle plugins, no other plugins were running. I then went to the connect and created a new API key but didnt make it past step 1, encountering Authentication Failed again at step 2.

    The log is showing the following lines repeating which I assume are failed connection attempts.

    Violations: []
     Thrown in /var/www/wp-content/plugins/zettle-pos-integration/modules/zettle-php-sdk/src/Psr18RestClient.php:184
     With data: []
     and payload: []
    2022-11-14T12:08:08+00:00 DEBUG Settings check failed. Got status 410 when sending GET request to https://secure.izettle.com/api/resources/organizations/self
    2022-11-14T12:08:10+00:00 INFO ZettleRestException: UNKNOWN
    Got status 410 when sending GET request to https://secure.izettle.com/api/resources/organizations/self
    
     Violations: []
     Thrown in /var/www/wp-content/plugins/zettle-pos-integration/modules/zettle-php-sdk/src/Psr18RestClient.php:184
     With data: []
     and payload: []
    2022-11-14T12:08:10+00:00 DEBUG Settings check failed. Got status 410 when sending GET request to https://secure.izettle.com/api/resources/organizations/self
    2022-11-14T12:08:22+00:00 INFO ZettleRestException: UNKNOWN
    Got status 410 when sending GET request to https://secure.izettle.com/api/resources/organizations/self
    
     Violations: []
     Thrown in /var/www/wp-content/plugins/zettle-pos-integration/modules/zettle-php-sdk/src/Psr18RestClient.php:184
     With data: []
     and payload: []
    2022-11-14T12:08:22+00:00 DEBUG Settings check failed. Got status 410 when sending GET request to https://secure.izettle.com/api/resources/organizations/self
    2022-11-14T12:08:22+00:00 INFO ZettleRestException: UNKNOWN
    Got status 410 when sending GET request to https://secure.izettle.com/api/resources/organizations/self
    
     Violations: []
     Thrown in /var/www/wp-content/plugins/zettle-pos-integration/modules/zettle-php-sdk/src/Psr18RestClient.php:184
     With data: []
     and payload: []
    2022-11-14T12:08:22+00:00 DEBUG Settings check failed. Got status 410 when sending GET request to https://secure.izettle.com/api/resources/organizations/self
    2022-11-14T12:08:28+00:00 INFO ZettleRestException: UNKNOWN
    Got status 410 when sending GET request to https://secure.izettle.com/api/resources/organizations/self
    
     Violations: []
     Thrown in /var/www/wp-content/plugins/zettle-pos-integration/modules/zettle-php-sdk/src/Psr18RestClient.php:184
     With data: []
     and payload: []
    2022-11-14T12:08:28+00:00 DEBUG Settings check failed. Got status 410 when sending GET request to https://secure.izettle.com/api/resources/organizations/self
    2022-11-14T12:08:31+00:00 INFO ZettleRestException: UNKNOWN
    Got status 410 when sending GET request to https://secure.izettle.com/api/resources/organizations/self
    
     Violations: []
     Thrown in /var/www/wp-content/plugins/zettle-pos-integration/modules/zettle-php-sdk/src/Psr18RestClient.php:184
     With data: []
     and payload: []
    2022-11-14T12:08:31+00:00 DEBUG Settings check failed. Got status 410 when sending GET request to https://secure.izettle.com/api/resources/organizations/self
    2022-11-14T12:08:34+00:00 INFO ZettleRestException: UNKNOWN
    Got status 410 when sending GET request to https://secure.izettle.com/api/resources/organizations/self
    
     Violations: []
     Thrown in /var/www/wp-content/plugins/zettle-pos-integration/modules/zettle-php-sdk/src/Psr18RestClient.php:184
     With data: []
     and payload: []
    2022-11-14T12:08:34+00:00 DEBUG Settings check failed. Got status 410 when sending GET request to https://secure.izettle.com/api/resources/organizations/self
    2022-11-14T12:08:37+00:00 INFO ZettleRestException: UNKNOWN
    Got status 410 when sending GET request to https://secure.izettle.com/api/resources/organizations/self
    Thread Starter maltandmardle

    (@maltandmardle)

    I’ve just noticed the following error message appears on the Authentication failed page when I try to connect to the api.

    Registration of the webhooks has failed, please check the Log and reach out the support.

    Plugin Support Syde Joost

    (@joostvandevijver)

    Hello @maltandmardle

    I am checking with our developers team and the PayPal server team if they are known with this error. I have not seen it, but it sounds a bit like a server issue (not a plugin issue). When I know more, I will let you know.

    Kind regards,
    Joost

    Thread Starter maltandmardle

    (@maltandmardle)

    @joostvandevijver thank you for following up.

    I’m spent more time today troubleshooting this issue. just thought I’d let you know that I’ve checked with my hosting provider who have said no connections are being blocked from their end so I can rule that out.

    Plugin Support Syde Joost

    (@joostvandevijver)

    Thank you @maltandmardle
    that would have been the next question from our end, so it is appreciated. I just chased the Zettle team to check if they have investigated this already. Pending their response.

    Thread Starter maltandmardle

    (@maltandmardle)

    @joostvandevijver

    Thanks for chasing.

    I’ve been looking at the behavior of some of the sql tables. I’ve noticed that when I install the plugin and item is added to wp_zettle_queue. It has these values:
    ID: 1
    Hash: 327112397da7b12dede0da434e995ad8
    Type: webhook-registration
    Args: {}
    Site ID: 1

    As I then go through the connection process nothing changes to this queue item. I’m not sure how your plugin works but is this an issue? Seems strange that the webhook registration doesnt leave the queue and has no args.

    Plugin Support Syde Joost

    (@joostvandevijver)

    Hello @maltandmardle

    the Zettle server team also took a look at this situation and responded:

    I just tried it with the actual user account and I get a HTTP 200 response with the expected data:
    <data with all arguments included>
    The only explanation I can come up with is that this was a temporary glitch, can you please check with the user if they still experience this issue?

    Can you let us know what the current status is on your side?

    Kind regards,
    Joost

    Thread Starter maltandmardle

    (@maltandmardle)

    @joostvandevijver

    No luck I’m afraid. Still getting authentication failed and the same log messages.

    Is there any problem with me using a different API from when the plugin was originally working for me? I had to make a new one when I first started having issues and began troubleshooting as I didn’t log the client ID or api code.

    Plugin Support Syde Joost

    (@joostvandevijver)

    Hello @maltandmardle
    no, that does never cause any issues. I would actually try to reconnect again and again generating a new API, to see if that might helps?

    Kind regards,
    Joost

    Thread Starter maltandmardle

    (@maltandmardle)

    @joostvandevijver

    Tried again this morning with another new API key and I’m still receiving the same problem and error log.

    Plugin Support Syde Joost

    (@joostvandevijver)

    Hello @maltandmardle

    we are not seeing any issue from our end and are running low on option to advise you on. We could take a closer look at the full log sand the environment if you could open a direct/private engagement with us following these instructions.

    This is not something we have encountered before, so it might take a bit more time for us to figure out what is causing this.

    Kind regards,
    Joost

    Thread Starter maltandmardle

    (@maltandmardle)

    @joostvandevijver I just raised a ticket following the instructions. Hopefully we can find the route of the issue.

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Authentication Failed when Connecting to API’ is closed to new replies.