diff --git a/processout/invoice.py b/processout/invoice.py index 83518cb..7cbd302 100755 --- a/processout/invoice.py +++ b/processout/invoice.py @@ -1021,9 +1021,6 @@ def authenticate(self, source, options={}): data = { 'device': self.device, 'incremental': self.incremental, - 'capture_type': self.capture_type, - 'split_allocations': self.split_allocations, - 'installment_plan_id': self.installment_plan_id, 'synchronous': options.get("synchronous"), 'retry_drop_liability_shift': options.get("retry_drop_liability_shift"), 'capture_amount': options.get("capture_amount"), @@ -1090,9 +1087,6 @@ def authorize(self, source, options={}): data = { 'device': self.device, 'incremental': self.incremental, - 'capture_type': self.capture_type, - 'split_allocations': self.split_allocations, - 'installment_plan_id': self.installment_plan_id, 'synchronous': options.get("synchronous"), 'retry_drop_liability_shift': options.get("retry_drop_liability_shift"), 'capture_amount': options.get("capture_amount"), @@ -1133,9 +1127,7 @@ def capture(self, source, options={}): path = "/invoices/" + quote_plus(self.id) + "/capture" data = { 'device': self.device, - 'authenticate_only': self.authenticate_only, 'incremental': self.incremental, - 'installment_plan_id': self.installment_plan_id, 'authorize_only': options.get("authorize_only"), 'synchronous': options.get("synchronous"), 'retry_drop_liability_shift': options.get("retry_drop_liability_shift"), @@ -1450,8 +1442,7 @@ def create(self, options={}): 'unsupported_feature_bypass': self.unsupported_feature_bypass, 'verification': self.verification, 'auto_capture_at': self.auto_capture_at, - 'expires_at': self.expires_at, - 'split_allocations': self.split_allocations + 'expires_at': self.expires_at } response = Response(request.post(path, data, options)) diff --git a/processout/refund.py b/processout/refund.py index 34ea736..e24d18b 100755 --- a/processout/refund.py +++ b/processout/refund.py @@ -240,7 +240,6 @@ def create_for_invoice(self, invoice_id, options={}): 'reason': self.reason, 'information': self.information, 'invoice_detail_ids': self.invoice_detail_ids, - 'split_allocations': self.split_allocations, 'metadata': options.get("metadata") } @@ -320,7 +319,6 @@ def create(self, options={}): 'reason': self.reason, 'information': self.information, 'invoice_detail_ids': self.invoice_detail_ids, - 'split_allocations': self.split_allocations, 'metadata': options.get("metadata") } diff --git a/setup.py b/setup.py index a11fe95..af018ce 100644 --- a/setup.py +++ b/setup.py @@ -3,12 +3,12 @@ setup( name = 'processout', packages = ['processout', 'processout.errors', 'processout.networking'], - version = '9.0.0', + version = '9.0.1', description = 'ProcessOut API bindings.', author = 'ProcessOut', author_email = 'hi@processout.com', url = 'https://github.com/processout/processout-python', - download_url = 'https://github.com/processout/processout-python/tarball/9.0.0', + download_url = 'https://github.com/processout/processout-python/tarball/9.0.1', keywords = ['ProcessOut', 'api', 'bindings'], classifiers = [], ) diff --git a/spec.py b/spec.py index 1e29183..92aa424 100644 --- a/spec.py +++ b/spec.py @@ -34,19 +34,6 @@ def main(): # Fetch the customers client.new_customer().all() - # Create a subscription for a customer - customer = client.new_customer().create() - assert customer.id != "", "The created customer ID should not be empty" - - subscription = client.new_subscription({ - "customer_id": customer.id, - "name": "Test subscription", - "amount": "9.99", - "currency": "USD", - "interval": "1d" - }).create() - assert subscription.id != "", "The created subscription ID should not be empty" - # Expand a customers' project and fetch gateways customer = client.new_customer().create({"expand": ["project"]}) assert customer.project != None, "The customer project should be expanded"