• Really happy to find this. I was planning the build of it and realised it already existed. Thanks for saving me so much time!

    Just a few things I’ve noticed:

    Subscription renewals are showing ‘on hold, active, payment complete’ status’ one after another, rather than just the outcome, so you need to be a bit careful with setting up automations based on events.

    Secondly: There’s an API sanitisation line in the file /includes/admin-settings.php that strips anything other than lowercase, numbers and underscores.

    function kwms_sanitize_api_key( $value ) {
    return preg_replace("/[^a-z0-9_]/", '', $value);
    }

    My private key from Klaviyo has uppercase letters so it was failing.

    I just updated the code to this and all is working now

    function kwms_sanitize_api_key( $value ) {
    return trim( sanitize_text_field( $value ) );
    }

    Thanks again! Great plugin and very helpful.

    • This topic was modified 1 month, 3 weeks ago by benmcmahon.

You must be logged in to reply to this review.