You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The wiki page for Licensee Services states that model-specific validation parameters must be passed with a number suffixed to the parameter name, so that parameters belonging to different modules passed in the same request can be separated. This doesn't work as documented.
I have a PayPerUse module. If I issue a validation request with only that module in the request, and parameters created using ValidationParameters.put(moduleID, "reserveQuantity0", "1") (in order to reduce the remaining quantity by one), it doesn't work.
But if I create the parameter with put(moduleID, "reserveQuantity", "1") it does work.
On the Javadoc page for ValidationParameters, put() is undocumented. It is also uncommented in the C# source.
So is it the case that ValidationParameters.put() handles the numbering and I should always use the parameter name without numbers?
Or must parameters be numbered only if there is more than one module in the validation request? (There is no mention of that on the Licensee Services page).
Or is it that numbered parameters are not supported for PayPerUse modules (or even just for pre-payment)? Again, there is no mention of any different parameter numbering rules for this licensing model.
The text was updated successfully, but these errors were encountered:
The wiki page for Licensee Services states that model-specific validation parameters must be passed with a number suffixed to the parameter name, so that parameters belonging to different modules passed in the same request can be separated. This doesn't work as documented.
I have a PayPerUse module. If I issue a validation request with only that module in the request, and parameters created using
ValidationParameters.put(moduleID, "reserveQuantity0", "1")
(in order to reduce the remaining quantity by one), it doesn't work.But if I create the parameter with
put(moduleID, "reserveQuantity", "1")
it does work.On the Javadoc page for ValidationParameters,
put()
is undocumented. It is also uncommented in the C# source.So is it the case that
ValidationParameters.put()
handles the numbering and I should always use the parameter name without numbers?Or must parameters be numbered only if there is more than one module in the validation request? (There is no mention of that on the Licensee Services page).
Or is it that numbered parameters are not supported for PayPerUse modules (or even just for pre-payment)? Again, there is no mention of any different parameter numbering rules for this licensing model.
The text was updated successfully, but these errors were encountered: