I'm having issues with the following IF statement - it's causing the cloudpage it's on to report an internal server error. I'm assuming the issue is a syntax error somewhere, because I can't see anything else that would be an issue.
if @status == "notdelivered" then set @responseline = "Sorry to hear that. We will follow up with your wholesaler to find out what's happened to your order and contact you shortly."
elseif @status == "partial" then set @responseline = "Sorry to hear that. We will follow up with your wholesaler to find out why some products have not been delivered and contact you shortly."
else set @responseline = "Thanks for letting us know!"
endif