Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: Looking on April 04, 2017, 11:27:46 PM

Title: Unknown Paid Subscriptions transaction type
Post by: Looking on April 04, 2017, 11:27:46 PM
Greets. There is no IPN enabled and the Paypal account is business yet when it is time for renewals this Email is sent to Admin: "Unknown Paid Subscriptions transaction type." with no other information. I've checked through many topics here where they voiced the same thing but nothing was clearly resolved. Please, what else could be causing this?
Title: Re: Unknown Paid Subscriptions transaction type
Post by: Sir Osis of Liver on April 04, 2017, 11:35:21 PM
That's a general error, could be any number of things.  Look in your error log, should be an error that includes IPN post data.  Copy it here, or pm to me, will have a look tomorrow.
Title: Re: Unknown Paid Subscriptions transaction type
Post by: Bob Perry of Web Presence Consulting on April 04, 2017, 11:56:29 PM
What version of SMF are you using? also double check your admin subscriptions setup parameters and make everything there is like you want it...

Title: Re: Unknown Paid Subscriptions transaction type
Post by: Looking on April 05, 2017, 10:37:05 AM
Sir Osis of Liver, thanks for your reply. The error logs have nothing related to subscriptions. There was an unrelated error because of the Ad Seller Pro mod but I fixed that.
Title: Re: Unknown Paid Subscriptions transaction type
Post by: Looking on April 05, 2017, 11:50:35 AM
We are checking on a few things, please see this issue as on hold for now. Will update this topic when I have more. Thanks.
Title: Re: Unknown Paid Subscriptions transaction type
Post by: Sir Osis of Liver on April 05, 2017, 12:23:08 PM
You need to be at 2.0.13.  PayPal updated security in their API, which required some changes to Paid Subs.  I believe the changes were included in the 2.0.12 or .13 patch.  If you are receiving the 'Unknown Paid Subscriptions transaction type.' email notification, there should be a corresponding error in your error log.
Title: Re: Unknown Paid Subscriptions transaction type
Post by: Looking on April 05, 2017, 12:44:49 PM
QuoteYou need to be at 2.0.13
Well of course, the site is already updated, however to ensure, which specific file was updated for Paypal's new requirement? subscriptions.php or subscriptions-paypal.php?
Title: Re: Unknown Paid Subscriptions transaction type
Post by: Sir Osis of Liver on April 05, 2017, 12:50:03 PM
Not sure, don't have time to check right now, but iirc there were some changes in Subscriptions-PayPal.php.  You could replace both files from 2.0.13 upgrade package.

Title: Re: Unknown Paid Subscriptions transaction type
Post by: Looking on April 22, 2017, 01:22:29 PM
Greets. I've checked both files and they are the latest versions. I remember bring this up before but the "Pending Payment" issue does not seem to go away even though they have paid and there are no errors.
Title: Re: Unknown Paid Subscriptions transaction type
Post by: Sir Osis of Liver on April 22, 2017, 04:59:31 PM
Could be verification failure.  Upload the attached Subscriptions-PayPal.php, it has some additional error handling that's not in the core code.  Check your error log next time the problem occurs.