Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4273
Latest: PromotionTok
New This Month: 2
New This Week: 0
New Today: 0
Stats
Total Posts: 43635
Total Topics: 7571
Most Online Today: 934
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 178
Total: 178

Author Topic: Store Not Logging Transactions or Sending Emails for Paid Items, Free Items Work  (Read 385 times)

0 Members and 1 Guest are viewing this topic.

Offline Michael Vail

  • SMF Store Customer
  • Jr. Member
  • *****
  • Posts: 73
    • View Profile
    • Sonoma County DSA
As the title says,

My store is not logging any of the paid item transactions in the Store's transaction log. It is also not sending the appropriate sales emails to the buyer and the Store Admin. The Paypal transactions always go through and Paypal still sends their payment email to the Admin as expected. This is how the Admin knows the purchase actually occurred so he can deliver the item.

When using a FREE test item, the transaction gets logged and the storekeeper and client sales emails work correctly. Its just the paid transactions that fail.

This problem began early last year and we worked together to solve it but never did. At that time I was running SMF 2.12 and upgraded to 2.13. We also tried various versions of the Store software, Paypal tests and I even installed an entirely new vanilla SMF test site on the same web server. Even the vanilla SMF test server wouldn't work, The test results were always the same and nothing every resolved it. Here's the link of the thread we used:

https://www.smfhacks.com/index.php/topic,10308.30.html

I was hoping that by being on SMF 2.14 now and installing the newest version of Store 5.0 it would at last take care of it.

Unfortunately not.

I'm hoping you can still help me resolve this. There has to be a solution, probably in the hosting account or Paypal account, but I'm simply lost as to where to look further. I'd really appreciate your help, even if I need to pay you for it.

Warmest Regards,
Mike Vail

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16606
    • View Profile
Hmm very odd. I Just tested on latest SMF and latest SMF Store with paypal sandbox and the transaction worked/processed recorded in store.  I would test a basic item with no extra features and see how that goes.

Make sure you disabled paypal sandbox under payment modules if your site is live.


If not try using a paypal sandbox account. Not the simulator.

Simulator

This is not recommended as it is more difficult. Do type of Web Accept. If doing the simulator it is going to look for a custom variable the baksetid to be passed in the custom variable under advanced. The basket ID is harder to find. Basket it will be found on the checkout page viewing the source.
Custom.
Code: [Select]
<input type="hidden" name="custom" value="3|d72a32d2d9cbbd54d042082b03a97ed2ad20a6b0|" />
I would also copy all the other information to make sure it matches
Code: [Select]

 <input type="hidden" name="amount" value="1" />

 <input type="hidden" name="shipping" value="2" />
 <input type="hidden" name="no_shipping" value="2" />

 <input type="hidden" name="no_note" value="1" />
 <input type="hidden" name="currency_code" value="USD" />


Sandbox
Paypal Sandbox Requires two sandbox accounts https://sandbox.paypal.com/us/home  1 a sandbox business account (this email then needs to be set as the payapl email in store configuration).  2 a sandbox personal account for paying. (https://developer.paypal.com/tools/sandbox/card-testing/) get card numbers from that link



Debugging for transactions is still via editing storeipn2.php file
Find
Code: [Select]
define('DEBUG_STORE','0');
Change to
Code: [Select]
define('DEBUG_STORE','1');

store_debug.txt - needs to be writeable.

You can also set paypal_logs.txt as writable
And change
Code: [Select]
$paypal_debug = false;
To
Code: [Select]
$paypal_debug = true;



fsockopen must be supported in PHP as normally is.
Connections are made via ssl://www.paypal.com or ssl://www.sandbox.paypal.com  to verify transactions



After a transaction is made it should log anything to the store_debug.txt file
« Last Edit: August 27, 2024, 06:58:15 am by SMFHacks »
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
2 Replies
4721 Views
Last post September 14, 2011, 01:42:43 pm
by frustrated
6 Replies
5350 Views
Last post January 21, 2013, 07:39:29 pm
by SMFHacks
sending emails

Started by ozzie4x4 « 1 2 » Support

16 Replies
10863 Views
Last post May 27, 2013, 08:55:02 pm
by SMFHacks
5 Replies
6706 Views
Last post January 15, 2015, 08:11:43 pm
by SMFHacks
4 Replies
457 Views
Last post August 26, 2024, 11:38:33 pm
by Michael Vail

+- Recent Topics

Ability to exclude categories from ezPortal SMF Gallery random image ezblock by SMFHacks
January 16, 2025, 08:31:58 pm

Figuring out settings by SMFHacks
January 12, 2025, 04:56:14 pm

Filesizes incorrect by SMFHacks
January 12, 2025, 02:02:47 pm

December 2024 Sale! by SMFHacks
December 02, 2024, 10:30:38 pm

Denying members some admin settings by rickk
November 17, 2024, 12:02:55 pm

Weird setup by SMFHacks
November 07, 2024, 06:37:41 am

Restoring a deleted photo by Monocero
November 01, 2024, 04:23:56 am

Gallery Pro reinstalation by Lirorobert
October 14, 2024, 01:43:43 am

Move picture from main gallery to user gallery by SMFHacks
October 11, 2024, 09:11:00 pm

quoting part of message by Lirorobert
October 04, 2024, 03:21:40 pm

Powered by EzPortal