News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Paid Subscriptions

Started by Grudge, August 12, 2006, 06:09:49 AM

Previous topic - Next topic

Tony Reid

yes usually www.yoursite.com/forum/subs/ipn.php or something similar.

It tells you the correct url in the admin area >paid subscriptions > Settings
Tony Reid

5cakids

Yeah its all right not sure what I did wrong.

allotments4all

The 1970's problem,

I had this problem, and it was an error in the subs/ipn.php file, I have attached a version of the file which works for me, a diff of the fixed and original files shows these differences,

< if ((isset($_POST['txn_type']) || isset($_POST['payment_status'])) && !empty($modSettings['paypal_email']) && ((isset($_POST['business']) && $modSettings['paypal_email'] == $_POST['business']) || (isset($_POST['receiver_email']) && $modSettings['paypal_email'] == $_POST['receiver_email'])))
---
> if (!empty($modSettings['paypal_email']) && (isset($_POST['txn_type']) || isset($_POST['payment_status'])) && ((isset($_POST['business']) && $modSettings['paypal_email'] == $_POST['business']) || (isset($_POST['receiver_email'])) && $modSettings['paypal_email'] == $_POST['receiver_email'])))
154c154
<               if ($foundDuration !== 0)
---
>               if ($foundDuration != 0)
242c242
< ?>
---
> ?>


It looks like the file has been fixed in the latest version of the mod.

Hope this helps someone,

Dan

weblady

Dan,
I tried your fix... but it's not working... now I'm not getting any notifications in the forum about payment (just getting the email from pay pal).

Thanks for the try tho!

Using the latest mod - .18 ... using smf 1.1.3 with TP latest version as well... on a custom theme (scribbles 1 - latest version) ...

Was getting that same issue as mentioned by others ... the 1970's date issue as well as "pending" altho payment went thru and cleared (according to pay pal).

Don't know much about php coding and all... anyone find a good fix for this other than Dan's try??
http://www.ladiesplace.net/community [nofollow]
---the Ladies Place on the Net --- Stop by, the coffee's always on!

allotments4all

Sorry!

I to use 1.1.3, TP and other bits.

How very strange.

Dan

weblady

#505
Quote from: allotments4all on June 29, 2007, 08:05:55 AM
Sorry!

I to use 1.1.3, TP and other bits.

How very strange.

Dan

it's ok... I TOTALLY appreciate the try... was really hoping this would fix it!&nbsp; Now just gotta go back in and upload the original file and see where to go from there (at least I get the notification that they subbed and can edit manually the date to end and what not).

Someone else had said that they had found a fix at one point that was really simple, like a missing & sign somewhere or something.&nbsp; Of course I wish this was easier...LOL... I sooo want this to work!&nbsp; I see that the TP site has this running (or something like it perhaps)... so I KNOW it can be done... I too will eventually learn php coding!&nbsp; LOL!
http://www.ladiesplace.net/community [nofollow]
---the Ladies Place on the Net --- Stop by, the coffee's always on!

weblady

#506
OK... if you didn't notice yet, I don't know a whole lot here... one question and maybe this is stupid.. but...

Looking at the ipn file... I don't see any refrence to send the information back to paypal... I DO see the information in the paypal.php file.

How does the paypal.php get set into action?  I don't see any refrences to set it into action from the ipn file... so just wondering if pay pal is actually getting the ipn info sent back to them.

When I first installed this, I had the whole date and pending payment status issue... I attempted replacing the ipn.php file... and next thing is I am getting NOTHING (just an email from pay pal, nothing adds or changes in smf).  Strange, cuz it looks like this ipn.php file is same as Grudge's... I've tried replacing it, no luck... I've tried uninstalling, deleting, reinstalling... and NOW I am having that previously mentioned error about the profiles (if I leave it as "uninstalled" it still shows up... can purchase from profile... receive email from paypal... but no updates to smf)...

Anyone?  Suggestions?  I'm going to look into the version of php I have running... using godaddy if that helps until I get an answer on that one.
http://www.ladiesplace.net/community [nofollow]
---the Ladies Place on the Net --- Stop by, the coffee's always on!

weblady

If this helps:

PHP Version: 4.3.11
Database: MySQL 4.0.27

but for now I'm giving up on this... and going to try zen cart and just update users manually one they've made a purchase
http://www.ladiesplace.net/community [nofollow]
---the Ladies Place on the Net --- Stop by, the coffee's always on!

Joshsux

is there another mod like this one? this ones obviously full of bugs, still in beta "no idea why he would release it or why it would get approved in that case" but meh, i don't wanna kill my site, and i also don't wish to go through all 26 pages here just to get it working.

is it easy? can somebody right up a LITTLE instructions on how to get EVERYTHING here working?! won't just help me, but would help all the other people out there who have told me they won't worry about this mod since it's confusing, but i really need one like this.
If you can't hear it before you see it, then it ain't a harley

meadwench

Well, I've read the whole thread, and have a couple of (prolly) stupid questions:

- What link do you use to ask people to subscribe? I have a subscription box on my main site, and would like to direct people there, rather than only have it in the profile of each user.

- Is is supposed to automatically pick up those *already* in the paid group, or must they be added manually?

- Does the mod automatically created repeating subscriptions, or is there a box for that somewhere? Just making sure, I didn't see anything and wasn't sure.

I've got it installed on my 1.1.2 forum, and it installed cleanly, all forms came up and the tables have been created. I'm just fine tuning now.

Great mod, Grudge!!!!
Vicky Rowe
Health and Weight Loss Coach
http://www.hcgloss.com
SMF 2.0 RC3, Joomla 1.5.8

meadwench

OK, answering my own post (and a couple more questions)

- I am manually entering my current subs
- The link used to post for your subscriptions can be found by copying the link in the profile, taking out the user data, and using that.

OK, questions:

- How do I figure out start and remaining time for existing subscribers that I am adding manually? I see the time on my latest subscriber expressed as:
startTime: 1170644100   endTime: 1202180100

I realize that this is expressed as seconds or something, but don't know how to do it for subs that began last October, or in April. What is the base number that is being used?
Vicky Rowe
Health and Weight Loss Coach
http://www.hcgloss.com
SMF 2.0 RC3, Joomla 1.5.8

deycha

#511
Hello, please help urgently!
I installed this mod without problems but i don't see link to it anywhere in my administrator board. I saw that people were having same problems, but i don't see if they managed to resolve it. Can anybody please tell me what should i do? Thanks
P.S. i am using SMF 1.1.2 with 0.18 subscriptions.

meadwench

If you're not using the default template, it won't show up, you have to add the code manually.
Vicky Rowe
Health and Weight Loss Coach
http://www.hcgloss.com
SMF 2.0 RC3, Joomla 1.5.8

deycha

i am using the default template(SMF default template - core) and i don't see it yet. But i plan on changing the template so can you tell me where can i find that code? Or can you tell me the url that it leads you to when you click on subscriptions in your administrator panel, i guess if the mod is installed then all i need is the url? Thank you.

meadwench

If you're using the default template, it will be under the Members section of the main Admin menu.

If it doesn't show up, I would uninstall and then re-install the mod, because it shows up automatically.
Vicky Rowe
Health and Weight Loss Coach
http://www.hcgloss.com
SMF 2.0 RC3, Joomla 1.5.8

meadwench

If you're using the default template, it will be under the Members section of the main Admin menu.

If it doesn't show up, I would uninstall and then re-install the mod, because it shows up automatically.
Vicky Rowe
Health and Weight Loss Coach
http://www.hcgloss.com
SMF 2.0 RC3, Joomla 1.5.8

tam2oo5

OK heres a problem i have, after installing this on SMF 1.1.3 , Paid subscription V.1.8 , all went flawlessly. Filled in the IPN part in paypal with the correct directory ( one i obtained in the settings menu). Yet when anyone sends a one off or reocurring it still wont work? , Any idea's?

deycha

#517
2 tam2oo5
Well check this http://custom.simplemachines.org/mods/index.php?mod=413 , i don't see version 1.1.3 supported anywhere. So i believe you will have to downgrade your forum to 1.1.2.

2meadwench
ok, i will try that now...


EDIT: No, still nothing.... check this out, it is strange, this is the way when it is unistalled:
hxxp:imageshack.us [nonactive]
Shot at 2007-07-11

And this is how it looks when it is installed:
hxxp:imageshack.us [nonactive]
Shot at 2007-07-11
You see, like there is space for it, but it doesn't show up.... When you click on it in your cpanel, what link does it shows up? i mean in format like hxxp:yoursite.com/blahblah/123 [nonactive] ? Can you tell me that?

tam2oo5

Downgraded to 1.1.2 , still the same issue. I see all the menu's and can create subscription's. Just we have no talk back from paypal ! >:(, Anyone else got a solution to this?.

jaeca

So i guess there is no fix for version 1.3 yet?

Or could we manually add that link in there between the sections? Or else where?

Advertisement: