Advertisement:

Author Topic: Subscription Payment going to wrong PayPal  (Read 27294 times)

Offline emmanova

  • Semi-Newbie
  • *
  • Posts: 58
Subscription Payment going to wrong PayPal
« on: October 11, 2011, 09:06:20 AM »
Ok I've been searching and cannot find the exact problem I am experiencing. When I started using the Subscription option I started to use my personal email account for paypal. (my personal email). Recently I created a Paypal account for the car club. So I went to Subzription settings and changed the email from my personal to the car club one.

I noticed that people renew or pay for their subscription. I get an email saying I received a payment, minutes later I receive an email:

The following error occurred when processing a paid subscription
 ---------------------------------------------------------------
 Unknown Paid Subscriptions transaction type.

The account doesnt get renew or activated as a subscription. When I go to the car club paypal no payment is there but when I go to my personal the payment is there. I checked the Error Log and I can see the problem but dont know how to fix it. All the information about the payment, subscription, member, etc is correct but I noticed that under business and receiver_email is still pointing to my personal instead of my car club email.

I cannot find anywhere to change this email to the correct one, I think is embedded somewhere in the database.

Online Aleksi "Lex" Kilpinen

  • A Peculiar Finn
  • Lead Support Specialist
  • SMF Super Hero
  • *
  • Posts: 18,293
  • Gender: Male
  • Don't worry, I'm n00b friendly
    • Aleksi.Kilpinen on Facebook
    • LexArma on GitHub
    • aleksi-kilpinen on LinkedIn
    • There's No Place Like 127.0.0.1
Re: Subscription Payment going to wrong PayPal
« Reply #1 on: October 11, 2011, 09:36:38 AM »
If someone does a completely new subscription, does it work correctly?
If someone renews a subscription, do they do it manually or through the paypal recurring payments?
Have you made sure the paypal address for subscriptions is correct in the forum settings, and that the IPN settings are correct on that new paypal account?
A Finnish Support Specialist
 Happily running multiple SMF 2.0 installations.
  Fooling around with an i7 990X @ 3,47Ghz / 12Gb / Win 10 x64 / 3840x2160


How you can help SMF

"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum.
 Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

Offline emmanova

  • Semi-Newbie
  • *
  • Posts: 58
Re: Subscription Payment going to wrong PayPal
« Reply #2 on: October 11, 2011, 10:27:53 AM »
If someone does a completely new subscription, does it work correctly?
If someone renews a subscription, do they do it manually or through the paypal recurring payments?
Have you made sure the paypal address for subscriptions is correct in the forum settings, and that the IPN settings are correct on that new paypal account?

Thanks for the fast reply.

- I haven't tested a new subscription
- The renew is done by the SMF not by the PayPal renewal. Like I mentioned I can see the whole process in the Error log. Meaning the Subscription feature is trying to Auto Renew. But is sending the Payment to the wrong Paypal email account and Im sure is failing because when it tries to confirm the emails dont match.
- Yes I know the PayPal settings are right because I compared them, I went trough every setting since I am started to get this error and the IPN is working because the Donation Add-On works and it requires the IPN to be on.

I think what I need to find is how to change that email address that is embedded somewhere.

Thanks in advance

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 9,019
Re: Subscription Payment going to wrong PayPal
« Reply #3 on: October 11, 2011, 03:23:33 PM »

The Paypal email address does not exist in smf_log_subscribed, which contains the member subscriptions data, or smf_subscriptions, which contains the subscriptions info.  The only place I see it is in smf_settings, and it updates when you change the payment address.

The "unknown transaction type" error occurs when any payment other than a subscription is made to the account.  If IPN is enabled, an IPN is posted to the notification url regardless of the source/purpose, and the subs handler doesn't recognize it and throws the error.

It is not necessary to have IPN enabled for paid subs.  Subscriptions-PayPal.php sends a notify_url to Paypal, which contains the return url to your forum's subscriptions.php, and it overrides IPN settings.  Doesn't matter what they are.

If you are disallowing guests from browsing the forum, subs won't work.  It's a bug, and there's a simple fix posted elsewhere on this board.

Here - http://www.simplemachines.org/community/index.php?topic=454176.0

« Last Edit: October 11, 2011, 03:29:04 PM by Krash. »

Offline emmanova

  • Semi-Newbie
  • *
  • Posts: 58
Re: Subscription Payment going to wrong PayPal
« Reply #4 on: October 11, 2011, 04:26:15 PM »
Thanks Krash but the problem im having is that the payment. Is still going to the wrong paypal account.

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 9,019
Re: Subscription Payment going to wrong PayPal
« Reply #5 on: October 11, 2011, 04:34:15 PM »

Don't see how.  If the Paypal email address is correct in Admin -> Paid Subs -> Settings, then it's correct in the db, and that's where Subscriptions-PayPal.php will send it.  Are you running the PaypalDonations mod?


Offline emmanova

  • Semi-Newbie
  • *
  • Posts: 58
Re: Subscription Payment going to wrong PayPal
« Reply #6 on: October 11, 2011, 04:59:40 PM »
Yes that's why is not making sense to me since there is only one place to change it and I did. I do have a donation addon but that is going to the right account.

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 9,019
Re: Subscription Payment going to wrong PayPal
« Reply #7 on: October 11, 2011, 05:02:24 PM »

What is the donation addon?


Offline emmanova

  • Semi-Newbie
  • *
  • Posts: 58
Re: Subscription Payment going to wrong PayPal
« Reply #8 on: October 11, 2011, 05:12:39 PM »

What is the donation addon?

Is called Treasury

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 9,019
Re: Subscription Payment going to wrong PayPal
« Reply #9 on: October 11, 2011, 05:54:03 PM »

Not familiar with the Treasury mod, but it's likely to be the cause of the problem.  Try uninstalling it and see if subscriptions work properly.

Don't know why you're using an addon for donations - Paypal gives you the code you need to add a donations button, and it doesn't interfere with the forum.


Offline emmanova

  • Semi-Newbie
  • *
  • Posts: 58
Re: Subscription Payment going to wrong PayPal
« Reply #10 on: October 11, 2011, 06:05:58 PM »

Not familiar with the Treasury mod, but it's likely to be the cause of the problem.  Try uninstalling it and see if subscriptions work properly.

Don't know why you're using an addon for donations - Paypal gives you the code you need to add a donations button, and it doesn't interfere with the forum.

I am using treasury because it gives me a record of who paid bt member, also when a member gives a donation their group gets change to donation. I doubt is the mod since that work fine and payments are going to the right place. Also the error log I see in the forum shows the whole subscription transaction but it shows the wrong email.

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 9,019
Re: Subscription Payment going to wrong PayPal
« Reply #11 on: October 11, 2011, 06:09:31 PM »

PM one of the errors (all of it) so I can see what you're getting.


Offline emmanova

  • Semi-Newbie
  • *
  • Posts: 58
Re: Subscription Payment going to wrong PayPal
« Reply #12 on: October 11, 2011, 06:28:28 PM »

PM one of the errors (all of it) so I can see what you're getting.

Im on my phone but when I get home I post the error here. I have to edit some info since it contains sensitive information but it will give you the idea of the problem.

Offline emmanova

  • Semi-Newbie
  • *
  • Posts: 58
Re: Subscription Payment going to wrong PayPal
« Reply #13 on: October 11, 2011, 09:32:41 PM »
Here is the error log I get. Please be aware that I had to edit the email address for security purpose. When I first setup the subscription I used my personal email ******@gmail.com and it was working fine. Then I changed it to ******@xecofl.com in the Subscription settings but as you can see in the Error Log under business and receiver emails it keep saying ******@gmail.com

When I check my gmail paypal account the payment is there instead of the xecofl.com payal account. Why it keep going to my gmail account even after I changed the PayPal email to xecofl.com thats the part that I am getting confuse and dont know how to fix it.

http://xecofl.com/forum/subscriptions.php
Unknown Paid Subscriptions transaction type.
transaction_subject:
payment_date: 06:49:10 Oct 10, 2011 PDT
txn_type: subscr_payment
subscr_id: I-9CDC9XMXJRSC
last_name: "lastnameofmember"
residence_country: US
item_name: Xtreme Membership Subscription
payment_gross: 3.00
mc_currency: USD
business: ******@gmail.com
payment_type: instant
protection_eligibility: Ineligible
verify_sign: A96dKwCYsMA3hCqADuhQGVlvebMhAaneT800e8rHC3JQlGP9tGTszvmq
payer_status: verified
payer_email: ******@yahoo.com
txn_id: 29J944716G911494V
receiver_email: ******@gmail.com
first_name: "Nameofmember"
payer_id: CYL58RNPJB89A
receiver_id: MSM5HNFU7ZJA4
item_number: 1+372
payment_status: Completed
payment_fee: 0.39
mc_fee: 0.39
mc_gross: 3.00
charset: windows-1252
notify_version: 3.4
ipn_track_id: ANvG4rX52vHgdO0OiEeNKg

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 9,019
Re: Subscription Payment going to wrong PayPal
« Reply #14 on: October 11, 2011, 11:27:59 PM »

I need the error header to see where it's coming from.  Would help if you could set up a temporary admin account that I can use to check your settings and look through your error logs.


Offline emmanova

  • Semi-Newbie
  • *
  • Posts: 58
Re: Subscription Payment going to wrong PayPal
« Reply #15 on: October 12, 2011, 12:29:00 AM »

I need the error header to see where it's coming from.  Would help if you could set up a temporary admin account that I can use to check your settings and look through your error logs.

How can I get the error header. Even tho I appreciate a lot your help since I dont see a support team watching this thread. Hope you understand I cannot give you an admin access :)

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 9,019
Re: Subscription Payment going to wrong PayPal
« Reply #16 on: October 12, 2011, 12:33:10 AM »

Header looks like this -

   Guest                                                         October 11, 2011, 07:29:15 AM
   66.211.170.66                                           bcc8da8ab0efdf92d255fb37408d385e
                                                                     Type of error: General 

Offline emmanova

  • Semi-Newbie
  • *
  • Posts: 58
Re: Subscription Payment going to wrong PayPal
« Reply #17 on: October 12, 2011, 08:18:13 AM »
Here:

 Guest
 66.211.170.66   
      10-10-2011, 08:49:26
 39edc8c79f7ea9896b20630b5ee00c30
 Type of error: General

Offline IchBin™

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 11,115
  • Gender: Male
  • I don't speak German.
Re: Subscription Payment going to wrong PayPal
« Reply #18 on: October 12, 2011, 10:21:03 AM »

I need the error header to see where it's coming from.  Would help if you could set up a temporary admin account that I can use to check your settings and look through your error logs.

How can I get the error header. Even tho I appreciate a lot your help since I dont see a support team watching this thread. Hope you understand I cannot give you an admin access :)

I think the problem is that not many people use or understand the subscriptions feature. While the Team may not be posting, you can be sure that team members watch the development boards. I've been tracking this topic to see what comes. krash has posted pretty much everything I would have thought of so... we'll just have to see I guess.

While krash may not be a team member, and I'm not going to suggest you do give him admin, I would like to point out that he's been helping people around here pretty consistently. He's even reported and posted some proposed fixes for a couple of bugs, including one with the subscriptions feature in the last little while.
IchBin™        TinyPortal
Coding Guidelines       

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 9,019
Re: Subscription Payment going to wrong PayPal
« Reply #19 on: October 12, 2011, 02:38:00 PM »

Thanks for that paid kind endorsement.  ;)


Ok, if I understand the problem correctly, this is what we have:

 - In Admin -> Paid Subscriptions -> Settings the 'Paypal email address' is  ******@xecofl.com.
 - When you subscribe, the 'Order' button lands you at the ******@gmail.com account at Paypal.
 - Payment is successful, but subscription fails.

Next thing to do is:

 - Get into phpmyadmin from your cpanel.
 - Load the forum database, and select the smf_settings table.
 - Look for paid_email_to and paypal_email fields.  What are the values?
 - Search the database for ******@gmail.com.  Make sure you search the entire db, not a selected table (click on the db name at top of page).