wemustdesign Posted March 5, 2010 Share Posted March 5, 2010 I have created a custom shopping cart. I have sent the multiple products to paypal. What I don't know how to do is send multiple items to the Paypal IPN. I am using the code below to get the details for the item. How do I get the item_names and item_numbers for all of the items ordered? $item_name = $_POST['item_name_1']; $item_number = $_POST['item_number_1']; Link to comment https://forums.phpfreaks.com/topic/194259-paypal-ipn/ Share on other sites More sharing options...
schilly Posted March 5, 2010 Share Posted March 5, 2010 this is probably better suited for the x.com developer forums. basically you have no control over the PayPal IPN. It is based off the purchase order so as long as you send all the data to paypal for the order the data should be in the IPN. Do a print_r of the $_POST array to see what you get. Make sure your testing first in the sandbox. API Reference: https://cms.paypal.com/us/cgi-bin/?&cmd=_render-content&content_ID=developer/howto_api_reference IPN variables: https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_html_IPNandPDTVariables Hope that helps. Link to comment https://forums.phpfreaks.com/topic/194259-paypal-ipn/#findComment-1022023 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.