BuiltOnLinux Posted April 4, 2005 Share Posted April 4, 2005 osCommerce v2.2 PayPal IPN 188.8.131.52 2004/12/05 When a customer completes a transaction, they are routed through PayPal, which takes their money correctly, and shows the customer the attributes of all items purchased. However, there is an email generated with a subject of "Order Process" which is sent to the store owner. It includes things like the name of the store, the order number, a link to the invoice, billing and shipping address, etc. It also has a list of products in the order, with quantity and total price. After the product name there are a pair of parenthesis which are supposed to enclose the model. However, in my store there are no models so PayPal IPN code leaves that blank. I have assigned an attribute to one particular product. This product is a T-shirt, so the attribute is 'size' and the possible values are 'small', 'medium' and 'large'. I cannot for the life of me figure out how to make the PayPal IPN confirmation method include the attribute data for a product. I tried stealing similar code from admin/invoice.php (which does it right on the web) but I'm guessing the 'attribute' array is not properly initialized in "paypal_ipn.php". Help! Thanks, Hal Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.