6ichem Posted February 11, 2021 Posted February 11, 2021 I remember disabling product license keys somewhere but now I wanna re-enable it and can't find it anywhere in ACP. Can someone point me where it is please?
CoffeeCake Posted February 11, 2021 Posted February 11, 2021 I believe this is setup at the product level. See this guide:
bfarber Posted February 11, 2021 Posted February 11, 2021 AdminCP > Commerce > Products > Edit Product > Purchase Benefits tab.
6ichem Posted February 11, 2021 Author Posted February 11, 2021 4 hours ago, bfarber said: AdminCP > Commerce > Products > Edit Product > Purchase Benefits tab. Yea but where am I able to generate keys to give out and stuff?
CoffeeCake Posted February 11, 2021 Posted February 11, 2021 2 minutes ago, 6ichem said: Yea but where am I able to generate keys to give out and stuff? I think that happens when someone purchases the product. There are not pre-generated keys. You can generate an invoice and mark a product as purchased if you'd like to get one outside of the normal self-serve checkout process.
bfarber Posted February 12, 2021 Posted February 12, 2021 Yes, keys are automatically generated when an instance of the product is purchased.
6ichem Posted February 15, 2021 Author Posted February 15, 2021 On 2/12/2021 at 5:40 PM, bfarber said: Yes, keys are automatically generated when an instance of the product is purchased. So I can't generate keys and give them away to people to redeem on site and receive their digital goods?
bfarber Posted February 15, 2021 Posted February 15, 2021 You can Create a product which issues a license key Generate an invoice for a user for that product Give the user account credit, mark the invoice as paid, or add a negative value adjustment to the invoice so that $0 is due. In this case, the user will then have an instance of that product "purchased", and an associated license key.
6ichem Posted February 15, 2021 Author Posted February 15, 2021 3 hours ago, bfarber said: You can Create a product which issues a license key Generate an invoice for a user for that product Give the user account credit, mark the invoice as paid, or add a negative value adjustment to the invoice so that $0 is due. In this case, the user will then have an instance of that product "purchased", and an associated license key. A product's license key is only generated when someone purchased and it's only generated for that user, where would the user redeem that anyways? I know about the invoice trick and I didn't know it was possible to add credits to an account and use that to purchase with the store if that's what you mean, how do you enable that feautre?
bfarber Posted February 16, 2021 Posted February 16, 2021 22 hours ago, 6ichem said: A product's license key is only generated when someone purchased and it's only generated for that user, where would the user redeem that anyways? I'm not sure I follow. There is no "redemption" for the license key. You would use the license key API to validate the license key externally. Perhaps it would be helpful to know more about what you are trying to accomplish? For what/how are you using the license key? 22 hours ago, 6ichem said: I know about the invoice trick and I didn't know it was possible to add credits to an account and use that to purchase with the store if that's what you mean, how do you enable that feautre? You edit the user in the AdminCP and adjust their account credit.
6ichem Posted February 17, 2021 Author Posted February 17, 2021 17 hours ago, bfarber said: I'm not sure I follow. There is no "redemption" for the license key. You would use the license key API to validate the license key externally. Perhaps it would be helpful to know more about what you are trying to accomplish? For what/how are you using the license key? You edit the user in the AdminCP and adjust their account credit. Per example I have a product that costs $50 - I wanna give people license key that they redeem on site and they get that product.
bfarber Posted February 17, 2021 Posted February 17, 2021 Sell the product for $50 and allow the license key to be generated. On your site (I assume this is outside of Invision Community), you then use the license key API I pointed to in order to validate the license key that the user provides. You would have a form where the user inputs the license key, that form would call to our API and verify the key is valid, then you would do whatever you need to do once verified.
6ichem Posted February 26, 2021 Author Posted February 26, 2021 On 2/17/2021 at 2:29 PM, bfarber said: Sell the product for $50 and allow the license key to be generated. On your site (I assume this is outside of Invision Community), you then use the license key API I pointed to in order to validate the license key that the user provides. You would have a form where the user inputs the license key, that form would call to our API and verify the key is valid, then you would do whatever you need to do once verified. I've seen other forums where they have domain.com/forums/redeem and there's a page to redeem keys and that does not seem to be a plugin, I'm looking to achieve that
CoffeeCake Posted February 26, 2021 Posted February 26, 2021 /redeem is for gift card redemption (by default at /store/redeem). You can issue a gift card, which is not a license key. That gift card can then be used for a fixed dollar amount purchase, just as you might use a gift card for $20 for a typical store. You can look into changing the fURL if needed. As an example, here's the address on here: https://invisioncommunity.com/store/redeem Linux-Is-Best 1
Linux-Is-Best Posted February 26, 2021 Posted February 26, 2021 Reading your replies, I wonder if you are also asking about coupons? A coupon is a "code" you could give to a select few to save a percentage off. Allowing you to have a sale price but only to those who know the coupon code. Those too are also not serials. I do not think the system supports coupons (unless I missed something).
CoffeeCake Posted February 26, 2021 Posted February 26, 2021 7 minutes ago, Linux-Is-Best said: I do not think the system supports coupons (unless I missed something). Yes, there are coupon codes in Commerce. Here is the documentation for gift cards: Linux-Is-Best 1
Linux-Is-Best Posted February 26, 2021 Posted February 26, 2021 Thank you @Paul E. Just proves to show there is always something new still to learn, always. 😎
6ichem Posted February 27, 2021 Author Posted February 27, 2021 On 2/26/2021 at 3:32 PM, Paul E. said: Yes, there are coupon codes in Commerce. Here is the documentation for gift cards: Wasn’t talking about coupons. Gift cards seem to be the thing but where can I see the gift card codes so I can give them out or something?
Nathan Explosion Posted February 27, 2021 Posted February 27, 2021 Suggestion: follow the flow of your users by being a user, not an admin. Set up a test account - do what your user would do, see what the user would see.
6ichem Posted February 27, 2021 Author Posted February 27, 2021 I’m trying to do what I found on this forum here, is it a custom plugin or what? The “redeem a key” button links to /redeem @Paul E. hence why I asked about that url
bfarber Posted March 5, 2021 Posted March 5, 2021 Gift cards point to /store/redeem (not just /redeem). I suspect what you are looking at may be something custom but without a link to the site it's hard to tell. You could also try reaching out to the site owner to confirm.
ZLTRGO Posted June 8, 2021 Posted June 8, 2021 On 3/5/2021 at 8:38 PM, TheJackal84 said: it is one of my custom ones Are you selling it? Seems like a few people would be interested in such a feature (including me).
Recommended Posts