Paid Subscriptions

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

Previous topic - Next topic

adrianclerical

Can anyone confirm that this mod is now safe to use as in I'm pretty much a novice with software although I've had my forum up and running for nearly 2 years without too many problems. I'm currently using SMF 1.1.2 plus Ad-Management mod 2.3 with Admin Notepad 1.0.
Also, can this mod deal with manually entered subscription receipts (I don't use PayPal after too many problems with them). Thanks

RebelRose

I have it working on my site with no problems, as far as I know you can manually edit the receipts

adrianclerical

Thanks Rose - much appreciated

Soulgirl

I too have it working...

3mrhythm

Quote from: 3mrhythm on May 04, 2007, 04:11:06 PM
i have a question..

i have a group called ASM (annual supporting members)  and i just spear headed  my asm mafia .. basically a group within the  asm group to help police the forum and such.. without extra privies  just that they are kinda there to mediate.. but i want to have a special logo for them  different from the asm logo that i have now.


I have setup a seperate membergroup "asm mafia"

so when a member is inducted into the mafia i put thier name in that member group and make that group thier primary group. However i want thier paid subscription to still end  a year from when they started and  if they are in this new group (based off of the asm group) its not a paid subscription.. is there a way to link the new group to the  original asm group so that when thier asm subscription is up or not renewed that it will bump them from the asm mafia group as well?

thanks.. hope that makes sense


what i did.. lol to fix this ..


i deleted all my subscribers then made a new subscription that added them to both member groups then i put the asm regular as the primary and put the asm mafia as a secondary hidden.. then when i want to switch them to the mafia i just make them mafia primary
www.nhfragswap.com
www.yariscentral.com

jay.jarri

Hello there

Is it possible we could modify the codes  a bit to have the following features?

1. Payment at registration
2. Different Packages (monthly, quaterly, six-month and year)
3. Paypal payment fully integrated through ipn

I already have "paid-subscription" mod installed on my computer and it works brilliant... The same features at the registration will do my requirement.

Jarri

BCTech

I have read through this entire thread and didn't find the answer to this question. Nonetheless I apologize if it's already been answered or is just blindingly obvious. ;)

I simply wanted to make sure that - as is my understanding - when a user subscribes to a group, when their subscription ends they will be moved back to their old group, not just "member". In other words if I have created a custom group "Helper" and assigned it as a primary group for a user, then that user subscribes to a group called "Registered" for 1 month and this is done for their primary member group, when their subscription expires do they go back to being "Helper" as primary group? And while they are subscribed do they maintain "Helper" status through the use of additional groups, or is the status of the primary group lost for subscriptions that rely on this? I know Administrators are supposed to be able to subscribe and not lose their status, ut does this apply to everyone?

Thanks.

Oshyan Greene
Technical Coordinator
Bauman College

Tanks

#467
Hmm i installed this mod and here are some questions

I dint get any email from my forum about the payment
The user is not transfered into the usergroup and he is not even pending
Its like nothing happended

But i do get email from paypal and i have to find that user and add him manually into the right subscription.

Does this have something to do with recurring payment ?

I'm pretty sure i got the ipn thing right.. so what can cause this ??

Any help would be appreciated

Edit: Okey it did had something to do with recurring payments.. if the user unchecks this box the payment will go thru on the forum.. but the end date is wrong and the status is pending..

Quote from: Stumpy on February 17, 2007, 10:01:10 PM
Possible fix (at least for me) on the expiration date issue.  Note that I have not tried this yet, but if someone knows more about php than me and can tell me if I'm on the right track, I'd appreciate it.

In about line 800 of ManagePaid.php, Grudge sets $duration (for a year) as 31556926, which appears to be pretty close to the number of seconds in a year.

In line 920 for a simple subscription addition, he's got "$endTime = time() + $duration;"

At least in my very simple testing, which involved printing the current time and then attempting to add seconds to it, I kept getting errors when I tried to print "time() + $duration;" 

After playing around a bit, I was able to get it to do it by setting $endTime = time(), then setting $duration = 31556926, and finally setting $endTime += $duration. 

Since the time equivalent of 31556926 is somewhere around January 1, 1971, it appears that that's the number that was getting entered AS the endTime, rather than incrementing the endTime.

Again, I'm a complete NOOB at PHP and Grudge appears to be a monster, so this might be totally wrong or it might have something to do with the version of PHP one is using....and I'm so new at this that I don't even know how to tell you what version I'm on.


Will this do the trick ? Did somebody actually test this solution ?

Ryan

#468
Hi tanks, its cool bro your right this pending issue with the date backdated to the 1970's happens to allot of people but in earlier versions this actually did do the dates correct but something went wrong, i dunno if it was that i upgraded php version that this made a difference but this would explain why this happens for some people and not others...
Grudge has issues getting this problem to happen to him to actually fix it i believe.

Lets hope that stuff you have looked into may give grudge a lil head start to finding a fix for this issue, as im sure this is the 1 major problem that has casued so much bad feedback for this mod.

But this def sounds like a php version glitch all i know is i am using the latest php 5 rc version
And this mod really is the best mod on SMF by far even with the problems i get i still love it.
Just having to manualy change all subscription heh.

Tanks

Is it possible to make the Recurring Payments unchecked by default ??

Is it possible to turn it off and remove it so user can not select this ??... it messes up the whole thing when users make it a Recurring payment !

RebelRose

Quote from: RebelRose on May 02, 2007, 12:38:45 PM
Quote from: RebelRose on April 21, 2007, 07:29:12 PM
Can the layout be modified, if so what template would I modify?

I would really like to know if the layout can be modified and if so what template would I need to edit for modifications.


Anyone have any ideas on this, please, anyone?

Bigguy

What layout are you talking about that you want to modify.

Tramposch

#472
ok, its working. but i dont see merchant tools to set up the ipn thing.
Visit my website!

RebelRose

Quote from: Bigguy on May 11, 2007, 11:34:05 AM
What layout are you talking about that you want to modify.

The way it looks, the layout of the display. If you click on it the way it looks when viewing the subscriptions.

jay.jarri

Quote from: jay.jarri on May 07, 2007, 04:01:07 AM
Hello there

Is it possible we could modify the codes  a bit to have the following features?

1. Payment at registration
2. Different Packages (monthly, quaterly, six-month and year)
3. Paypal payment fully integrated through ipn

I already have "paid-subscription" mod installed on my computer and it works brilliant... The same features at the registration will do my requirement.

Jarri

Can somebody please help

rolo

Sorry, I have installed this mod but I can´t find where in the admin section can I see it...

Please help...

Thanks

wilsy

Hi all,

I have this up and seems to be running fine if I use USD as the currency. The problem I have is that I cant select GBP from the dropdown menu and get it to work. Once selected and saved, I go into view subscriptions in the admin and I get the message: -

An Error Has Occurred!
You have not setup your currency yet. Please do so from the settings menu before continuing 

I think that the issue may be in the drop down currency selector, see attached image - it shows: -

USD ($)
GBP (?)
EURO (?)

...using question marks instead of the currency symbols?

Can anyone help, if I can solve this then I'm up and running ;)

Regards,

Wilsy.



Busy RewindBikers offered to Good Home! 1000+ members, loads of mods, SMF Gallery PRO, TinyPortal installed with great use of blocks, ultimate profiles, PAID SUBSCRIPTIONS (works flawlessly), great theme, 1,500 posts per month - PM or email me if interested.

katoona

#477
To fix the 1970 issue you just replace one of the existing currencies with your own. If you are trying to use another currency then the problem occurs.

You only need to change the currency code in the language files. For instance - change all sentences that uses GPB with ex. NOK (norwegian kroners) and all £ symbols with ex. Kr. (norwegian symbol for kroners).

Then it will work perfectly and the 1970 issue goes away.

wilsy




Busy RewindBikers offered to Good Home! 1000+ members, loads of mods, SMF Gallery PRO, TinyPortal installed with great use of blocks, ultimate profiles, PAID SUBSCRIPTIONS (works flawlessly), great theme, 1,500 posts per month - PM or email me if interested.

judex001

Hi!

Thanks Grudge for this great mod

I have a problem with this mod.
I have the smf forum integrated with joomla via the bridge so when i change the language in joomla, it change also on the forum.
The two languages available are french and english. I use Joomfish.
I have no problem with english but in french the link "paid subscriptiosn" disappears.
I try to edit the file Modifications.french-utf8.php and add and translate the following :

Quote<?php
// Version: 1.1; Modifications

// Paid Subscriptions Mod
$txt['paid_subscriptions'] = 'Paid Subscriptions';
$txt['subscriptions'] = 'Subscriptions';
$txt['subscription'] = 'Subscription';
$txt['paid_subs_desc'] = 'Below is a list of all the subscriptions which are available on this forum.';
$txt['paid_subs_none'] = 'There are currently no paid subscriptions available!';

$txt['paid_current'] = 'Existing Subscriptions';

// Some errors.
$txt['paypal_could_not_connect'] = 'Could not connect to paypal server';
$txt['paypal_unverified_subject'] = 'Unverified Paypal Transaction';
$txt['paypal_unverified_body'] = 'A user attempted to add a paid subscription to your forum, but the transaction was unverified.';
$txt['paid_sub_not_active'] = 'That subscription is not taking any new users!';
$txt['paid_disabled'] = 'Paid subscriptions are currently disabled!';
$txt['worldpay_password_wrong'] = 'Payment ignored as WorldPay password is incorrect - please ensure you have the correct callback password set.';
$txt['2co_password_wrong'] = 'Payment ignored as hxxp:2co.com [nonactive] secret word is incorrect - please ensure you have the correct secret word and hxxp:2co.com [nonactive] ID set.';
$txt['paid_unknown_transaction_type'] = 'Unknown transaction type in ipn.php';
$txt['paid_missing_transaction_type'] = 'Cannot find transaction file %s.php';
$txt['paid_empty_member'] = 'Paid subscription handler could not recover member ID';
$txt['paid_could_not_find_member'] = 'Paid subscription handler could not find member with ID: %d';
$txt['paid_count_not_find_subscription'] = 'Paid subscription handler could not find subscription for member ID: %1$s, subscription ID: %2$s';
$txt['nochex_could_not_connect'] = 'Could not connect to nochex server';
$txt['nochex_unauthorised_subject'] = 'Unauthorised nochex Transaction';
$txt['nochex_unauthorised_body'] = 'A user attempted to add a paid subscription to your forum, but the transaction was rejected.';
?>

But that didn t work - I try also with a file named simply Modifications.french.php but it didn't work neither.

Anyone have a idea on what's going on ?

Thanks in advance.

Advertisement: