Thanks, I am following your advice. I have created a testing script that I run after loading the confirm page (so I have a cart and some data).
I cannot work out how to loop through the WA_Store_cart. When I run this, It gets stuck in an infinite loop !!!
I feel I am getting close, but I am a little stuck here. I have attached my code if you'd like to look.