Skip to content

PayPerUse validation incorrect #70

Closed Answered by r-brown
r-brown asked this question in Questions
Discussion options

You must be logged in to vote

Just verified the described issue and got the following results (demo:demo account):

Post-payment scenario

Status before

  • Quantity: 5
  • Used Quantity: 3

Request

curl -X POST --header 'Content-Type: application/x-www-form-urlencoded' --header 'Accept: application/xml' --header 'Authorization: Basic ZGVtbzpkZW1v' -d 'productModuleNumber=M3-DEMO&usedQuantity=2' 'https://go.netlicensing.io/core/v2/rest/licensee/I3-DEMO/validate' | xmllint --format -

Response

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:netlicensing xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:ns2="http://netlicensing.labs64.com/schema/context" ttl="2020-10-27T18:17:36.933Z">
  <ns2:infos/>
  <ns2:items>
  …

Replies: 1 comment

Comment options

r-brown
Oct 26, 2020
Maintainer Author

You must be logged in to vote
0 replies
Answer selected by r-brown
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
1 participant
Converted from issue

This discussion was converted from issue #3 on October 29, 2023 21:56.