Body: <p>I have a request from a client to be able to take deposits for events purchased through craft commerce. These are high ticket items and customers would like to spread the cost of payment over several weeks/months before the event.</p>
  
  <p>Is this something that is possible using craft commerce?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-07-03T17:47:14.413Z
Comments.Text: Yes, you can do this with a custom adjuster via a module or plugin.
Comments.UserDisplayName: Stephen Callender
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-07-03T18:05:51.177Z
Comments.Text: From the docs "Adjustment models contain an amount which modifies the price of the order or line item.". I'm not sure if this is what I need as I don't want to change the order total. For example, lets say an event costs $4000 to attend but in order to reserve a place the customer would need to pay a deposit of $250 and then make sure the remaining balance is paid in full 4 weeks before the start date of the event. I hope that clarifies things.
Comments.UserDisplayName: Dave Coggins
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-07-03T18:43:36.387Z
Comments.Text: From Luke Holder via email support on Mar 18, 2019:
  "You could write your own payment controller endpoint (accepting a custom amount) using the current one as your inspiration, but you would need to take care of marking the order as complete yourself, since it won't be marked as complete automatically with a partial payment.
  
  Once the first payment is made, the second payment could use the standard payment controller as it will only pay the balance."
Comments.UserDisplayName: Stephen Callender
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-07-03T18:45:33.680Z
Comments.Text: We went another direction and wrote this into a site module where the admins can define which events allow deposits and what that deposit % is via custom fields: https://ssdd.d.pr/EGngT7
Comments.UserDisplayName: Stephen Callender
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-07-03T19:47:57.303Z
Comments.Text: Thats great @StephenCallender, thanks for sharing the code and your approach, i'll take a look.
Comments.UserDisplayName: Dave Coggins
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-02-15T05:33:11.923Z
Comments.Text: Hey @StephenCallender Can you share the code with me too please? above url is not working..
Comments.UserDisplayName: Mufi - Amici Infotech
Tags: <plugin-craftcommerce><plugin-craftcommerce2><plugin-ventievents>
Title: Is it possible to take a partial payment of an order in Craft Commerce?
ThreadText: # Is it possible to take a partial payment of an order in Craft Commerce?
  
  (Asked by: username_0 on 2019-07-03)
  
  I have a request from a client to be able to take deposits for events purchased through craft commerce. These are high ticket items and customers would like to spread the cost of payment over several weeks/months before the event.
  
  Is this something that is possible using craft commerce?
  
  **Tags:** plugin-craftcommerce, plugin-craftcommerce2, plugin-ventievents
  
  > **Comments:**
  > **username_1**: Yes, you can do this with a custom adjuster via a module or plugin.  
  > **username_0**: From the docs "Adjustment models contain an amount which modifies the price of the order or line item.". I'm not sure if this is what I need as I don't want to change the order total. For example, lets say an event costs $4000 to attend but in order to reserve a place the customer would need to pay a deposit of $250 and then make sure the remaining balance is paid in full 4 weeks before the start date of the event. I hope that clarifies things.  
  > **username_1**: From Luke Holder via email support on Mar 18, 2019: "You could write your own payment controller endpoint (accepting a custom amount) using the current one as your inspiration, but you would need to take care of marking the order as complete yourself, since it won't be marked as complete automatically with a partial payment.  Once the first payment is made, the second payment could use the standard payment controller as it will only pay the balance."  
  > **username_1**: We went another direction and wrote this into a site module where the admins can define which events allow deposits and what that deposit % is via custom fields: https://ssdd.d.pr/EGngT7  
  > **username_0**: Thats great @username_1, thanks for sharing the code and your approach, i'll take a look.  
  > **username_2**: Hey @username_1 Can you share the code with me too please? above url is not working..  
  
  ---
  
  ## 0 answers
  
  