Automating Gift Card entry at checkout

Hi!

I am setting up a reward program where people can click into our shopping cart and get a free product shipped. I set it up in the following way:

  • a batch of gift cards is generated, and is limited to a single SKU that we are giving away

  • our reward program sends traffic to the URL which automatically adds the giveaway SKU to the cart, like this:
    http://store.mywebsite.com/?method=cart.addToCart&productSKU=MYSKU&Quantity=1

  • Now, I would also like to pass the gift card code in the same URL, to make it pre-filled for the end user.

Have anyone tried that before? Is it supported? If not via URL, then maybe via JavaScript API?

Many thanks in advance!

I’ve also looked into that, and never been able to find a way to pass gift card codes via URL. It would be really cool if you could!

If it is something you’d like to see, submit a feature request!

1 Like