Jump to content

Paypal Integration


searls03

Recommended Posts

I am using paypal to integrate a shopping cart into my site. I would like to know if anyone knows how paypal sends POST variables when there are multiple items. So my customer orders 2 items, I know how to get one item, but how does paypal send both? do they use an array? an item_name_1/2? how do they post back? does anyone here know?if you can help me, that would be awesome.

Link to comment
Share on other sites

I thought about a for loop, but the issue here being that how do I know what number to end on....there could be 1 item, there could be 100 items ordered. I plan to insert into a database each item that is sold individually for tracking purposes. So I guess I am asking, does paypal send a variable of how many items were purchased? I have been looking and can't seem to find one.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.