Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4267
Latest: ramiroelliot
New This Month: 2
New This Week: 0
New Today: 0
Stats
Total Posts: 43538
Total Topics: 7565
Most Online Today: 40
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 38
Total: 38

Author Topic: Store Not Logging Transactions or Sending Emails for Paid Items, Free Items Work  (Read 304 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: 16561
    • 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
4575 Views
Last post September 14, 2011, 01:42:43 pm
by frustrated
6 Replies
5302 Views
Last post January 21, 2013, 07:39:29 pm
by SMFHacks
sending emails

Started by ozzie4x4 « 1 2 » Support

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

+- Recent Topics

Gallery Pro reinstalation by Lirorobert
October 06, 2024, 04:16:25 pm

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

Does SMF Gallery support by SMFHacks
October 02, 2024, 06:14:26 am

Restoring a deleted photo by Monocero
September 28, 2024, 04:12:20 am

Item count on Gallery Tab shows double by SMFHacks
September 26, 2024, 12:59:20 pm

Forum post missing when image over 4000x pixels is uploaded to gallery by Michel68
September 24, 2024, 01:37:17 pm

Setting a photo as invisible by Monocero
September 17, 2024, 02:11:56 pm

Two gallery names by SMFHacks
September 15, 2024, 02:17:49 pm

Bar during the regeneration of miniatures by Monocero
September 15, 2024, 12:35:08 pm

Error on upgrade by SMFHacks
September 14, 2024, 09:54:07 pm

Powered by EzPortal