ecwid-api-docs
ecwid-api-docs copied to clipboard
Ecwid REST API documentation
`Ecwid.OnSetProfile.add(function(customer) { console.log(customer.email); console.log(customer.billingPerson.countryName); }); ` Returns error cannot read properties of undefined (reading 'add') Is there another way to get the customer who is visiting the site's information such...
I'd like to get storefront details, open pages, add products to the cart... using the JavaScript SDK. I'm reading https://api-docs.ecwid.com/reference/get-storefront-details but I still can't find a `` to include and...
My site uses the Trusted Types Content Security Policy, as detailed here: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/trusted-types and: https://web.dev/security-headers/#tt Specifically, my site sends out this CSP header: `require-trusted-types-for 'script';` It prevents the Ecwid JavaScript...
1. Is the param named "payload" value valid for the $client_secret = "0123abcd4567efgh1234567890"? (https://www.example.com/my-app-iframe-page?payload=353035362c226163636573735f746f6b656e223a22776d6&app_state=orderId%3A%2012&cache-killer=13532) 2. Is the below decryption function code inside C# valid? Please advice, I have stucked with...