Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4263
Latest: Cekky
New This Month: 0
New This Week: 0
New Today: 0
Stats
Total Posts: 43455
Total Topics: 7557
Most Online Today: 28
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 34
Total: 34

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

Started by ozzie4x4 « 1 2 » Support

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

+- Recent Topics

[Mod]Tenor Posting Animated Gifs by SMFHacks
August 30, 2024, 04:04:26 pm

List of other errors after installing and trying to use by SMFHacks
August 27, 2024, 02:15:52 pm

Subject Error by SMFHacks
August 27, 2024, 02:15:46 pm

Store Not Logging Transactions or Sending Emails for Paid Items, Free Items Work by SMFHacks
August 27, 2024, 05:26:52 am

Don't Know How to Unhide Previously Hidden Items in Latest SMF Store 5.0 by Michael Vail
August 26, 2024, 11:38:33 pm

Undefined array key "session_var" and Undefined array key "session_id" Errors by SMFHacks
August 26, 2024, 11:10:54 pm

SMF Links Error by yamiacaveman
August 22, 2024, 06:21:53 pm

HTTP Error 500 by SMFHacks
August 20, 2024, 12:28:53 pm

Site upgrade to 2.1 by live627
August 18, 2024, 02:47:33 am

Uninstall issue and new licence no email by landyvlad
August 16, 2024, 08:05:48 am

Powered by EzPortal