diff --git a/tests/fixtures/plan/created.xml b/tests/fixtures/plan/created.xml
index 7ca6f1df..b898f141 100644
--- a/tests/fixtures/plan/created.xml
+++ b/tests/fixtures/plan/created.xml
@@ -22,6 +22,7 @@ Content-Type: application/xml; charset=utf-8
1000
+ sale
HTTP/1.1 201 Created
diff --git a/tests/fixtures/plan/updated.xml b/tests/fixtures/plan/updated.xml
index 78a335bd..6fabde96 100644
--- a/tests/fixtures/plan/updated.xml
+++ b/tests/fixtures/plan/updated.xml
@@ -16,6 +16,7 @@ Content-Type: application/xml; charset=utf-8
2000
+ sale
HTTP/1.1 200 OK
diff --git a/tests/test_resources.py b/tests/test_resources.py
index 7c08d4d4..b9d9bedf 100644
--- a/tests/test_resources.py
+++ b/tests/test_resources.py
@@ -2073,6 +2073,7 @@ def test_plan(self):
unit_amount_in_cents=Money(1000),
total_billing_cycles=10,
custom_fields=[CustomField(name='food', value='pizza')],
+ vertex_transaction_type='sale'
)
with self.mock_request('plan/created.xml'):
plan.save()
@@ -2082,6 +2083,7 @@ def test_plan(self):
self.assertIsInstance(plan.custom_fields[0], CustomField)
self.assertEqual(plan.custom_fields[0].name, 'food')
self.assertEqual(plan.custom_fields[0].value, 'pizza')
+ self.assertEqual(plan.vertex_transaction_type, 'sale')
with self.mock_request('plan/exists.xml'):
same_plan = Plan.get(plan_code)
@@ -2105,6 +2107,7 @@ def test_plan(self):
with self.mock_request('plan/show-taxed.xml'):
plan = Plan.get(plan_code)
self.assertTrue(plan.tax_exempt)
+ self.assertEqual(plan.vertex_transaction_type, 'sale')
def test_plan_with_ramps(self):
plan_code = 'plan%s' % self.test_id