Mathachew Posted May 30, 2005 Share Posted May 30, 2005 My wife's shopping cart just went live the other day, and to support us, her sister decided to purchase a piece of art. Well, at the moment, the only method of paying was PayPal, because it's easy. We got notification of the payment, but not of what she ordered. I found out why and fixed that. But that isn't my problem. My sister in law went through the process of placing the order and when she went to pay for it, she was redirected to PayPal to pay. She paid, and that was it. Logging into as the admin to osCommerce, I check the orders... nothing is there. I've tried looking through the forums and it appears that most people who have had problems with PayPal never got a response. I'm hoping someone can help me out with this, because I don't have anything else setup for payments and don't much like the idea of all payments coming in through checks. I have tried testing it out myself to no avail. Why does the customer have to be redirected out of osCommerce to pay? And has anyone else had this problem? It's odd that they're redirected and then when they make the payment, that's it. Any help is greatly appreciated. Quote Link to comment Share on other sites More sharing options...
Guest Posted May 30, 2005 Share Posted May 30, 2005 suggst using the oscommerce paypal ipn contribution (the one written by the osCommerce team) and you will / should have no problems. Quote Link to comment Share on other sites More sharing options...
Mathachew Posted May 30, 2005 Author Share Posted May 30, 2005 suggst using the oscommerce paypal ipn contribution (the one written by the osCommerce team) and you will / should have no problems. <{POST_SNAPBACK}> Where might I find this? I'm really new to using osCommerce. (and thanks for the suggestion) Quote Link to comment Share on other sites More sharing options...
Guest Posted May 30, 2005 Share Posted May 30, 2005 search contributions for paypal, then select the one which says oscommerce Quote Link to comment Share on other sites More sharing options...
gtd_ny Posted June 1, 2005 Share Posted June 1, 2005 search contributions for paypal, then select the one which says oscommerce <{POST_SNAPBACK}> Yeah, I just installed it and paypal works fine.... well, now I need to figure out how to stop paypal from overriding my shipping values from oscommerce, then Ill be fine. Quote Link to comment Share on other sites More sharing options...
Guest Posted June 4, 2005 Share Posted June 4, 2005 I have tried testing it out myself to no avail. Why does the customer have to be redirected out of osCommerce to pay? And has anyone else had this problem? It's odd that they're redirected and then when they make the payment, that's it. Any help is greatly appreciated. You are not alone. Quite a few people, myself included, have had and are having trouble with payments via PayPal and lost order information. Here is some of what I know about the subject. The reason customers have to be directed out of osCommerce to pay via PayPal is that that is how PayPal wants it and set it up to work. The very nice people who contributed to the osCommerce project did not decide that for us PayPal did. The way it is suposed to work is: the cart (osCommerce) sends the customer and order info to paypal.com. PayPal dose its money transfer stuff then, if everything went perfectly, sends the customer back to the cart through checkout_success.php and the cart knows that the order is complete and only then records the order to the db. The problem is that lots of things can and often do go wrong between the time the customer leaves the cart and the time they are sent back and all of them result in the order not being recorded. If the payment is made then for whatever reason the customer is not returned to the cart (system failure, network problems, customer prematurely closes browser, whatever) you end up with the "payment made but no idea what the order was" problem. There are some things that can help. The first is that PayPal has a preference setting that automatically sends the customer back after a payment is made rather than waiting for the customer to activly click a button to return. Setting this preference correctly will eliminate 80% of the problems. It seems that a lot of people don't actually click that last button for whatever reason and presto "payment made but no idea what the order was." Setting the pref properly sends just them back without them having to ask for it. The PayPal module that comes with osCommerce sends summary order information to PayPal, no details. There is a contribution that uses a different PayPal interface to send detailed information to PayPal. (find the Contributions section of the ocCommerce website and search for PayPal IPN) (IPN=Instant Payment Notification, by the way) This doesn't actually fix the problem in that the order still won't be recorded in your cart if the process fails for whatever reason after payment is made but the verification email from PayPal will contain the order details, a real lifesaver! Personally I prefer the simplicity of the supplied PayPal module and am avoiding using the detailed PayPal IPN. I am attempting to modify the PayPal module's pre_process function to send me an email with order details prior to the customers' redirection to PayPal. If I work that out I'll post the code or submit it as a contribution. I think the right thing to do is rework the code to record the order prior to redirection to PayPal with a status of pending payment. Then if the Payment is received you can locate and process the order. If the payment is never made it's the same as a payment by check where the customer never sends payment. But that's a bit bigger project than I can commit to right now. :-" Quote Link to comment Share on other sites More sharing options...
ccoder Posted June 12, 2005 Share Posted June 12, 2005 I had the same problem, forget PayPal IPN as it doesn`t work very well with PayPal!!!!!!!!!!!!! I installed Held Order module instead and just use the normal PayPal . Held Order So no matter what payment method goes wronge I will still know what the customer had in their cart up-on leaving to pay. Sorted Steve Quote Link to comment Share on other sites More sharing options...
Arcadiauk Posted June 12, 2005 Share Posted June 12, 2005 To get you out of a hole for now you need to install 2 simple contributions, Master Password & Recover Carts. This will allow you to see which cart is stuck and then log into the customers account and finish off their shopping cart (selecting Cheque/Money Order instead of Paypal as a payment option.) Search for Master Password in the contributions and take your pick. The recover carts contribution that seems to work well is this one..... http://www.oscommerce.com/community/contributions,1688 Good luck Derek Quote Link to comment Share on other sites More sharing options...
Guest Posted June 16, 2005 Share Posted June 16, 2005 There are some things that can help. The first is that PayPal has a preference setting that automatically sends the customer back after a payment is made rather than waiting for the customer to activly click a button to return. Setting this preference correctly will eliminate 80% of the problems. It seems that a lot of people don't actually click that last button for whatever reason and presto "payment made but no idea what the order was." Setting the pref properly sends just them back without them having to ask for it.<{POST_SNAPBACK}> Where is the preference set that allows Paypal to automatically redirect the user back to the original site without them having to click the "Return to Merchant" button? Quote Link to comment Share on other sites More sharing options...
Guest Posted June 16, 2005 Share Posted June 16, 2005 Where is the preference set that allows Paypal to automatically redirect the user back to the original site without them having to click the "Return to Merchant" button? <{POST_SNAPBACK}> FYI: I found these settings on the Profile tab on my Paypal account- you ca set auto-return and specifically list the page to reurn to. Since making these changes Paypal is working great for me. Quote Link to comment Share on other sites More sharing options...
gabrielk Posted September 26, 2005 Share Posted September 26, 2005 Like Vislogica says, PayPal now allows you to set "auto-return" which will complete the order with no additional modifications necessary. Quote Link to comment Share on other sites More sharing options...
SVanArnum Posted September 27, 2005 Share Posted September 27, 2005 Like Vislogica says, PayPal now allows you to set "auto-return" which will complete the order with no additional modifications necessary. Which page (file) are you returning your customers to? Quote Link to comment Share on other sites More sharing options...
countrystyle Posted September 28, 2005 Share Posted September 28, 2005 Which page (file) are you returning your customers to? Good question? OsCommerce sends this code.... <input type="hidden" name="return" value="http://your_domain.com/shoppingcart/checkout_process.php?osCsid=62bab890aa2637809d0704b8ed9488af"> <input type="hidden" name="cancel_return" value="http://your_domain.com/shoppingcart/checkout_payment.php?osCsid=62bab890aa2637809d0704b8ed9488af"> Do you just add http://your_domain.com/shoppingcart/checkout_process.php and forget about the osCsid? Good question? OsCommerce sends this code.... <input type="hidden" name="return" value="http://your_domain.com/shoppingcart/checkout_process.php?osCsid=62bab890aa2637809d0704b8ed9488af"> <input type="hidden" name="cancel_return" value="http://your_domain.com/shoppingcart/checkout_payment.php?osCsid=62bab890aa2637809d0704b8ed9488af"> Do you just add http://your_domain.com/shoppingcart/checkout_process.php and forget about the osCsid? I just added http://your_domain.com/shoppingcart/checkout_process.php to the PayPal settings and it works fine now. Quote Link to comment Share on other sites More sharing options...
paulgosden Posted October 17, 2005 Share Posted October 17, 2005 I have also had this problem something not working correctly with paypal ipn, When customers dont log in and just add stuff to their shopping basket and then go to checkout procedure and THEN login and pay orders do not show up in orders, i installed the held orders contribution, which does show it, Also email is send from oscommerce without an orderID at the end which cant be great?!?!?!? Is there a problem with held orders and paypal ipn contributions being installed at the sametime? Please someone help as is is drving me mad!!!!! Quote Link to comment Share on other sites More sharing options...
h2oguyofnh Posted October 20, 2005 Share Posted October 20, 2005 It seems that half my orders have this problem. I get money but no order. For better or worse, this is about an order a week. Paypal sends me money but I get no order nor can I find one in admin. On top of that I got an order from a customer today who says his quantitiy kept getting reset from 4 items to 2. Will paying into a real gateway and merch account take care of my woes? I suppose I could keep paypal as an option. ck Quote Link to comment Share on other sites More sharing options...
Guest Posted October 21, 2005 Share Posted October 21, 2005 I am studing to implement PAYPAL in my store, and for all that I had read about and studied, no PAYPAL contibution will do what I want it to do. The problem is when you go to the paypal secure site to pay, you still not have a order ID yet. Some contributions made a temporary order ID, but it not remove from the store the items the costumer will bought, because the sell is not yet completed. For me this will not work becaus two customers can bought the same product and this will mess with my stock. Maybe the solution for implement paypal without IPN is simple. Alter some other payment module, rename it to PAYPAL payment, and put the information that the client will receive one e-mail with instructions how to pay with PAYPAL. The OSC will send the e-mail only after the order made, and at that point you will already have an order id and the products had been subtracted from the stock. If you will only sell your products with PAYPAL you can alter the "checkout_process.php" that is responsible for send the e-mail to include the PAYPAL BUNOW button ( instructions in PAYPAL site ). In the PAYPAL button you can add the order id, so when you receive the e-mail from the paypal informing that you had received some money,they will tell you the order id number. I think that is a simple solution, but without IPN, you will have to manually put the order in processing mode after check it have realy been payed. The only thing I have not figured out yet is that when you have other methods of payment I will not want to send the PAYPAL BuyNow button with the e-mail. Maybe some one can help me. I think the solution is to include some "IF STAMENT" in checkout_process.php to check with the payment method is PAYPAL or not. Can anyone help me with that? Sorry for my english... Quote Link to comment Share on other sites More sharing options...
h2oguyofnh Posted October 21, 2005 Share Posted October 21, 2005 I've lost my energy for the Paypal approach. Zero monthly fees is fine-if it works. You would think 3% of your business would be enticing enough for most banks. Looking into conventional processing means. ck 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.