From fda43eb181cffe397bb89071b04840d51f298dca Mon Sep 17 00:00:00 2001 From: Santiago Date: Mon, 4 Jul 2016 17:49:40 -0300 Subject: [PATCH] Fixed typo. --- app/code/community/Ebizmarts/MailChimp/Model/Api/Orders.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/code/community/Ebizmarts/MailChimp/Model/Api/Orders.php b/app/code/community/Ebizmarts/MailChimp/Model/Api/Orders.php index 972ee71cb..8178de43e 100644 --- a/app/code/community/Ebizmarts/MailChimp/Model/Api/Orders.php +++ b/app/code/community/Ebizmarts/MailChimp/Model/Api/Orders.php @@ -56,8 +56,8 @@ protected function GeneratePOSTPayload($order_from_collection) $data = array(); $data['id'] = $order->getEntityId(); - if($order->getMailChimpCampaignId()) { - $data['campaign_id'] = $order->getMailChimpCampaignId(); + if($order->getMailchimpCampaignId()) { + $data['campaign_id'] = $order->getMailchimpCampaignId(); } $data['currency_code'] = $order->getOrderCurrencyCode(); $data['order_total'] = $order->getGrandTotal();