graysonhobby Posted October 17, 2006 Share Posted October 17, 2006 That you need cURL. They'll know what to do.Exactly what you told me. Well, my hosting company said to use wget. And powweb.com does not know :( Too bad as powweb.com has hosting for 5.77 mth and includes SSL Quote Link to comment Share on other sites More sharing options...
graysonhobby Posted October 17, 2006 Share Posted October 17, 2006 Well, my hosting company said to use wget. And powweb.com does not know :( Too bad as powweb.com has hosting for 5.77 mth and includes SSL Ok Powweb.com says their platform supports cURL. Quote Link to comment Share on other sites More sharing options...
mlt Posted October 17, 2006 Share Posted October 17, 2006 I installed then new pear-less v0.8b. At the Enable & Configure stage, I went to Admin->Modules->Payment and found an Install button. When I selected it, it produced this error... 1062 - Duplicate entry '0' for key 1 insert into configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Debug Mode', 'MODULE_PAYMENT_PAYPAL_DP_DEBUGGING', 'False', 'Would you like to enable debug mode? A complete dump of failed transactions will be emailed to the store owner.', '6', '0', 'tep_cfg_select_option(array(\'True\', \'False\'), ', now()) [TEP STOP] Then I went back to the Payment page, and the Install button was gone, replaced by Remove and Edit buttons. When I select Edit, it displays about 18 text fields with no label. My Admin pages still display, but the website is missing in action. Can you help me fix this? Thanks much. Quote Link to comment Share on other sites More sharing options...
tonyhuvo Posted October 17, 2006 Share Posted October 17, 2006 @steveosc: Overwrite all of your XML files with the latest ones as well. It's really a mystery why it's behaving like that as I can't get the same behavior. @WickedBoy: Apache isn't setup correctly. Contact your webhost about the problem. @tonyhuvo: Compare your checkout_payment.php file with the one that comes in the zip file. I'll do a complete reinstall of the module when I have time to ensure that I didn't miss something, but because it's working fine on my test site, I'm thinking that these problems have to do with the installation. Dynamo. Thank you for your response. I did replace the checkout_payment with the one from the zip file and I still having the same problem. In the box Payment Method This is currently the only payment method available to use on this order. this is the only thing I got. I did tried this contribution on a fresh install oscommerce cart just to see if it works and I had the same problem. The thing is I did not have any error for some reasons, that is why I don't know what the problem is. I know it works because a lot of people is using it. any idea? thanks. Quote Link to comment Share on other sites More sharing options...
tonyhuvo Posted October 17, 2006 Share Posted October 17, 2006 Dynamo.Thank you for your response. I did replace the checkout_payment with the one from the zip file and I still having the same problem. In the box Payment Method This is currently the only payment method available to use on this order. this is the only thing I got. I did tried this contribution on a fresh install oscommerce cart just to see if it works and I had the same problem. The thing is I did not have any error for some reasons, that is why I don't know what the problem is. I know it works because a lot of people is using it. any idea? thanks. Okay. I just did another test. I went into admin >> modules >> payment and enable all of them; all other show up in the Payment Method box but no paypal payments show up, both standard paypal and wpp just disappeared. But the paypal EC button show up in both the login and delivery confirmation page. I am stuck..... Quote Link to comment Share on other sites More sharing options...
djmonkey1 Posted October 17, 2006 Share Posted October 17, 2006 (edited) Does anyone know how to set OSC to send an "aggregate" total to Paypal? I am trying to use the "Easy Discount" & "Easy Coupon" contributions and the discount/coupon shows in the total at checkout but Paypal charges the full amount. Any ideas on how to get the discounted total to carry over to WPP? If this was to work out, it would be a simple way to give discount codes and even implement the use of gift certificate codes. :thumbsup: TIA! ~Mark I agree that this should be an option, unless there is a way to pass discount amounts to PayPal. When using a discount coupon with PayPal WPP I'm getting this error: Your credit card was declined. Please try another card or contact your bank for more info. Invalid Data (10520) This transaction cannot be processed. Please review the totals of this transaction and resubmit. According to my research, a 10520 error is returned when the order totals don't match (ie items + shipping != total). So we need to either be able to send just the total to PayPal or PayPal has to be able to interpret discounts properly. Edited October 17, 2006 by djmonkey1 Quote Do, or do not. There is no try. Order Editor 5.0.6 "Ultra Violet" is now available! For support or to post comments, suggestions, etc, please visit the Order Editor support thread. Link to comment Share on other sites More sharing options...
djmonkey1 Posted October 17, 2006 Share Posted October 17, 2006 Does anyone know how to set OSC to send an "aggregate" total to Paypal?~Mark Mark- I am currently running PayPal WPP v0.7 and it works fine with Discount Coupon Codes. I'm not familiar with Easy Discount and Easy Coupon, but if all you need is to have an aggregate total sent over to PayPal v0.7 is probably the way to go for now. Quote Do, or do not. There is no try. Order Editor 5.0.6 "Ultra Violet" is now available! For support or to post comments, suggestions, etc, please visit the Order Editor support thread. Link to comment Share on other sites More sharing options...
tonyhuvo Posted October 17, 2006 Share Posted October 17, 2006 Okay. I just did another test. I went into admin >> modules >> payment and enable all of them; all other show up in the Payment Method box but no paypal payments show up, both standard paypal and wpp just disappeared. But the paypal EC button show up in both the login and delivery confirmation page. I am stuck..... Hi all, I got it to work, all I did was to change the tax zone to none. I really don't know why. But for now I will try to live with it . Will post more. Quote Link to comment Share on other sites More sharing options...
dynamoeffects Posted October 17, 2006 Author Share Posted October 17, 2006 One idea is to have the module add an item to the list of products with a negative amount in the value of the coupon, but unsure if it will take or not. The docs don't specify whether the field will allow signed values. I'll give it a test when I get a chance. Quote Please use the forums for support! I am happy to help you here, but I am unable to offer free technical support over instant messenger or e-mail. Link to comment Share on other sites More sharing options...
djmonkey1 Posted October 17, 2006 Share Posted October 17, 2006 One idea is to have the module add an item to the list of products with a negative amount in the value of the coupon, but unsure if it will take or not. The docs don't specify whether the field will allow signed values. I'll give it a test when I get a chance. What about Handling Total? It looks like it's empty at $order_info['PAYPAL_SHIPPING_TOTAL'] = $order->info['shipping_cost']; $order_info['PAYPAL_HANDLING_TOTAL'] = ''; Quote Do, or do not. There is no try. Order Editor 5.0.6 "Ultra Violet" is now available! For support or to post comments, suggestions, etc, please visit the Order Editor support thread. Link to comment Share on other sites More sharing options...
shellqc Posted October 17, 2006 Share Posted October 17, 2006 I'm having and issue when customers try to checkout. If they have an issue with their cards it's caching the info somehow so they can't correct what they need to. The only way to do it is to clear all temporary internet files and sometimes reboot. Example: Customer tries to check out but either put in the wrong CVV or forgot it all together. When they submit it to process it goes back to the original entry which makes the card fail all over again. Example 2: the customer made a typo in her billing address. When she tried to correct it, it defaults back to the original entry. When they keep trying over and over it puts a hold on the funds. This lady tried 4 times!! Please, has anyone else had this issue? Does anyone know how to fix this? I'm losing customers left and right. Thanks for your help! Shell Quote Link to comment Share on other sites More sharing options...
djmonkey1 Posted October 17, 2006 Share Posted October 17, 2006 (edited) I'm having and issue when customers try to checkout. If they have an issue with their cards it's caching the info somehow so they can't correct what they need to. The only way to do it is to clear all temporary internet files and sometimes reboot. Example: Customer tries to check out but either put in the wrong CVV or forgot it all together. When they submit it to process it goes back to the original entry which makes the card fail all over again. Example 2: the customer made a typo in her billing address. When she tried to correct it, it defaults back to the original entry. When they keep trying over and over it puts a hold on the funds. This lady tried 4 times!! Please, has anyone else had this issue? Does anyone know how to fix this? I'm losing customers left and right. Thanks for your help! Shell Try this: at the top of checkout_payment.php after require('includes/application_top.php'); add if (tep_session_is_registered('payment')) tep_session_unregister('payment'); You could also get specific like this: tep_session_unregister($HTTP_POST_VARS['paypalwpp_cc_checkcode']); Edited October 17, 2006 by djmonkey1 Quote Do, or do not. There is no try. Order Editor 5.0.6 "Ultra Violet" is now available! For support or to post comments, suggestions, etc, please visit the Order Editor support thread. Link to comment Share on other sites More sharing options...
shellqc Posted October 18, 2006 Share Posted October 18, 2006 Try this: at the top of checkout_payment.php after require('includes/application_top.php'); add if (tep_session_is_registered('payment')) tep_session_unregister('payment'); You could also get specific like this: tep_session_unregister($HTTP_POST_VARS['paypalwpp_cc_checkcode']); Thanks for you help but that didn't seem to work. I have fast easy checkout on there too do you think that is causing the issue? Here's the first few lines of code: <?php /* $Id: checkout_payment.php,v 1.113 2003/06/29 23:03:27 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ require('includes/application_top.php'); //fast easy checkout start tep_session_unregister('payment'); //fast easy checkout end // if the customer is not logged on, redirect them to the login page if (!tep_session_is_registered('customer_id')) { $navigation->set_snapshot(); tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL')); } // if there is nothing in the customers cart, redirect them to the shopping cart page if ($cart->count_contents() < 1) { tep_redirect(tep_href_link(FILENAME_SHOPPING_CART)); } // if no shipping method has been selected, redirect the customer to the shipping method selection page if (!tep_session_is_registered('shipping')) { tep_redirect(tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL')); } // avoid hack attempts during the checkout procedure by checking the internal cartID if (isset($cart->cartID) && tep_session_is_registered('cartID')) { if ($cart->cartID != $cartID) { tep_redirect(tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL')); } } // Stock Check if ( (STOCK_CHECK == 'true') && (STOCK_ALLOW_CHECKOUT != 'true') ) { $products = $cart->get_products(); for ($i=0, $n=sizeof($products); $i<$n; $i++) { if (tep_check_stock($products[$i]['id'], $products[$i]['quantity'])) { tep_redirect(tep_href_link(FILENAME_SHOPPING_CART)); break; } } } Quote Link to comment Share on other sites More sharing options...
shellqc Posted October 18, 2006 Share Posted October 18, 2006 Try this: at the top of checkout_payment.php after require('includes/application_top.php'); add if (tep_session_is_registered('payment')) tep_session_unregister('payment'); You could also get specific like this: tep_session_unregister($HTTP_POST_VARS['paypalwpp_cc_checkcode']); Thanks for you help but that didn't seem to work. I have fast easy checkout on there too do you think that is causing the issue? Here's the first few lines of code: <?php /* $Id: checkout_payment.php,v 1.113 2003/06/29 23:03:27 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ require('includes/application_top.php'); //fast easy checkout start tep_session_unregister('payment'); //fast easy checkout end // if the customer is not logged on, redirect them to the login page if (!tep_session_is_registered('customer_id')) { $navigation->set_snapshot(); tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL')); } // if there is nothing in the customers cart, redirect them to the shopping cart page if ($cart->count_contents() < 1) { tep_redirect(tep_href_link(FILENAME_SHOPPING_CART)); } // if no shipping method has been selected, redirect the customer to the shipping method selection page if (!tep_session_is_registered('shipping')) { tep_redirect(tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL')); } // avoid hack attempts during the checkout procedure by checking the internal cartID if (isset($cart->cartID) && tep_session_is_registered('cartID')) { if ($cart->cartID != $cartID) { tep_redirect(tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL')); } } // Stock Check if ( (STOCK_CHECK == 'true') && (STOCK_ALLOW_CHECKOUT != 'true') ) { $products = $cart->get_products(); for ($i=0, $n=sizeof($products); $i<$n; $i++) { if (tep_check_stock($products[$i]['id'], $products[$i]['quantity'])) { tep_redirect(tep_href_link(FILENAME_SHOPPING_CART)); break; } } } Quote Link to comment Share on other sites More sharing options...
dynamoeffects Posted October 18, 2006 Author Share Posted October 18, 2006 (edited) Is Example 2 during Express Checkout? @Stew: In versions 0.8.1 and above, a full list of the items purchased is displayed in the transaction history on your paypal account, so by adding it as an item, I'll be able to put "Discount Coupon" with a negative amount, and it'll be a little easier to understand than having a negative handling charge. Edited October 18, 2006 by dynamoeffects Quote Please use the forums for support! I am happy to help you here, but I am unable to offer free technical support over instant messenger or e-mail. Link to comment Share on other sites More sharing options...
djmonkey1 Posted October 18, 2006 Share Posted October 18, 2006 I have fast easy checkout on there too do you think that is causing the issue? Yes- scratch what I said before. At the top of checkout_confirmation.php after require('includes/application_top.php'); you should have //fast easy checkout start foreach ($_SESSION as $key => $val) { // this is for debugging // print $key.' => '.$val.' - ';print_r($val);echo "<br>"; $HTTP_POST_VARS[$key] = $val; } // unregister payment info tep_session_unregister('paypalwpp_cc_type'); tep_session_unregister('paypalwpp_cc_firstname'); tep_session_unregister('paypalwpp_cc_number'); tep_session_unregister('paypalwpp_cc_expires_month'); tep_session_unregister('paypalwpp_cc_expires_year'); tep_session_unregister('paypalwpp_cc_lastname'); tep_session_unregister($HTTP_POST_VARS['paypalwpp_cc_checkcode']); //fast easy checkout end Quote Do, or do not. There is no try. Order Editor 5.0.6 "Ultra Violet" is now available! For support or to post comments, suggestions, etc, please visit the Order Editor support thread. Link to comment Share on other sites More sharing options...
djmonkey1 Posted October 18, 2006 Share Posted October 18, 2006 Is Example 2 during Express Checkout? @Stew: In versions 0.8.1 and above, a full list of the items purchased is displayed in the transaction history on your paypal account, so by adding it as an item, I'll be able to put "Discount Coupon" with a negative amount, and it'll be a little easier to understand than having a negative handling charge. You're the man, man, I'm just throwing out ideas. :) Quote Do, or do not. There is no try. Order Editor 5.0.6 "Ultra Violet" is now available! For support or to post comments, suggestions, etc, please visit the Order Editor support thread. Link to comment Share on other sites More sharing options...
djmonkey1 Posted October 18, 2006 Share Posted October 18, 2006 EDIT- scratch what I said before. At the top of checkout_confirmation.php after require('includes/application_top.php'); you should have //fast easy checkout start foreach ($_SESSION as $key => $val) { // this is for debugging // print $key.' => '.$val.' - ';print_r($val);echo "<br>"; $HTTP_POST_VARS[$key] = $val; } // unregister payment info tep_session_unregister('paypalwpp_cc_type'); tep_session_unregister('paypalwpp_cc_firstname'); tep_session_unregister('paypalwpp_cc_number'); tep_session_unregister('paypalwpp_cc_expires_month'); tep_session_unregister('paypalwpp_cc_expires_year'); tep_session_unregister('paypalwpp_cc_lastname'); tep_session_unregister($HTTP_POST_VARS['paypalwpp_cc_checkcode']); tep_session_unregister('paypalwpp_cc_checkcode'); //fast easy checkout end Quote Do, or do not. There is no try. Order Editor 5.0.6 "Ultra Violet" is now available! For support or to post comments, suggestions, etc, please visit the Order Editor support thread. Link to comment Share on other sites More sharing options...
n2advnture Posted October 18, 2006 Share Posted October 18, 2006 Mark- I am currently running PayPal WPP v0.7 and it works fine with Discount Coupon Codes. Thanks! Was it an easy install? Any issues at all? I may just switch over to that contrib if it's simple. I don't want to mess anything up just before the holiday buying season! Thanks again! ~Mark Quote Link to comment Share on other sites More sharing options...
djmonkey1 Posted October 18, 2006 Share Posted October 18, 2006 Thanks! Was it an easy install? Any issues at all? I may just switch over to that contrib if it's simple. I don't want to mess anything up just before the holiday buying season! Thanks again! ~Mark 0.7 has always worked great for me- just make sure you get the PEAR modules if it's not already installed on your server. Quote Do, or do not. There is no try. Order Editor 5.0.6 "Ultra Violet" is now available! For support or to post comments, suggestions, etc, please visit the Order Editor support thread. Link to comment Share on other sites More sharing options...
shellqc Posted October 18, 2006 Share Posted October 18, 2006 Yes- scratch what I said before. At the top of checkout_confirmation.php after require('includes/application_top.php'); you should have //fast easy checkout start foreach ($_SESSION as $key => $val) { // this is for debugging // print $key.' => '.$val.' - ';print_r($val);echo "<br>"; $HTTP_POST_VARS[$key] = $val; } // unregister payment info tep_session_unregister('paypalwpp_cc_type'); tep_session_unregister('paypalwpp_cc_firstname'); tep_session_unregister('paypalwpp_cc_number'); tep_session_unregister('paypalwpp_cc_expires_month'); tep_session_unregister('paypalwpp_cc_expires_year'); tep_session_unregister('paypalwpp_cc_lastname'); tep_session_unregister($HTTP_POST_VARS['paypalwpp_cc_checkcode']); //fast easy checkout end Hmmm that did not work either. Am I doing something wrong? That fix totally makes sense, I just wonder should I be putting it somewhere else too? Do you need me to copy the code in? There is also a checkout_2comfirmation.php I think that came in with WPP was installed. Let me know what you think. thanks! Shell Quote Link to comment Share on other sites More sharing options...
shellqc Posted October 18, 2006 Share Posted October 18, 2006 Hmmm that did not work either. Am I doing something wrong? That fix totally makes sense, I just wonder should I be putting it somewhere else too? Do you need me to copy the code in? There is also a checkout_2comfirmation.php I think that came in with WPP was installed. Let me know what you think. thanks! Shell Here is the actual code that WAS there. //fast easy checkout start foreach ($_SESSION as $key => $val) { // print $key.' => '.$val.' - ';print_r($val);echo "<br>"; $HTTP_POST_VARS[$key] = $val; } // first two lines are for ccgv //tep_session_unregister('gv_redeem_code'); //tep_session_unregister('credit_covers'); tep_session_unregister('cc_number'); tep_session_unregister('cc_expires_month'); tep_session_unregister('cc_expires_year'); tep_session_unregister('cc_owner'); tep_session_unregister('authorizenet_cc_number'); tep_session_unregister('authorizenet_cc_expires_month'); tep_session_unregister('authorizenet_cc_expires_year'); tep_session_unregister('authorizenet_cc_owner'); //fast easy checkout end Quote Link to comment Share on other sites More sharing options...
djmonkey1 Posted October 18, 2006 Share Posted October 18, 2006 Here is the actual code that WAS there. You definitely need to use this (as seen in post #1493; there's another line of code that's important for the checkcode issue): //fast easy checkout start foreach ($_SESSION as $key => $val) { // this is for debugging // print $key.' => '.$val.' - ';print_r($val);echo "<br>"; $HTTP_POST_VARS[$key] = $val; } // unregister payment info tep_session_unregister('paypalwpp_cc_type'); tep_session_unregister('paypalwpp_cc_firstname'); tep_session_unregister('paypalwpp_cc_number'); tep_session_unregister('paypalwpp_cc_expires_month'); tep_session_unregister('paypalwpp_cc_expires_year'); tep_session_unregister('paypalwpp_cc_lastname'); tep_session_unregister($HTTP_POST_VARS['paypalwpp_cc_checkcode']); tep_session_unregister('paypalwpp_cc_checkcode'); //fast easy checkout end Quote Do, or do not. There is no try. Order Editor 5.0.6 "Ultra Violet" is now available! For support or to post comments, suggestions, etc, please visit the Order Editor support thread. Link to comment Share on other sites More sharing options...
shellqc Posted October 18, 2006 Share Posted October 18, 2006 You definitely need to use this (as seen in post #1493; there's another line of code that's important for the checkcode issue): //fast easy checkout start foreach ($_SESSION as $key => $val) { // this is for debugging // print $key.' => '.$val.' - ';print_r($val);echo "<br>"; $HTTP_POST_VARS[$key] = $val; } // unregister payment info tep_session_unregister('paypalwpp_cc_type'); tep_session_unregister('paypalwpp_cc_firstname'); tep_session_unregister('paypalwpp_cc_number'); tep_session_unregister('paypalwpp_cc_expires_month'); tep_session_unregister('paypalwpp_cc_expires_year'); tep_session_unregister('paypalwpp_cc_lastname'); tep_session_unregister($HTTP_POST_VARS['paypalwpp_cc_checkcode']); tep_session_unregister('paypalwpp_cc_checkcode'); //fast easy checkout end Hmm this is weird. I'm doing exactly as you said and it still isn't working. Quote Link to comment Share on other sites More sharing options...
djmonkey1 Posted October 18, 2006 Share Posted October 18, 2006 Hmm this is weird. I'm doing exactly as you said and it still isn't working. Please be more specific. Quote Do, or do not. There is no try. Order Editor 5.0.6 "Ultra Violet" is now available! For support or to post comments, suggestions, etc, please visit the Order Editor support thread. 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.