• Resolved brendarobleszavaleta

    (@brendarobleszavaleta)


    I created an API key and successfully passed step 1.

    However, I get this error in the step 2 page: “Registration of the webhooks has failed, please check the Log and reach out the support.”

    Log file indicates:
    2021-03-19T19:36:10+00:00 INFO Start reset the Onboarding
    2021-03-19T19:36:11+00:00 INFO Removed Webhooks
    2021-03-19T19:36:11+00:00 INFO Flush Tokens
    2021-03-19T19:36:11+00:00 INFO Removed Zettle options
    2021-03-19T19:36:12+00:00 INFO Cleared table: ‘n6D_zettle_woocommerce_id_map’
    2021-03-19T19:36:13+00:00 INFO Cleared table: ‘n6D_zettle_queue’
    2021-03-19T19:36:13+00:00 INFO Cleared Transient: ‘zettle_organization’
    2021-03-19T19:36:13+00:00 INFO Cleanup finished
    2021-03-19T19:38:26+00:00 INFO ZettleRestException: DESTINATION_NOT_ACCESSIBLE
    Got status 400 when sending POST request to https://pusher.izettle.com/organizations/self/subscriptions
    Could not connect to https://mydomain.com/wp-json/zettle/v1/webhook/listen
    Violations: []
    Thrown in /home4/myacount/public_html/wp-content/plugins/zettle-pos-integration/modules/zettle-php-sdk/src/Psr18RestClient.php:184
    With data: {“developerMessage”:”Could not connect to https:\/\/mydomain.com\/wp-json\/zettle\/v1\/webhook\/listen”,”errorType”:”DESTINATION_NOT_ACCESSIBLE”,”violations”:[]}
    and payload: {“uuid”:”a5dfe7a0-88ea-11eb-a738-7d2ff94c9e90″,”transportName”:”WEBHOOK”,”eventNames”:[],”destination”:”https:\/\/mydomain.com\/wp-json\/zettle\/v1\/webhook\/listen”,”contactEmail”:”[email protected]”}
    2021-03-19T19:38:26+00:00 WARNING Got status 400 when sending POST request to https://pusher.izettle.com/organizations/self/subscriptions
    2021-03-19T19:38:26+00:00 ERROR Got status 400 when sending POST request to https://pusher.izettle.com/organizations/self/subscriptions
    2021-03-19T19:38:33+00:00 INFO Received Webhook: TestMessage
    2021-03-19T19:38:34+00:00 INFO Received Webhook: TestMessage

    In the step 2 page I also get this:
    37 WooCommerce + 4 Zettle products found
    All WooCommerce products will be synced.

    After clicking on Next, I get to step 3 page “Product prices” but nothing is displayed, no list no button. If I reload the page I get to step 5 page with this message: “A critical error occurred. Please check the WooCommerce logs for more details and press ‘Start over’ to restart installation.”.

    Log file indicates:
    2021-03-19T20:04:11+00:00 CRITICAL Settings output failed: TypeError: Argument 1 passed to Inpsyde\Zettle\PhpSdk\DAL\Entity\Vat\Vat::__construct() must be of the type float, null given, called in /home4/myaccount/public_html/wp-content/plugins/zettle-pos-integration/modules/zettle-php-sdk/builders.array.php on line 322 and defined in /home4/myaccount/public_html/wp-content/plugins/zettle-pos-integration/modules/zettle-php-sdk/src/DAL/Entity/Vat/Vat.php:18
    Stack trace:
    #0 /home4/myaccount/public_html/wp-content/plugins/zettle-pos-integration/modules/zettle-php-sdk/builders.array.php(322): Inpsyde\Zettle\PhpSdk\DAL\Entity\Vat\Vat->__construct(NULL)
    #1 /home4/myaccount/public_html/wp-content/plugins/zettle-pos-integration/modules/zettle-php-sdk/builders.array.php(41): Inpsyde\Zettle\PhpSdk\PhpSdkModule::{closure}(Array, Object(Inpsyde\Zettle\PhpSdk\Builder\ValidatableBuilder), Object(Dhii\Container\ProxyContainer))
    #2 /home4/myaccount/public_html/wp-content/plugins/zettle-pos-integration/modules/zettle-php-sdk/src/Builder/CallbackBuilder.php(27): Inpsyde\Zettle\PhpSdk\PhpSdkModule::{closure}(‘Inpsyde\\Zettle\\…’, Array, Object(Inpsyde\Zettle\PhpSdk\Builder\ValidatableBuilder))
    #3 /home4/myaccount/public_html/wp-content/plugins/zettle-pos-integration/modules/zettle-php-sdk/src/Builder/ContainerAwareBuilder.php(32): Inpsyde\Zettle\PhpSdk\Builder\CallbackBuilder->build(‘Inpsyde\\Zettle\\…’, Array, Object(Inpsyde\Zettle\PhpSdk\Builder\ValidatableBuilder))
    #4 /home4/myaccount/public_html/wp-content/plugins/zettle-pos-integration/modules/zettle-php-sdk/src/Builder/ArrayBuilder.php(36): Inpsyde\Zettle\PhpSdk\Builder\ContainerAwareBuilder->build(‘Inpsyde\\Zettle\\…’, Array, Object(Inpsyde\Zettle\PhpSdk\Builder\ValidatableBuilder))
    #5 /home4/myaccount/public_html/wp-content/plugins/zettle-pos-integration/modules/zettle-php-sdk/src/Builder/TypeDelegatingBuilder.php(36): Inpsyde\Zettle\PhpSdk\Builder\ArrayBuilder->build(‘Inpsyde\\Zettle\\…’, Array, Object(Inpsyde\Zettle\PhpSdk\Builder\ValidatableBuilder))
    #6 /home4/myaccount/public_html/wp-content/plugins/zettle-pos-integration/modules/zettle-php-sdk/src/Builder/FilterableBuilder.php(41): Inpsyde\Zettle\PhpSdk\Builder\TypeDelegatingBuilder->build(‘Inpsyde\\Zettle\\…’, Array, Object(Inpsyde\Zettle\PhpSdk\Builder\ValidatableBuilder))
    #7 /home4/myaccount/public_html/wp-content/plugins/zettle-pos-integration/modules/zettle-php-sdk/src/Builder/ValidatableBuilder.php(44): Inpsyde\Zettle\PhpSdk\Builder\FilterableBuilder->build(‘Inpsyde\\Zettle\\…’, Array, Object(Inpsyde\Zettle\PhpSdk\Builder\ValidatableBuilder))
    #8 /home4/myaccount/public_html/wp-content/plugins/zettle-pos-integration/modules/zettle-php-sdk/src/API/OAuth/Organizations.php(60): Inpsyde\Zettle\PhpSdk\Builder\ValidatableBuilder->build(‘Inpsyde\\Zettle\\…’, Array)
    #9 /home4/myaccount/public_html/wp-content/plugins/zettle-pos-integration/modules/zettle-php-sdk/src/DAL/Provider/Organization/RestOrganizationProvider.php(37): Inpsyde\Zettle\PhpSdk\API\OAuth\Organizations->account()
    #10 /home4/myaccount/public_html/wp-content/plugins/zettle-pos-integration/modules/zettle-php-sdk/src/DAL/Provider/Organization/TransientCachingOrganizationProvider.php(93): Inpsyde\Zettle\PhpSdk\DAL\Provider\Organization\RestOrganizationProvider->provide()
    #11 /home4/myaccount/public_html/wp-content/plugins/zettle-pos-integration/modules/zettle-php-sdk/src/DAL/Provider/Organization/TransientCachingOrganizationProvider.php(59): Inpsyde\Zettle\PhpSdk\DAL\Provider\Organization\TransientCachingOrganizationProvider->delegateAndCache()
    #12 /home4/myaccount/public_html/wp-content/plugins/zettle-pos-integration/modules/zettle-onboarding/src/DataProvider/Store/ZettleStoreDataProvider.php(79): Inpsyde\Zettle\PhpSdk\DAL\Provider\Organization\TransientCachingOrganizationProvider->provide()
    #13 /home4/myaccount/public_html/wp-content/plugins/zettle-pos-integration/modules/zettle-onboarding/src/DataProvider/Store/ZettleStoreDataProvider.php(45): Inpsyde\Zettle\Onboarding\DataProvider\Store\ZettleStoreDataProvider->organization()
    #14 /home4/myaccount/public_html/wp-content/plugins/zettle-pos-integration/modules/zettle-onboarding/src/Comparison/StoreComparison.php(41): Inpsyde\Zettle\Onboarding\DataProvider\Store\ZettleStoreDataProvider->currency()
    #15 /home4/myaccount/public_html/wp-content/plugins/zettle-pos-integration/modules/zettle-onboarding/src/Comparison/StoreComparison.php(67): Inpsyde\Zettle\Onboarding\Comparison\StoreComparison->currency()
    #16 /home4/myaccount/public_html/wp-content/plugins/zettle-pos-integration/modules/zettle-onboarding/src/Settings/View/SyncVatParamView.php(53): Inpsyde\Zettle\Onboarding\Comparison\StoreComparison->canSyncPrices()
    #17 /home4/myaccount/public_html/wp-content/plugins/zettle-pos-integration/modules/zettle-onboarding/src/Settings/View/ContainerAwareView.php(31): Inpsyde\Zettle\Onboarding\Settings\View\SyncVatParamView->renderHeader()
    #18 /home4/myaccount/public_html/wp-content/plugins/zettle-pos-integration/modules/zettle-onboarding/src/Settings/FieldRenderer/OnboardingFieldRenderer.php(164): Inpsyde\Zettle\Onboarding\Settings\View\ContainerAwareView->renderHeader()
    #19 /home4/myaccount/public_html/wp-content/plugins/zettle-pos-integration/modules/zettle-onboarding/src/Settings/FieldRenderer/OnboardingFieldRenderer.php(112): Inpsyde\Zettle\Onboarding\Settings\FieldRenderer\OnboardingFieldRenderer->renderTableContent()
    #20 /home4/myaccount/public_html/wp-content/plugins/zettle-pos-integration/modules/zettle-settings/src/WC/ZettleIntegration.php(231): Inpsyde\Zettle\Onboarding\Settings\FieldRenderer\OnboardingFieldRenderer->render(‘onboarding’, Array, Object(Inpsyde\Zettle\Settings\WC\ZettleIntegration))
    #21 /home4/myaccount/public_html/wp-content/plugins/zettle-pos-integration/modules/zettle-settings/src/WC/ZettleIntegration.php(196): Inpsyde\Zettle\Settings\WC\ZettleIntegration->generate_settings_html(Array, false)
    #22 /home4/myaccount/public_html/wp-content/plugins/zettle-pos-integration/modules/zettle-settings/src/WC/SettingsPage.php(90): Inpsyde\Zettle\Settings\WC\ZettleIntegration->admin_options()
    #23 /home4/myaccount/public_html/wp-includes/class-wp-hook.php(292): Inpsyde\Zettle\Settings\WC\SettingsPage->output(”)
    #24 /home4/myaccount/public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(”, Array)
    #25 /home4/myaccount/public_html/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
    #26 /home4/myaccount/public_html/wp-content/plugins/woocommerce/includes/admin/views/html-admin-settings.php(40): do_action(‘woocommerce_set…’)
    #27 /home4/myaccount/public_html/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-settings.php(153): include(‘/home4/myaccount…’)
    #28 /home4/myaccount/public_html/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-menus.php(273): WC_Admin_Settings::output()
    #29 /home4/myaccount/public_html/wp-includes/class-wp-hook.php(292): WC_Admin_Menus->settings_page(”)
    #30 /home4/myaccount/public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(”, Array)
    #31 /home4/myaccount/public_html/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
    #32 /home4/myaccount/public_html/wp-admin/admin.php(259): do_action(‘woocommerce_pag…’)
    #33 {main}

    I have tried the same several times.

    Please advise.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi @brendarobleszavaleta,

    Could you please try again with the latest plugin version 1.1.0?
    Please update the plugin, disable it and then re-enable it before you start the sync.

    If the issue still persists, then please open a support ticket with us as described here:
    https://zettle.inpsyde.com/docs/how-to-request-support-via-widget-on-the-website/
    Please include your WooCommerce system report and a link to this thread.
    Thanks!

    Kind regards,
    Niklas

    Thread Starter brendarobleszavaleta

    (@brendarobleszavaleta)

    Will do. Quick question: we want to use our Zettle account as a payment gateway for our ecommerce site. Is it doable through this plugin or how?

    Thanks

    Thread Starter brendarobleszavaleta

    (@brendarobleszavaleta)

    Bad news, I’ve already got it:
    Zettle Point-Of-Sale Integration for WooCommerce
    Version 1.1.0 | By Inpsyde GmbH | See details

    Plugin Support Syde Niklas

    (@niklasinpsyde)

    Currently, the Zettle POS Integration for WooCommerce plugin syncs your products from WooCommerce to Zettle and keeps your inventory in sync whenever the stock changes on either side.
    But you cannot make any payments for WooCommerce orders through Zettle (yet).
    There is also no sync yet for your orders, but we are working on many new features for our future updates. Your feedback and suggestions are always appreciated.
    You can find more information about the plugin in our documentation here: https://zettle.inpsyde.com/docs/getting-started-with-zettle-pos-integration-for-woocommerce/

    When you open a support ticket, please include a copy of your WooCommerce system report and a link to this thread. Thanks!

    Kind regards,
    Niklas

    Thread Starter brendarobleszavaleta

    (@brendarobleszavaleta)

    Understood, do you have an ETA on making payments for WooCommerce orders through Zettle?

    Plugin Support Syde Niklas

    (@niklasinpsyde)

    Sorry, no ETA yet. There are too many factors involved I can’t judge. We are working on many other features regarding the inventory sync and will release more features as we go.
    In any case, your feedback is always appreciated so we can improve our plugin further.

    I will mark this thread resolved for now since we are investigating this issue in an internal support ticket.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Critical error at step 3’ is closed to new replies.