Need help in implementing custom abandoned cart

Hello,

I am trying to implement abandoned cart functionality on our site. I have followed the documentation and created settings:

But when I am checking with get settings, I am getting the response:

{"status":"error","message":"No settings found - Have you defined any with https://developers.hubspot.com/docs/methods/ecommerce/v2/upsert-settings ?","correlationId":"e1eb1483-5282-4d2b-95d0-9c37e76812d0","requestId":"fd39b154-76e3-422b-b50c-9b4a909f0c09"}

I am not sure if I am doing anything wrong. Can someone please help me?

Hi @codeclouds,

It would be useful if you could share with me the following:

Are you upseting the ecommerce settings on a specific portal or of an intalled app?

- If it’s on a specific portal, could you share with me the HubSpot portal ID?

- If it’s on an installed app, could you share with me your app ID?

I have created an app. My App ID is 208341

Hey @codeclouds,

When I attempt to get your ecommerce settings using this endpoint <Get ecommerce settings v2>, I received a 200 response and I was able to see the settings that you upsert. This was the request I sent:

https://api.hubspot.com/extensions/ecomm/v2/settings?hapikey={{developer portal hapikey}}&appId=208341

In this case, could you ensure that the hapikey you’re using is the Developer HAPIkey associated with the Developer portal that the OAuth app was created in?