Skip to content

Commit

Permalink
Revert "Adds custom field for coupon code."
Browse files Browse the repository at this point in the history
This reverts commit e899a9c.
  • Loading branch information
cimocimocimo committed Dec 14, 2019
1 parent e899a9c commit f513148
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/services/Xml.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit f513148

Please sign in to comment.