Using API to generate keysSolved

Hey folks so I am currently using LimeLM and when a customer purchases I just manually create the key.

I am trying to implement a generate key upon purchase with my sales provider. The provider is shoppy.gg and it has callback capability.

That being said I have no idea how I would go about using this. My previous api knowledge suggests you just call a website with certain paramaters and you are all set however I feel this may be different. I really need someones help here as I am at my wits end.

Any help is appreciated!

I guess after that I have a question

My sales site only gives me two options. Webhook URL and callback URL's. The examples given only show .php files and I don't think I can run any php when a user buys. What am I missing here?

You would need to host a script on your website. That script would validate the callback is coming from a payment provider (and not called directly from just anyone), and then that script will generate the product key by calling the LimeLM web API.

See the PayPal example.

Or if that's too hard just use the PayPal example with PayPal. Or the FastSpring example.

How would you verify that it is coming from the website? Sorry I'm really not understanding the examples as they aren't very clear for beginners. I'm using shopify now!

We dont have a Shopify example. Here are all of our pre-written examples: https://wyday.com/limelm/help/how-to-generate-product-keys-after-order/

If you dont want to use one of the pre-written examples then youll need adapt them to whatever payment platform you land on. That means using some programming to get to where you need to go. Either do that yourself or hire someone. Or use one of our pre-written examples.