Cryptlex Forums

DeactivateProduct()

Z
Zemnexx

Does the DeactivateProduct() function deactivate client side immediately, or just signal for deactivation on next server sync? It does not seem to be working immediately for me client side.

Follow up question, I am needing to refresh the custom field values for a product key, is there a way to do this without deactivating and reactivating the product? I prefer to be able to implement this without having to make my clients wait for a whole day to see new features unlocked that are dependant on the custom fields.

Z
Zemnexx

Yeah, on further testing client side deactivation is not happening at all when passing DeactivateProduct() via a simple form button.

Z
Zemnexx

Figured it out.

For those who may need this information in the future, you must set the GUID and check the Product.dat file before running DeactivateProduct() or it will return error 9 and will not work, you cannot just run DeactivateProduct() to make it deactivate the application client side like I thought it would.

← Back to all topics · 3 posts · 919 views · opened 2017-09-05