If you also want the buyer's code displayed on their E-junkie-generated Thank-you Page, be sure to put something in the Product Thank-you Page HTML field for that item, using the template tag wherever you want the buyer's code to be inserted (see our Thank-you Page customization help page for further details).Į-junkie will POST all the order data to your keygen URL only for successful completed payments.
You could output a whole block of preformatted plaintext (e.g., echoing the buyer's full registration details in your system if required), but any "boilerplate" text common to all codes generated should probably be provided in the product's Email Message field rather than generated by your script - not least to keep your transaction log tidy, as a copy of the raw code output for each order is saved there for your reference. Typically this output should be only the code itself (HTTP headers are fine, as our system will parse them out). Whatever plaintext output your keygen script returns will be forwarded as-is to the buyer in the thank-you email we generate for the product. The only difference is that we expect to receive output back from your script's URL for a keygen submission (whereas Integration submissions are just a one-way transmission without expecting any output in return), and of course we do not send a value for key to your keygen URL since it hasn't yet output a key back to us by that point. The Code Generator URL you have specified for each product that uses the Send Generated Codes feature will receive an HTTP POST submission containing all of the order data, using the same data set we send for our Webhook Integration feature. Order data transmitted to your keygen script
- Click Submit to apply the new settings.
- This will reveal a Keygen Script URL field, where you can enter the URL where your code generator script can receive the order data.
-
Under Digital Delivery > Send Codes section, tick the box for Generated Codes.Tick the box to Show advanced settings at the top.
While adding or editing a product in your E-junkie Seller Admin: Selling codes provided by your own online code generator You could also have us issue codes from a pre-generated list you provide for the relevant product see this help page for details about selling stored codes. E-junkie can issue the buyer a serial code, license key, registration number, PIN, or similar types of digital code string that we would obtain from your Web-based code generator that outputs either a random code or one dynamically-generated based on the buyer's order data.