This is a discussion on Somewhat a Paypal problem within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Hi, Okay, this one is a little unusual, I guess. It seems like I saw something similar posted somewhere but ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Hi, Okay, this one is a little unusual, I guess. It seems like I saw something similar posted somewhere but I can't find it. Anyway, has anyone had the problem of a customer that pays with Paypal exiting after paying and not going to the confirmation screen? I got the money but not the order, so I played with it and I'm looking for suggestions. Everything works but if the customer doesn't hit continue from the Paypal confirmation the order is lost. So, I'm interested in what others have done to notify the customer ahead of making that mistake? John |
| Sponsored Links | ||
| ||
|
#2
| |||
| |||
| I have a snapshot from around July 2002, but didn't encounter this problem until December. Just happened again today. Got a payment notification through paypal, no notice from my site, and NOTHING - no order in admin. I would like to know what you did to handle the situation (if anything). I have a paypal payment now and no idea what they ordered! I sure don't want to have to email everybody who orders from me to repeat their order... ~MMM http://happybabymoon.com |
|
#3
| |||
| |||
| Okay, I found quite a bit about this on the oscommerce forums and here is a link to help out other noobs like myself http://forums.oscommerce.com/viewtop...t=paypal+order I will be adding the text *commanding* my patrons to click the continue button. LOL! But not tonight! |
|
#4
| ||||
| ||||
| So THAT'S what they're doing... a HA! well, thanks for saving me a crapload of trouble because I was going to start nosing around in the code looking for a bug. I do have a lil bit of information that *may* help a few soles who have a low volume site. If you have access to your database via phpMyAdmin, the mysql console, or through MySQL CC, and you know the customer's name (based on their paypal payment), you can trace their basket like this: find their customer info in the customer table, note the customers_id value. now SELECT * FROM customers_basket WHERE customers_id = 'whatever'. note the products_id for any rows that show up. now SELECT * FROM products_description WHERE products_ids = 'id1' OR products_id = 'id2' OR... No, it might not work if you have a lot of traffic, or if they somehow deleted the items in their basket after they place the order, or probably a thousand other scenarios, but it worked for me 3 times. If I ever have time, I may write a contributeion for fishing this info out and making orders out of it, but that'll be another day. |
|
#5
| |||
| |||
| You may also want to consider adding this in case they don't click continue on paypal site and return to your site to finish transaction Just in case someone doesn't click continue to get back to your site here is a mod to include into your PayPal module to you can see what the customer ordered on your PayPal payment notification (just in case they don't return to your site to complete the process and generate an invoice) - BACK UP BACK UP BACK UP change the following code: function process_button() { global $order, $currencies, $currency; if (MODULE_PAYMENT_PAYPAL_CURRENCY == 'Selected Currency') { $my_currency = $currency; } else { $my_currency = substr(MODULE_PAYMENT_PAYPAL_CURRENCY, 5); } if (!in_array($my_currency, array('CAD', 'EUR', 'GBP', 'JPY', 'USD'))) { $my_currency = 'USD'; } $xx = ''; for ($i=0; $i<sizeof($order->products); $i++) { $xx .= $order->products[$i]['qty'] . '-' . ($order->products[$i]['name']) . '**'; } $process_button_string = tep_draw_hidden_field('cmd', '_xclick') . tep_draw_hidden_field('business', MODULE_PAYMENT_PAYPAL_ID) . tep_draw_hidden_field('item_name', STORE_NAME . ' ' . $xx) . tep_draw_hidden_field('amount', number_format(($order->info['total'] - $order->info['shipping_cost']) * $currencies->get_value($my_currency), $currencies->get_decimal_places($my_currency))) . tep_draw_hidden_field('shipping', number_format($order->info['shipping_cost'] * $currencies->get_value($my_currency), $currencies->get_decimal_places($my_currency))) . tep_draw_hidden_field('currency_code', $my_currency) . tep_draw_hidden_field('return', tep_href_link(FILENAME_CHECKOUT_PROCESS, '', 'SSL')) . tep_draw_hidden_field('cancel_return', tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL')); return $process_button_string; } the above code snippet replaces the code snippet in the catalog/includes/modules/payment/paypal.php file look for function process_button() { and then copy and paste and replace that section of code with the code above |
|
#6
| ||||
| ||||
| nice idea. i thought about doing that, but will that cause a product list to be shown on their bank statement or credit card statement? for my store, i wouldn't want any info about the order going into anything that would be on any kind of permanent record because we sell glass pipes, which some morons perceive to be drug paraphernalia (which is total crap unless razor blades and credit cards are too) =) |
|
#7
| |||
| |||
| I'm not sure, but I think that sends the product info to you and them in the e-mail but not their bank account. I would try a test order with a secondary paypal account to be sure |
|
#8
| ||||
| ||||
| the newest release has paypal IPN support built in so that your server/site gets instantly notified to record the payment, even if they don't hit continue from paypal. that's what i'm using now at my site (www.moondreams.net) and it works well. |
|
#9
| |||
| |||
| kodersoftware, Not sure if you are aware but, I just visited your site and the header is pushing the content all the way to the right, When I entered your site I thought there was nothing there and then noticed my horizontal scroll bar. Just letting you know. I use mozilla firefox for my browser. |
|
#10
| ||||
| ||||
| Quote:
2004/11/17 - update: ok, i fixed it. |
| Sponsored Links | ||
| ||
| |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PayPal IPN Problem | andyjamison | osCMax v2 Customization/Mods | 0 | 06-09-2006 06:08 PM |
| Paypal IPN or tax zone problem?? | Redeye_Joe | osCMax v2 Installation issues | 1 | 02-25-2006 06:46 PM |
| Paypal Problem - What is wrong | kmazumdar | osCMax v1.7 Discussion | 6 | 11-28-2005 12:01 AM |
| Paypal return to store problem | daffodil | osCMax v1.7 Discussion | 5 | 09-14-2005 04:52 AM |
| Problem with paypal and p&p costs. | melfalcon15 | osCommerce 2.2 Modification Help | 1 | 01-15-2005 05:41 AM |