Facebook 

SMFHacks.com - Celebrating 20 Years!

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4341
Latest: jmac32here
New This Month: 2
New This Week: 2
New Today: 0
Stats
Total Posts: 44306
Total Topics: 7676
Most Online Today: 303
Most Online Ever: 27044
(May 30, 2026, 09:10:16 pm)
Users Online
Members: 0
Guests: 280
Total: 280

Author Topic: RESOLVED: Store Not Logging Transactions or Sending Emails  (Read 22922 times)

0 Members and 1 Guest are viewing this topic.

Re: RESOLVED: Store Not Logging Transactions or Sending Emails
« Reply #15 on: »
Any chance you have timne to take another look at this?

Thanks in advance and sorry this has been such a hassle.

Happy New Year,
Mike
"We sleep safe in our beds because rough men stand ready in the night to visit violence on those who would do us harm" - George Orwell

Re: RESOLVED: Store Not Logging Transactions or Sending Emails
« Reply #16 on: »
Is it one item in the shopping cart? Or many?

Also create a text file in the root of your forum called store_debug.txt and make it writable
Open storeipn2.php
Find
Code: [Select]
define('DEBUG_STORE','0');
Change to
Code: [Select]
define('DEBUG_STORE','1');
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Re: RESOLVED: Store Not Logging Transactions or Sending Emails
« Reply #17 on: »
Is it one item in the shopping cart? Or many?

Usually people purchase only one thing at a time. I haven't tested it with multiple items but if you need me to I will, just let me know. As it stands now, all the tests I've run and that fail have been with a single item, free or otherwise.

Quote
Also create a text file in the root of your forum called store_debug.txt and make it writable

DONE

Quote
Open storeipn2.php
Find
Code: [Select]
define('DEBUG_STORE','0');
Change to
Code: [Select]
define('DEBUG_STORE','1');
[/quote]

DONE

Should I run some tests now?
« Last Edit: January 17, 2023, 12:51:39 pm by Michael Vail »
"We sleep safe in our beds because rough men stand ready in the night to visit violence on those who would do us harm" - George Orwell

Re: RESOLVED: Store Not Logging Transactions or Sending Emails
« Reply #18 on: »
Yes run a test
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Re: RESOLVED: Store Not Logging Transactions or Sending Emails
« Reply #19 on: »
Ok, the latest. Purchases of free items, regardless of their quantity, results in the Admin message being emailed to the Admins. Purchases of items where the buyer pays via Paypal results in a Paypal message to the Admin but no sales Store Admin notice emails. Tried it with a single paid purchase and purchases of multiple items at the same time.

I opened the opened the store_debug.txt file and it's empty with nothing written to it. It's writable with '777' permissions and located in the forum's root directory.  Not sure why nothing is in there.

Sorry, I know this is a pain.
Mike
« Last Edit: September 04, 2023, 02:20:35 pm by Michael Vail »
"We sleep safe in our beds because rough men stand ready in the night to visit violence on those who would do us harm" - George Orwell

Re: RESOLVED: Store Not Logging Transactions or Sending Emails
« Reply #20 on: »
Also, none of the paid transactions are being stored in the transaction history of the store. Only the free transactions are. Neither the customer nor the Admins are receiving the notices of paid purchases and the transaction log doesn't contain a record of any paid purchases. The only record of paid purchases is the Paypal notice sent to the storekeeper and the customer.
"We sleep safe in our beds because rough men stand ready in the night to visit violence on those who would do us harm" - George Orwell

Re: RESOLVED: Store Not Logging Transactions or Sending Emails
« Reply #21 on: »
What happens when you visit site.com/storeipn2.php in browser?

Also, anything in your error log?
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Re: RESOLVED: Store Not Logging Transactions or Sending Emails
« Reply #22 on: »
Here's a link to the storeipn2 on the site: https://www.sonomacountydsa.org/forums/storeipn2.php

All it says on the page is "Error"

The error log of the forum is clean of any store related errors. Just a bunch error from people who can't remember their stupid passwords!

Maybe I should completely remove all the files for the store from my site and reload the package from scratch? As long as doing that doesn't delete my store records and items, I can do that if you think it would help.

Thank you!
« Last Edit: January 19, 2023, 10:40:43 pm by Michael Vail »
"We sleep safe in our beds because rough men stand ready in the night to visit violence on those who would do us harm" - George Orwell

Re: RESOLVED: Store Not Logging Transactions or Sending Emails
« Reply #23 on: »
Ok that is good just says error.
IS IPN enabled in your paypal account and the url pointed to storeipn2.php
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Re: RESOLVED: Store Not Logging Transactions or Sending Emails
« Reply #24 on: »
No one has adjusted our Paypal settings since I set up the store years ago. I have no reason to believe the IPN settings are not as they always have been when things were working correctly.

I went into Paypal and ran an IPN test transaction to our forum link: https://www.sonomacountydsa.org/forums/storeipn2.php and the Paypal system responded with "IPN was sent and the handshake was verified" so it appears the Paypal settings are working and Paypal is communicating with the Store as expected (see attached photo).

It appears the Store software just isn't recording the sales info Paypal is sending to it and the store probably isn't sending email notices because it doesn't know people have made paid purchases.
« Last Edit: January 20, 2023, 04:18:37 pm by Michael Vail »
"We sleep safe in our beds because rough men stand ready in the night to visit violence on those who would do us harm" - George Orwell

Re: RESOLVED: Store Not Logging Transactions or Sending Emails
« Reply #25 on: »
I would revert any changes and grab the storeipn2.php from the zip file and try again to make a purchase and see if it is recorded in the admin side at all.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Re: RESOLVED: Store Not Logging Transactions or Sending Emails
« Reply #26 on: »
On it, I'll update you when I'm done. THANKS!
"We sleep safe in our beds because rough men stand ready in the night to visit violence on those who would do us harm" - George Orwell

Re: RESOLVED: Store Not Logging Transactions or Sending Emails
« Reply #27 on: »
I uninstalled and deleted the entire store package. I deleted all the old files including the storeipn2 and storecoin files from the server after unistalling the package. The only store-related folder I left on the server was the "store" folder that contained the images and whatnot of the items I have listed for sale. I then reinstalled the store using a fresh download of the the latest store install package here on the site under the Store Download topic.

Paid transactions still fail to show in the Store Admin transaction log and only the Paypal Payment received notice is being received by the Admin.

On a side note, I just opened the store_debug.txt file and found it finally captured some data. It's didnt capture anything about my test purchases, including the one I just did tonight, but it did capture data from the sandbox test I ran from Paypal earlier. I've attached the file for your review. I have also attached the Paypal payment received message delivered to the Admin's email account. Interestingly, the test tonight also failed to provide me a payment sent email to my email when I paid for the item. That's new. Previous paypal test payments I sent showed up on yesterday's tests but not today. So bizarre.

Would you mind sending me one of the older store test packages to try and see if something in the current Store package (SMFStore5.0beta1.zip - dated November 29, 2022, 09:39:56 am) is the issue?

Thanks,
Mike
« Last Edit: January 20, 2023, 07:56:35 pm by Michael Vail »
"We sleep safe in our beds because rough men stand ready in the night to visit violence on those who would do us harm" - George Orwell

Re: RESOLVED: Store Not Logging Transactions or Sending Emails
« Reply #28 on: »
EDIT TO MY LAST MESSAGE: I just received the Payment Sent email 2 hours later so at least that's not a new problem! Unreal!
"We sleep safe in our beds because rough men stand ready in the night to visit violence on those who would do us harm" - George Orwell

Re: RESOLVED: Store Not Logging Transactions or Sending Emails
« Reply #29 on: »
Sent email with some older versions of the mod.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

 

Related Topics

  Subject / Started by Replies Last post
5 Replies
12991 Views
Last post September 25, 2007, 07:02:52 pm
by jim
1 Replies
6467 Views
Last post December 18, 2010, 02:53:04 am
by Vincent Volmer
0 Replies
6831 Views
Last post January 22, 2014, 11:26:51 am
by dan4ever
2 Replies
7454 Views
Last post April 13, 2014, 11:12:24 am
by dan4ever
4 Replies
15929 Views
Last post May 08, 2025, 02:04:16 am
by Kiwi

+- Recent Topics

Registration - anti bot pattern matching by SMFHacks
November 01, 2026, 07:20:17 pm

EZPortal 8 by davejo
October 21, 2026, 01:01:54 pm

Downloads Pro 7.0 Released by SMFHacks
October 07, 2026, 07:35:30 pm

[Mod]ActivityPub Federation for SMF 2.1 by SMFHacks
October 01, 2026, 05:03:45 pm

Newsletter Pro 4.0 Released by SMFHacks
September 23, 2026, 08:08:24 pm

Can't remove or restore any item from the recycle bin by SMFHacks
September 22, 2026, 11:01:51 am

MCP Server for SMF 2.1 - let Claude, ChatGPT or Cursor run your admin chores by SMFHacks
September 12, 2026, 02:50:45 pm

Suggestions for improvements to Ultimate Shoutbox & Chatroom by davejo
September 02, 2026, 01:35:09 am

Automatic Sorting of Categories by Kiwi
August 31, 2026, 12:36:09 am

' appears as ' in Most Viewed (and Recent Items ?) by SMFHacks
August 22, 2026, 11:01:56 pm

Powered by EzPortal