birchy82 Posted January 26, 2007 Share Posted January 26, 2007 Ok i just wanna start by thanking those who came up with this contribution. It works great! except when a customer places an order the numbers they entered into the text feild do not show on the order so i have to call them or e-mail them and ask them what number they chose. This does not look good on my part! So if anyone can offer any incite on what might be the problem that would be awsome! Thanks, Ryan Quote Link to comment Share on other sites More sharing options...
241 Posted January 26, 2007 Share Posted January 26, 2007 my guess would that the issue is with paypal payments and that what you get in the order is TEXT If this is correct then you need to modify your paypal_ipn.php file locate code: 'products_options_values' => $attributes_values['products_options_values_name'], change to: 'products_options_values' => $order->products[$i]['attributes'][$j]['value'], locate code: $parameters['os' . $j . '_' . $item] = $attributes_values['products_options_values_name']; change to: $parameters['os' . $j . '_' . $item] = $order->products[$i]['attributes'][$j]['value']; locate code: $products_ordered_attributes .= "\n\t" . $attributes_values['products_options_name'] . ' ' . $attributes_values['products_options_values_name']; change to: $products_ordered_attributes .= "\n\t" . $attributes_values['products_options_name'] . ' ' . tep_decode_specialchars($order->products[$i]['attributes'][$j]['value']); Quote No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
birchy82 Posted January 26, 2007 Author Share Posted January 26, 2007 my guess would that the issue is with paypal payments and that what you get in the order is TEXT If this is correct then you need to modify your paypal_ipn.php file locate code: 'products_options_values' => $attributes_values['products_options_values_name'], change to: 'products_options_values' => $order->products[$i]['attributes'][$j]['value'], locate code: $parameters['os' . $j . '_' . $item] = $attributes_values['products_options_values_name']; change to: $parameters['os' . $j . '_' . $item] = $order->products[$i]['attributes'][$j]['value']; locate code: $products_ordered_attributes .= "\n\t" . $attributes_values['products_options_name'] . ' ' . $attributes_values['products_options_values_name']; change to: $products_ordered_attributes .= "\n\t" . $attributes_values['products_options_name'] . ' ' . tep_decode_specialchars($order->products[$i]['attributes'][$j]['value']); Thanks alottttttttttttttttttttttttttt i owe you one it worked great!!!!!!!! im so happy now haha you are awsome! Quote Link to comment Share on other sites More sharing options...
HDLLC Posted February 19, 2007 Share Posted February 19, 2007 my guess would that the issue is with paypal payments and that what you get in the order is TEXT If this is correct then you need to modify your paypal_ipn.php file locate code: 'products_options_values' => $attributes_values['products_options_values_name'], change to: 'products_options_values' => $order->products[$i]['attributes'][$j]['value'], locate code: $parameters['os' . $j . '_' . $item] = $attributes_values['products_options_values_name']; change to: $parameters['os' . $j . '_' . $item] = $order->products[$i]['attributes'][$j]['value']; locate code: $products_ordered_attributes .= "\n\t" . $attributes_values['products_options_name'] . ' ' . $attributes_values['products_options_values_name']; change to: $products_ordered_attributes .= "\n\t" . $attributes_values['products_options_name'] . ' ' . tep_decode_specialchars($order->products[$i]['attributes'][$j]['value']); GREAT Information! Thanks for taking the time to post this. Having a problem - cannot locate the third piece of code to replace...? Any ideas? Thanks! --Jeff Quote Link to comment Share on other sites More sharing options...
HDLLC Posted February 19, 2007 Share Posted February 19, 2007 GREAT Information! Thanks for taking the time to post this. Having a problem - cannot locate the third piece of code to replace...? Any ideas? Thanks! --Jeff Is this fix written for any particular version of the IPN...? I tried searching for this in a couple different versions of the osc paypal IPN, and cannot locate that third line of code to be replaced (even tried searching for parts of the code...). Thanks in advance! --Jeff Quote Link to comment Share on other sites More sharing options...
HDLLC Posted February 20, 2007 Share Posted February 20, 2007 Is this fix written for any particular version of the IPN...? I tried searching for this in a couple different versions of the osc paypal IPN, and cannot locate that third line of code to be replaced (even tried searching for parts of the code...). Thanks in advance! --Jeff Anyone running this have problems with not being able to order more than one of any particular item? I am suddenly having problems with this... Not good. Anyone have any ideas? Thanks! --Jeff Quote Link to comment Share on other sites More sharing options...
241 Posted February 21, 2007 Share Posted February 21, 2007 Anyone running this have problems with not being able to order more than one of any particular item? I am suddenly having problems with this... Not good. Anyone have any ideas? Thanks! --Jeff The third piece of code is for passing attributes information and is a part of the osCommerce Paypal IPN It may be a part of some of the others or it may be coded slightly different in which case you would need to look at the code section dealing with attributes for the paypal module that you are using. Do you know which Paypal module you are using? Quote No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
mcbsolutions Posted February 25, 2007 Share Posted February 25, 2007 Hi, anyone have this working with Google Checkout for OSC? Before I try it, thought I would ask here. Thanks! Steve Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.