This is a discussion on "passing items to paypal" within the PHP Forum section. This forum, and the thread "passing items to paypal are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
passing items to paypal
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
passing items to paypal
Hi everyone.
I have built a website in php and everything is working ok, I have mysql, apache and php all behaving themselves, my problem lies with paypal not recieving all the items in my cart. If I add one item to my cart and check out to paypal there is no problem, if i add a second item and checkout it recieves the second but not the first in other words it doesnt seem to recieve (i think) all items held in that session. please take a look at my code.
Thanks in advance for any help or pointers. |
|
|
|
#2
|
|||
|
|||
|
Re: passing items to paypal
I don't thin you need that extra for loop at all - I think the while loop is all you need, with an extra "$i" counter ... initialised to zero before the while loo, and ++'d within it.
|
|
#3
|
|||
|
|||
|
Re: passing items to paypal
Thanks for the reply Grahame
I will give it a go and let you know how i get on. |
|
#4
|
|||
|
|||
|
Re: passing items to paypal
Sorry for the delay but I have been playing around with what you suggested and after 5days I am now posting all my items and options with the click of one button. Its fantastic.
Many thanks for the help. |
|
#5
|
|||
|
|||
|
Re: passing items to paypal
Could you post the code to show how you achieved it?
|
|
#6
|
|||
|
|||
|
Re: passing items to paypal
Hi there
Here is the complete code.
I hope this helps. Last edited by Daniel; Jun 16th, 2007 at 10:21. Reason: Added [php] tags :) |
![]() |
| Tags |
| cart, items, paypal |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [SOLVED] Div not expanding to contain items inside | snappy | Web Page Design | 6 | Dec 6th, 2007 13:54 |
| summerizing multiple items at once. | Javilen | Databases | 1 | Sep 20th, 2007 20:45 |
| Animation for menu items | David Blake | Flash & Multimedia Forum | 12 | Jun 14th, 2007 00:54 |
| PHP includes menu - problems with sub-items | fallen_angel | PHP Forum | 3 | Jan 19th, 2007 17:15 |
| display mean and variance of purchased items | chikenyd | Other Programming Languages | 1 | Nov 4th, 2006 21:10 |