I use Magento2 ver. 2.4.2
Steps to reproduce:
- I Login in Magento2 with admin credentials.
- In Magento2 administration, Stores -> Configuration -> Klaviyo is properly set, and I see the Klaviyo lists there in the dropdown list.
- When I go to Magento administration, System -> Integrations and click "Add new integration",
- I set name, my e-mail,
- I set Callback url: https://www.klaviyo.com/integration-oauth-one/magento-two/auth/confirm?c=XXXXXXX
- I set Identity link URL: https://www.klaviyo.com/integration-oauth-one/magento-two/auth/handle
- I set my Magento2 admin pass
- Go to API tab and in Resource Access dropdown list I set "All", and
- Click "Save", it is being saved, with note that the data are saved, but the new user is not created, because the old one is overwritten and updated.
Expected result: When I go to Magento2 in System -> Integrations and click on "Activate", I expect activated integration, so that I can finish integration in Klaviyo.
Actual result: When I go to Magento2 in System -> Integrations and click on "Activate", I get the window with note "The integration you selected asks you to approve access to the following:" and all the selected resources are listed. I click on "Allow" window and I get "Sorry, something went wrong. Please try again later.". When I go to see the integration, what I see is that "Consumer Key" and "Consumer Secret" fields are filled, but "Access Token" and "Access Token Secret" are empty.
What am I doing wrong?