Wedge

Public area => Bug reports => The Pub => Archived fixes => Topic started by: txcas on March 2nd, 2014, 09:51 PM

Title: Errors on subscriptions
Post by: txcas on March 2nd, 2014, 09:51 PM
I have no idea what the member did.  His donation came in, but errors were generated and he was not added to the donators group.

Code: [Select]
Unknown Paid Subscriptions transaction type.<br />transaction_subject: Donation Subscription<br />payment_date: 12:05:28 Mar 02, 2014 PST<br />txn_type: subscr_payment<br />subscr_id: I-KPAWR9FNG3NY<br />last_name: Doe<br />residence_country: US<br />item_name: Donation Subscription<br />payment_gross: 22.95<br />mc_currency: USD<br />business: email@outlook.com<br />payment_type: instant<br />protection_eligibility: Ineligible<br />verify_sign: AKm94rFJx-alpDEZnLadaH2j.cPLAJhBqc3vswVfbDh2pJtjXcfTlatY<br />payer_status: verified<br />payer_email: email@gmail.com<br />txn_id: 32P728854P4481115<br />receiver_email: email@outlook.com<br />first_name: Matthew<br />payer_id: EGUGLCCF9L6FN<br />receiver_id: HZUKNR94CNZ9L<br />item_number: 2+1162<br />payment_status: Completed<br />payment_fee: 0.97<br />mc_fee: 0.97<br />mc_gross: 22.95<br />charset: windows-1252<br />notify_version: 3.7<br />ipn_track_id: d1066ce8d4a49

Code: [Select]
Unknown Paid Subscriptions transaction type.<br />txn_type: subscr_signup<br />subscr_id: I-KPAWR9FNG3NY<br />last_name: Doe<br />residence_country: US<br />mc_currency: USD<br />item_name: Donation Subscription<br />business: email@outlook.com<br />amount3: 22.95<br />recurring: 1<br />verify_sign: AseQSHSxIvOHmcC4lb4vrei0U0dPAQJ6eCn8GJbDJL1C5jZifsmaIRpY<br />payer_status: verified<br />payer_email: email@gmail.com<br />first_name: Matthew<br />receiver_email: email@outlook.com<br />payer_id: EGUGLCCF9L6FN<br />reattempt: 1<br />item_number: 2+1162<br />subscr_date: 12:05:25 Mar 02, 2014 PST<br />charset: windows-1252<br />notify_version: 3.7<br />period3: 1 Y<br />mc_amount3: 22.95<br />ipn_track_id: d1066ce8d4a49
Title: Re: Errors on subscriptions
Post by: Nao on March 2nd, 2014, 10:49 PM
Are you sure you still have his money in your PayPal account?
Title: Re: Errors on subscriptions
Post by: txcas on March 2nd, 2014, 11:30 PM
Yes I do.  It happened again to another user.
Title: Re: Errors on subscriptions
Post by: Nao on March 3rd, 2014, 11:34 AM
It has yet to happen to me.
You should be having errors in your log if this happened...
Or maybe, look for your Apache log and see what connections are made to your subscriptions.php file.
Title: Re: Errors on subscriptions
Post by: txcas on March 3rd, 2014, 07:18 PM
I think I figured this one out.  If people go directly to PayPal and pay, instead of using the subscriptions link, PayPal's Instant Payment Notification (IPN) sends these messages to the forum.  Someone just paid me for something completely unrelated to subscriptions and the same messaged got logged on the forum.
Title: Re: Errors on subscriptions
Post by: Nao on March 3rd, 2014, 07:47 PM
They need to use your subscription link... Really, they do. Just direct them to their profiles.
That's because Wedge (and SMF) first create a subscription log, then put it in standby until they receive a notification from PayPal. If they receive the notif without having a subscription created in the first place, then Wedge/SMF don't know what to do with it.

It 'could' be fixed, I guess, but I'm not going into that. There's no reason not to use the profile links.
Title: Re: Errors on subscriptions
Post by: txcas on March 3rd, 2014, 08:12 PM
I agree.  I will close this one.