Skip to content

How to create non-expirable shop token #142

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

You must be logged in to vote

A permanent package token is generated when the licenseeNumber is omitted and the productNumber is included in the token properties during creation.

Additionally, the shop requires two custom properties to prepare a predefined shopping cart:

  • predefinedShoppingItem to specify the name of the item
  • one or more licenseTemplateNumber_N properties (where N is an incrementing index starting from "1")

Please find below a sample shop session showcasing creation of the permanent shop token.

Request

curl -X POST -H "Authorization: Basic ..." -H "Accept: application/xml" -H "Content-type: application/x-www-form-urlencoded" -d "tokenType=SHOP&productNumber=PF2G5GQY6&licenseTemplateNumber=EA3KGDDGC&p…

Replies: 1 comment

Comment options

r-brown
May 20, 2024
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
question Further information is requested
1 participant