Home › Forums › Tim Parkin
About: Tim Parkin
Sorry, I've not written a description yet. I'll get to it soon!
Topics I'm Subscribed To
Topic | Count | Last Reply |
---|---|---|
s2member as author?
By: Tim Parkin in: Community Forum |
voices: 3 replies: 15 |
|
Error 4020 on Paypal PDT
By: Tim Parkin in: Community Forum |
voices: 3 replies: 19 |
Topics I've Started
Topic | Count | Last Reply |
---|---|---|
s2member as author?
By: Tim Parkin in: Community Forum |
voices: 3 replies: 15 |
|
Error 4020 on Paypal PDT
By: Tim Parkin in: Community Forum |
voices: 3 replies: 19 |
My Latest Replies (From Various Topics)
Author | Replies |
---|---|
Author | Replies |
Posted: Wednesday Jul 25th, 2012 at 5:05 am #20179 | |
|
|
Brilliant :-) I haven’t used these custom roles before and didn’t want to inadvertantly break s2member! |
|
Posted: Wednesday Jul 25th, 2012 at 4:56 am #20176 | |
|
|
no I need to keep the user as an author when they are demoted – i.e. the fact they are an author is completely separate from any subscription stuff.. |
|
Posted: Wednesday Jul 25th, 2012 at 4:53 am #20174 | |
|
|
And what would happen when their subscription ran out? i.e. how would it know to demote to a role that was still had author role capability? |
|
Posted: Wednesday Jul 25th, 2012 at 4:23 am #20170 | |
|
|
The problem then is that everybody would have the author roles (if I use the existing s2member role) or I would have to manage a new role that wouldn’t be included in the promote/demote process. It sounds like it’s not really possible if you want this to work without manually intervening in various steps. Has no-one else had an issue where they want to use different roles for subscribers before? |
|
Posted: Wednesday Jul 25th, 2012 at 3:43 am #20166 | |
|
|
Yes but what happens when their subscription changes? |
|
Posted: Wednesday Jul 25th, 2012 at 2:54 am #20157 | |
|
|
I don’t really care how I make them the author but at the moment I just want to change their role to ‘author’ (either before or after they submit the post via email or through wp-admin) but that would mean removing their subscription role. |
|
Posted: Tuesday Jul 24th, 2012 at 8:16 am #20053 | |
|
|
I’ll try to simplify… I want to list one of my subscribers as an author of a post… how do I do this? |
|
Posted: Friday Jul 13th, 2012 at 6:17 am #19147 | |
|
|
I’ve sent the details already but if you want ftp access you’ll need to send me a public key. For security sake, you can login in to my wordpress and paste the public key into a draft page. All transactions are live.. I have the system working for new transactions now but I have to force people to register an account first and then go through subscription. I thought it was possible to pay for a subscription and then create an account but this is where the 4020 problem is happening. Tim |
|
Posted: Thursday Jul 12th, 2012 at 6:48 pm #19089 | |
|
|
No mod_security on the server (I manage a dedicated). I’ll take another look at the IPN and use a redirect for it. Could you ask if that args packet looks right for a new subscription post vars call? |
|
Posted: Thursday Jul 12th, 2012 at 6:21 pm #19085 | |
|
|
Did I mention that I can’t change the ipn url for older transactions and hence can’t use the central ipn. PDT is fine as the post vars are being verified properly for the normal IPN transactions. I suppose I could add a url handler that redirected to the central IPN script. Have you got any idea whether this looks like a correct packet for the PDT callback
This is the ‘remote’ call that ends up with a 4020 return value. The PDT is fine and the tx is fine… can’t work out why it would fail? |
|
Posted: Thursday Jul 12th, 2012 at 8:40 am #19033 | |
|
|
the S2member stores the domain at the front of the custom field. For older IPN’s from Your Members, the custom field does not contain the domain at the start and hence the server host check fails. Here is an array of txn_type, item_number, custom fields – firstly a current s2member one
and now an older one
or
The central IPN script would require that I change the url on each transaction which I am unable to do. Instead I have rewritten the requests to point at the s2member url and forced a match on server host. I am occasionally getting error messages now that read
alhtough some IPNs with the same txn_type and status are going through. — My concern now is the 4020 codes coming back from paypal when a new subscription is going through. The error suggests POST vars could not be verified but the IPN system is happy verifiying post vars with the same PDT. I’m putting in some more logging and testing again but if you have any experience of new subs going to the ‘grey’ page with the ‘post vars could not be verified’ I would really appreciate some ideas.. |
|
Posted: Wednesday Jul 11th, 2012 at 6:15 pm #18962 | |
|
|
please? |
|
Posted: Wednesday Jul 11th, 2012 at 11:07 am #18928 | |
|
|
Jason? I’m still getting an error when people subscribe (post vars problem) and the error when IPN updates come through (non matching item numbers). As time goes by the amount of manual fixes I’m going to have to make is going up (and not being able to export the whole database for analysis isn’t helping – any ideas on that as well?)
|
|
Posted: Sunday Jul 8th, 2012 at 4:46 pm #18623 | |
|
|
Hi Cristián, My fix was just to skip the paypal[‘custom’] check so it forced a domain (server host) match. However, once this happened the IPN packets were being ignored – I think this is because some of the variables didn’t atch what was expected. I’m thinking that item_numer, item_name and txn_type probably need to be hacked but I’d love to have some feedback before I go ahead and do that. Tim |
|
Posted: Sunday Jul 8th, 2012 at 8:28 am #18611 | |
|
|
Yes I’ve gone through this already. What about the question in the ps i.e. item_number not matching current system expectations? |
|
Posted: Sunday Jul 8th, 2012 at 6:48 am #18601 | |
|
|
Since these posts I have also been debugging some older IPNs… It seems that paypal stores the IPN with the transaction and so some IPNs have been failing (although paypal has stored them as a 200 return code). I’ve since added an apache redirect to get them into the right place but now I have been getting “unable to verify server host” because the old subscription transactions used a different value for the ‘custom’ field (e.g. 14_3_GBP_464_858ba4765e53c712ef672a9570474b1d_D_subscriber_86.31.173.xx_0). How do I make s2member accept these IPNs? I don’t fancy hacking the ‘paypal-return-in.inc.php‘ code but I think I may have to end up hacking
to force a successful match? Any other ideas? p.s. I did hack this line just to check if there were any other issues. Then the server stated it was going to ignore this IPN. I’m presuming this is because the item_number and possibly other fields didn’t match. Does this mean I have to rewrite the packet completely to match a new subscriber profile? If so could you tell me which fields would need fixing?
|
|
Posted: Friday Jul 6th, 2012 at 7:43 am #18464 | |
|
|
the paypal-rtn looks like this
The server check tools runs with all green lights.. |