I'm after a bit of help with a script I'm altering. Basically it's a script that submits an item order to PayPal. At the moment, it creates an array of the items ordered.
For example : 1 x item @ 23.00 and 2 x item @ 34.00
I'm trying to alter the code so that it itemises the bill to PayPal, for example :
1 x item @ 23.00
2 x item @ 34.00
5 x item @ 14.53
the script that makes an array of the items, and then submits the form to PayPal.
Reading the PayPal API's I know that I can submit for example
item_name_x (x being 1/2/3/4).
How can I make the array count the items and submit them individually, for example :
item_name_1 .... item_name_2...
Any help much appreciated!