SMFHacks.com
SMF Store => Support => Topic started by: SunKing on May 31, 2009, 09:50:13 pm
-
Hello. I apologize if this has been covered, but I found nothing to solve my issue.
My co-admin has purchased and installed this mod on my site and everything went smooth. I purchased an item (as admin) through paypal to test it out and the purchase went fine. I was sent an email, the MyOrders page came up with Order Status: pending. Great. As soon as my co-admin accepted the payment, my order status changed to "complete" and the download link was verified. Perfect!
About 30 minutes later, we had our first actual purchase. A new member signed up, and purchased an item through paypal. The transaction went through, the co-admin accepted the payment, then nothing. The new member never even had the MyOrders page state that the order was pending. It was blank as if a purchase was never made. We managed to get the item to the customer through other means. I made a second purchase using my test account (regular member) and again the transaction went through, but I never recieved a download link and the MyOrders page was blank.
The Stats And Download Logsand the Transactions pages both show only the purchase made by me as admin. The Products page shows Total sales: 4 (not sure where the 4th sale came from ;)) but still only list my admin account. I have set the storeipn2.php to debug and created the log. It comes back as verified. I have sifted through all of the settings and everything seems to be in order. In the permissions, all members (and guests) can view, rate, comment, and edit own comment. There was no permission setting for "allow download" or similar.
Sorry for the long-winded post, but I wanted to try and cover all bases. :) Thank you in advance.
-
Sounds like paypal is not passing back the transaction information.
Is the paypal account a Business account? Do you have IPN enabled under your paypal profile pointed to http://www.yoursite.com/storeipn2.php
You should almost never need to accept the payment the transaction is completed as soon as paypal passes back the transaction was completed. The only time an order will be pending should be if the payment is made by e-Check.
-
Wow! Thanks for the quick reply.
I am not sure on that as it was all set up by my co-admin and he is moving all next week. I will see if I can find out these details and post back. Thanks again.
-
Well, he was kind enough to PM me the info I needed to access his paypal account. :o
I went into the IPN and it is pointing to the correct location for the storipn2.php. I had to enable Message Delivery for the IPN. Would that maybe be the cause?
EDIT: It is a business account btw. And I still have an empty MyOrders page with my regular member account.
-
Yes without IPN enabled that would cause the transactions not to be posted back.
-
Is it a case where the two purchases made will still not show but all future purchases will work as expected (as far as the MyOrder page and download link are concerned)?
-
If the purchases marked as completed/accepted they should be shown in the myorders page for the user.