1 / 3
Aug 2011

Need some help here with something that should be simple.



I need a way to uniquely track a single item whose ID is generated when the buy now button is created.

Here is the expected flow:



* User must unlock a web feature before use

* User can click a buy now button(e-junkie button) to unlock the functionality

* I need to identify the feature they unlock since the feature is dynamically created by the user before purchase and given an ID by me

* I need to track the custom ID roundtrip and get an alert once the item is purchased so I can unlock it using the ID





It won't work for me to hard code a bunch of SKU's here on the site, I really need to add the id to the button and once charged get this id with the URL data sent back to my Variant handler URL.



Whats the correct way to approach this type of situation.



-Joe

  • created

    Aug '11
  • last reply

    Aug '11
  • 2

    replies

  • 1.1k

    views

  • 2

    users

  • 3

    links

For a Buy Now button, which bypasses our cart and takes the buyer directly to instant checkout for just one item at a time, you can have custom scripting in your site add &custom=SKUGOESHERE to the button's href= URL, like so:



<a href="https://www.e-junkie.com/ecom/gb.php?i=100100&c=single&cl=20545&custom=SKUGOESHERE" target="ejejcsingle"><img src="http://www.e-junkie.com/ej/x-click-butcc.gif" border="0" alt="Buy Now"/></a>



After the buyer's payment is completed, that 'custom' value would then be included with the order data that we can pass back to your specified script URL using our custom/3rd-party Integration feature:

http://www.e-junkie.com/ej/help.integration.htm