Hi,
I have already looked at the different sites at e-junkie (Integrating E-junkie With 3rd-Party & Custom Services etc.), but I don't think they have the answers to my questions or maybe it's me. Anyway, please guide me through.
Short story: A person that buys one of my pdf-files needs to fill out a short form on my website before he/she can download the stamped pdf-file.
I would like it to go something like this:
1) Buyer finishes checkout and the payment processor confirms the buyer's payment was good and completed.
2) The buyer access e-junkies Thank-you Page that contains a link to the form on my website (this link must contain the order data shown in the example below).
Example of a normal link from e-junkie (please note that this download link isn't from a real purchase so I don't know if it is a "typical" e-junkie file download link):
1https://www.e-junkie.com/d/?t=jg-ly834a9e9989b30&d=bwxzr&c=49bv1
Example of how the modified link to the form on my website should look:
www.mywebsite/form/GetID?t=jg-ly834a9e9989b30GetRestOfID&d=bwxzr&c=49bv
3) My system extracts and saves the transaction ID (I use the transaction ID to identify the buyer). It also extracts the rest of the order data in the url (in this case: &d=bwxzr&c=49bv). In able to do so I need to insert a number in the URL, in front of each value I want to extract (for clarity's sake, I use "GetID" and "GetRestOfID" in the example above).
4) My system does a simple validation procedure (it just checks that the transaction ID starts with "jg-" and contains 18 characters). Clearly that won't work if the ID sometimes starts with other characters or contains more characters than 18...
5) Once the buyer has completed the form, my system creates a link that is similar to e-junkies original file download link by combining "https://www.e-junkie.com/d/?t=" and the extracted information "jg-ly834a9e9989b30" and "&d=bwxzr&c=49bv".
6) The buyer can now click the link and download the file.
Could someone please tell me how I can do this? (please don't just refer me to help pages).
Thank you very much.
created
Aug '12
last reply
Sep '12
- 17
replies
- 1.7k
views
- 2
users
- 17
links