LinnSystems / LinnworksNetSDK

Linnworks.net Developers
26 stars 41 forks source link

Issues with channel integration #14

Closed zmitic closed 7 years ago

zmitic commented 7 years ago

I carefully followed .pdf guide for integration channel but none of registered callbacks are ever called after installation.

But if I add ExternalApplication or ExternalUserInterface, I do get postbackUrl called and embedded iframe, both work flawlessly.

According to this page https://help.linnworks.com/support/solutions/articles/7000007438-what-is-a-manifest- , it looks like channel integration is not supported anymore. Can you confirm that?

My manifest (replaced real url) in case I missed something. Not all URL's are registered but I would get 404 logged if those were called:

{
  "modules": [
    {
      "type": "ExternalApplication",
      "parameters": [
        {
          "name": "PostbackUrl",
          "value": "https://example.com/app_dev.php/linnworks/postback?token=[{TOKEN}]&tracking=[{TRACKING}]"
        }
      ]
    },
    {
      "path": "",
      "type": "ExternalUserInterface",
      "moduleName": "MyDashboard",
      "formattedName": "My Dashboard",
      "icon": "fa fa-usd",
      "parameters": [
        {
          "name": "URL",
          "value": "https://example.com/app_dev.php/linnworks/embedded/[{TOKEN}]"
        }
      ]
    },
    {
      "type": "ChannelIntegration",
      "parameters": [
        {
          "name": "ChannelName",
          "value": "MYINTEGRATION"
        },
        {
          "name": "ChannelFriendlyName",
          "value": "My integration 3"
        },
        {
          "name": "ChannelLogoURL",
          "value": "https://example.com/images/logo.png"
        },
        {
          "name": "AddNewUserEndpoint",
          "value": "https://example.com/app_dev.php/linnworks/new_user"
        },
        {
          "name": "UserConfigEndpoint",
          "value": "https://example.com/app_dev.php/api/Config/UserConfig"
        },
        {
          "name": "SaveConfigEndpoint",
          "value": "https://example.com/app_dev.php/api/Config/SaveUserConfig"
        },
        {
          "name": "ShippingTagsEndpoint",
          "value": "https://example.com/app_dev.php/api/Config/ShippingTags"
        },
        {
          "name": "PaymentTagsEndpoint",
          "value": "https://example.com/app_dev.php/api/Config/PaymentTags"
        },
        {
          "name": "ConfigDeletedEndpoint",
          "value": "https://example.com/app_dev.php/linnworks/user_deleted"
        },
        {
          "name": "ConfigTestEndpoint",
          "value": "https://example.com/app_dev.php/linnworks/config_test"
        },
        {
          "name": "OrdersEndpoint",
          "value": "https://example.com/app_dev.php/api/Order/Orders"
        },
        {
          "name": "DespatchEndpoint",
          "value": "https://example.com/app_dev.php/api/Order/Despatch"
        },
        {
          "name": "ProductsEndpoint",
          "value": "https://example.com/app_dev.php/api/Product/Products"
        },
        {
          "name": "InventoryUpdateEndpoint",
          "value": "https://example.com/app_dev.php/api/Product/InventoryUpdate"
        },
        {
          "name": "PriceUpdateEndpoint",
          "value": "https://example.com/app_dev.php/api/Product/PriceUpdate"
        },
        {
          "name": "InventoryUpdateBatchSize",
          "value": "1000"
        },
        {
          "name": "DespatchUpdateBatchSize",
          "value": "100"
        },
        {
          "name": "PriceUpdateBatchSize",
          "value": "1000"
        }
      ]
    }
  ]
}
LinnSystems commented 7 years ago

can you please create a support ticket on help.linnworks.com and I will assist you with this query. Channel integration extension is supported and functioning.

zmitic commented 7 years ago

Thanks for reply. Anyway, I can't login to help.linnworks.com with same credentials I use on https://linnworks.net/.

When I tried password recovery, got this message (used email is visible but bots can't scrape it):

image

Could that be that because of account itself, channel integration doesn't work?

LinnSystems commented 7 years ago

Hello, Your account profile is set correctly.

Can you please try to access Support Portal from within Linnworks.net?

image

zmitic commented 7 years ago

Sorry for late reply.

Yes, I can login to portal, even have the external application running: image