sagemathinc / cocalc

CoCalc: Collaborative Calculation in the Cloud
https://CoCalc.com
Other
1.17k stars 216 forks source link

creation and renewing of reseller codes #6279

Closed williamstein closed 1 month ago

williamstein commented 1 year ago

Details to get filled in by Blaec.

Blaec-CoCalc commented 1 year ago

Here is the response we received from Marshall at Redshelf:


I don't have a "best practices" guide, but that would be a great resource to create. Currently, the codes that publishers use contain only letters, numbers, and hyphens ("-"). We don't have rules about 0 vs O, since we have a button on our shelf that copies the code for students to input. Letters can be capitalized or lowercase, it really just depends on how your website redeems codes.


Essentially the restrictions are:

  1. Codes can consist of letters, numbers and hyphens only.

  2. Letters can be capitalized or lowercase.

  3. There are no specified rules to prevent the use of 0 VS O etc.

Note: The "copy" button seems as though it will make the codes easy to use (even if they are reasonably long).

williamstein commented 1 year ago

Maybe use -- https://www.npmjs.com/package/voucher-code-generator

williamstein commented 1 year ago

Questions:

williamstein commented 1 year ago
williamstein commented 1 month ago

Too vague. Open a more precise ticket if or when this becomes important again. We have "credit" vouchers now, which are extremely flexible.