klaviyo / magento2-klaviyo

37 stars 51 forks source link

Could not unsubscribe email from Admin #302

Open nghiadxvn opened 1 month ago

nghiadxvn commented 1 month ago

Environment details

PHP version: 8.1 Magento version: 2.4.5-p7 Klaviyo extension version: 4.1.3 Magento site has multiple websites, each site has separate Klaviyo settings. The A site has a different configuration with the default settings.

Steps to reproduce

  1. Could not unsubscribe from Marketing -> Communications -> Newsletter Subscribers

    • Login to the backend, go to Marketing -> Communications -> Newsletter Subscribers
    • Unsubscribe a customer from A site in the grid
    • Check result
  2. Could not unsubscribe from the customer edit page in the Admin

    • Login to the backend, go to Customers -> All Customers -> Edit a customer
    • Unsubscribe a customer from A site in the Newsletter tab
    • Check result

Expected result

The customer should be unsubscribed from the Klaviyo

Actual result

The customer is still subscribed to the Klaviyo

Additional information