From f51314846396ccbcc933f5d96498963fa442b8ee Mon Sep 17 00:00:00 2001 From: Aaron Cimolini Date: Sat, 14 Dec 2019 11:43:25 -0800 Subject: [PATCH] Revert "Adds custom field for coupon code." This reverts commit e899a9c6a50aa34931b8cf78682eb3d7b23f876a. --- src/services/Xml.php | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/services/Xml.php b/src/services/Xml.php index d459411..ffd3f85 100644 --- a/src/services/Xml.php +++ b/src/services/Xml.php @@ -100,13 +100,7 @@ public function order(\SimpleXMLElement $xml, Order $order, $name='Order') return $order->getTotalShippingCost(); }, 'cdata' => false, - ], - 'CutomField1' => [ - 'callback' => function ($order) { - return $order->getFieldValue('recurlySubscriptionCoupon'); - }, - 'cdata' => false, - ], + ] ]; $this->mapCraftModel($order_xml, $order_mapping, $order);