Portal Engine Questions on portal engine and web parts.
Version 7.x > Portal Engine > Order Complete Custom Logic for Document Type View modes: 
User avatar
Member
Member
charlie v - 8/9/2013 11:39:03 AM
   
Order Complete Custom Logic for Document Type
I am needing to make updates to a Document Type's properties after an order has been completed and approved (meaning the order is placed and credit card is good).

After that I want to update a document type and a custom table that allow for a enhanced functionality.

I found this article, is this the best approach?

http://devnet.kentico.com/Knowledge-Base/E-commerce/How-to-display-order-information-at--order-complet.aspx

User avatar
Member
Member
charlie v - 8/9/2013 11:41:07 AM
   
RE:Order Complete Custom Logic for Document Type
I should also mention I have multiple products for the checkout process and this logic would only apply to one product out of my collection.

User avatar
Member
Member
kentico_sandroj - 8/9/2013 9:21:50 PM
   
RE:Order Complete Custom Logic for Document Type
Hello,

The standard approach is using Global Event handlers but that may not be the case if you are applying the custom logic to only one document. May I ask what has to be done to that one product after the order is completed?

User avatar
Member
Member
charlie v - 8/9/2013 10:55:19 PM
   
RE:Order Complete Custom Logic for Document Type
After the order is completed successfully I will be changing a few fields on the document type like a date for a year out (subscription) and another field for a level of service (like a tier) where the user pays to get extra benefits.

User avatar
Member
Member
kentico_sandroj - 8/10/2013 11:18:08 AM
   
RE:Order Complete Custom Logic for Document Type
Yeah it sounds like you should be using Global Events that I linked in previous post - let me know if you need any help setting it up.