News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Paid Subscriptions

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

Previous topic - Next topic

spottedhog

Dainis,

You will need to create a membergroup and forum board, and assign the forum board permissions for access only by that membergroup.

Once you set up a payment system, you activate it, and in the User Profile, near the bottom of the left side, Subscription or something like that will pop up. 

What I have done is installed the User Control Panel Mod and create a new link within it, including a big dollar sign graphic.  If you use this method, your instructions could go under the Dollar Sign in the USER CP, but you may also need to leave a news item or something.....

Dainis

I created a category called "Charter Member Area." I also added a board within that category  for the paid info. I created a membergroup called "Charter Members."

I don't know what to do from here.

spottedhog

Next you need to go into the admin of Paid Subscriptions and set up the paid area, including Activating it.

tam2oo5

What ive done is installed it , and set it so that when a user pays a subscription they are changed to a donated member. Which ive created in member groups, but everytime i make a subscription the user is not being changed into the donated member group. Any idea why?

spottedhog

is the PayPal IPN in the proper location?  like in subs directory I think.....  Is PayPal getting the money?

Make sure you test it with PayPal Sandbox first.

tam2oo5

Ipn file is in the correct directory, paypal are getting the money. Just like there is no talk back, if i do it manually it works. Ie if i go into someones account and select a donation for them and fill it in,  there group is changed. I never tested it using sandbox method? , would that make a difference?

Dainis

QuoteNext you need to go into the admin of Paid Subscriptions and set up the paid area, including Activating it.

--went to Paid Subscriptions | Settings Here are my settings:

Enable Paid Subscriptions:
checked
Email for Correspondence:
filled in
Send Notification Emails:
Chose "Do not send any notifications"
Paypal email address:
filled in
WorldPay Install ID:
left blank   
WorldPay Callback Password:
left blank   
Authorize.net Install ID:
left blank   
Authorize.Net Transaction ID:    
left blank   
2co.com Install ID:
left blank   
2co.com Secret Word:
left blank   
Nochex email address:
left blank   
Select Currency:    
Currency Code:
USD ($)
Enable test mode:
left blank

I've already paid myself through PayPal twice. I click on the buy now button, pay, and nothing happens in the forum.

a) Do I need to do anything else in my SMF configuration?
b) What's the user procedure?

For example, do users already need to be members, and then they pay, and then they get access to a specific board/category?

I've already set up a Category with a board in it that only "Charter Members" have access to, but I don't know how to get the paid subscriptions people into "Charter Members"  ::).

In short, what procedure am I supposed to follow to set things up from here, and what procedure are my visitors supposed to follow?

Best,
Dainis


FrailWords

First thing, I'd like to thank you for the development of this package.  Was considering purchasing aMemberPro, which would have set me back over $100 to handle this, and I believe that your mod is going to handle what I need it to.  So I really appreciate it.

Anyway, I got a couple of errors tonight that I'm wondering if you could enlighten me on.  The mod e-mailed me this (actually, there were two of them, three minutes apart):

QuoteAn error occured whilst attempting to do a paid subscription. The error is shown below:
---------------------------------------------
Unknown transaction type in ipn.php

When I go and check the forum error log, I get:

QuoteGuest  Today at 01:16:36 AM
IP address 66.xxx.xxx.66   bbaf3517dd73660c47f37e44e6b7024e
URL hxxp:xxx.xxxxxxxxx.com/index.php [nonactive]
Unknown transaction type in ipn.php

The way I have my forum set up (this is actually a sub-domain of my main forum, but is a paid section), a user registers and gets assigned to a special membergroup called "Restricted - Not Paid".  The only thing that user group can do is now see a banner (it's the only membergroup that CAN see the banner) asking them to sign up.  Clicking on this takes them to the signup page and everything continues as planned.

I have been using the mod for about a week and haven't had a problem one that I haven't been able to iron out.  In fact, from start to finish, it was pretty simple and didn't have too many wrinkles.  So congratulations on that.

So what do you think caused the error?  What puzzles me is that it's showing it as a guest, but a guest can't even get to the signup page.

I did have one thought: my PayPal account is fairly active, and I use it for a number of things other than the forum.  Since I have turned on my IPN, does that mean that every single transaction that comes through on it, even if it didn't originate from my forum, shoots something to the forum, thus causing an error, and if so, is there anyway to filter that on the PayPal side?  Just wondering since this is the first time I've used IPN.

Thanks in advance for the help.

As Always,
Frail

digit

#548
A member just suggested a new feature for this mod...

GIFT subscriptions...  the ability for members to pay for others paid subscriptions.  Personally, I think it's a great idea, and could use it right away :)

I have had this mod installed for quite some time and it IS AWESOME.  I am sorry to hear some people are having troubles installing it!   I wish I could help, but I am not an expert php programmer....  yet.

If you need guinea pig for this idea, I am waiting for your email lol lol lol

THANKS for a GREAT mod.

digit.
Happily using a heavily modified 1.1.16 version of SMF!

2748011 Posts in 320998 Topics by 50986 Members


SOLD my website - thanks it was a good run - they converted to vbadvanced. (and screwed it up good!)

C_Chaplin

Hey Dainis,

I've been following this thread like an old Sherlock Holmes novel, and you did a great job of leaving us with a cliff-hanger :o

So tell me, how does it end?
Have you figured out #16 yet?

Don't hold out on us now ;)

C Chaplin

ps - You've also done a great job of chronicling your steps. Thanks!

drhamad

OK, I'm an idiot, so somebody please tell me... what's the difference between the files with .16 in them, and the .16DE ones.  Which is the correct one to be implementing?
FMVperformance:  3.51m posts, 63k members, 11 boards, 1 database

Mazda3Forums - SmallVolvos - MazdaSpeeders Mazda Club - FordFusionClubMazda CX-7 Club - MyMazda6
Now introducing: MKSdrivers.com - FocusDrivers - TaurusDrivers

Tanks

Quote from: Grudge on August 13, 2006, 06:13:38 PM
MrCue,

Yes - that makes much sense.

digit,

Bugger - that whole operation *should* be ignored. I wonder whether it was a bug fixed in RC3? You can hit continue if that's the only problem - that file is only there to let it install on the development edition (i.e. SMF after 1.1)



DE =Developer Edition (SMF 1.1 at that time)

cashclubinc

I can't find any reference to this issue here.

In the db table smf_log_subscribed, the vendor_ref field is blank on all except 4 early records (not the first). There seems to be no way to link a payment with a PP id.

I have been running this mod for months and it seems to work fine (PP only) except for this, and I don't think any reminders are ever sent.

Anyone solved this?

WebWorm

#553
grudge, thank you for a great mod - this has worked flawlessly for me from install, and has saved me tons of headache and manual work.

I have a question, maybe someone can answer this - is there any way to include a "Comments" field on the PP screen through this mod, or is this something that has to be done on the PayPal end? In Profile, under the "Payment Receiving Preferences" I have this:

Display "Add Instructions to Seller" text input field:
X  Yes
      No

With the "Yes" selected, but there no such text input field appears to those paying for subscriptions.

drhamad

#554
There's somewhere we need to put our e-mail in, right?  Where?  I can't find it...'

Also, I couldn't find this in $sourcedir/Admin.php


<search for>
if (allowedTo('manage_bans'))
$context['admin_areas']['members']['areas']['ban'] = array($txt['ban_title'], 'ManageBans.php', 'Ban');
</search for>

FMVperformance:  3.51m posts, 63k members, 11 boards, 1 database

Mazda3Forums - SmallVolvos - MazdaSpeeders Mazda Club - FordFusionClubMazda CX-7 Club - MyMazda6
Now introducing: MKSdrivers.com - FocusDrivers - TaurusDrivers

drhamad

Dammit, now I have real problems... shoulda just left it on 0.16 ;)
This happens when you click on Paid Subs in your profile:
Quote

Fatal error: Call to undefined function: () in /home/mazda3/public_html/Sources/Profile.php on line 2947

2947 is the $request line:


        // Load all subscriptions
        $request = $smfFunc['db_query']('', "
                SELECT id_subscribe, name, description, cost, length, active, repeatable
                FROM {$db_prefix}subscriptions", __FILE__, __LINE__);
        $context['subscriptions'] = array();
        while ($row = $smfFunc['db_fetch_assoc']($request))



Ideas please?
FMVperformance:  3.51m posts, 63k members, 11 boards, 1 database

Mazda3Forums - SmallVolvos - MazdaSpeeders Mazda Club - FordFusionClubMazda CX-7 Club - MyMazda6
Now introducing: MKSdrivers.com - FocusDrivers - TaurusDrivers

meadwench

Huh. I installed 0.18, set up my Paypal account and my email address, created a subscription and everything worked out of the box. I've had no problems with it.
Vicky Rowe
Health and Weight Loss Coach
http://www.hcgloss.com
SMF 2.0 RC3, Joomla 1.5.8

meadwench

What I do get is an error that is generated as follows:

Many of my subscribers use a different email for Paypal from what they use in the forum, and because of that, when they subscribe, the following error is created in about 60% of the subscriptions I get:
==================
An error occured whilst attempting to do a paid subscription. The error is shown below:
---------------------------------------------
Paid subscription handler could not find subscription for member ID: 1, subscription ID: 575
==================

Could a modification be made that allows for them to have that separate Paypal email address?
Vicky Rowe
Health and Weight Loss Coach
http://www.hcgloss.com
SMF 2.0 RC3, Joomla 1.5.8

drhamad

Quote from: meadwench on August 14, 2007, 01:18:33 PM
What I do get is an error that is generated as follows:

Many of my subscribers use a different email for Paypal from what they use in the forum, and because of that, when they subscribe, the following error is created in about 60% of the subscriptions I get:
==================
An error occured whilst attempting to do a paid subscription. The error is shown below:
---------------------------------------------
Paid subscription handler could not find subscription for member ID: 1, subscription ID: 575
==================

Could a modification be made that allows for them to have that separate Paypal email address?

I'm fairly certain that isn't your issue... I'm pretty sur ethey don't have to use the same e-mail address... but someone correct me if I'm wrong.
FMVperformance:  3.51m posts, 63k members, 11 boards, 1 database

Mazda3Forums - SmallVolvos - MazdaSpeeders Mazda Club - FordFusionClubMazda CX-7 Club - MyMazda6
Now introducing: MKSdrivers.com - FocusDrivers - TaurusDrivers

drhamad

Quote from: drhamad on August 14, 2007, 01:14:22 PM
Dammit, now I have real problems... shoulda just left it on 0.16 ;)
This happens when you click on Paid Subs in your profile:
Quote

Fatal error: Call to undefined function: () in /home/mazda3/public_html/Sources/Profile.php on line 2947

2947 is the $request line:


        // Load all subscriptions
        $request = $smfFunc['db_query']('', "
                SELECT id_subscribe, name, description, cost, length, active, repeatable
                FROM {$db_prefix}subscriptions", __FILE__, __LINE__);
        $context['subscriptions'] = array();
        while ($row = $smfFunc['db_fetch_assoc']($request))



Ideas please?

Quote from: meadwench on August 14, 2007, 01:17:01 PM
Huh. I installed 0.18, set up my Paypal account and my email address, created a subscription and everything worked out of the box. I've had no problems with it.

Could you tell me what else is around the edits to Admin.php?  I have code missing there, I believe, and perhaps that's the error... though I doubt it.
FMVperformance:  3.51m posts, 63k members, 11 boards, 1 database

Mazda3Forums - SmallVolvos - MazdaSpeeders Mazda Club - FordFusionClubMazda CX-7 Club - MyMazda6
Now introducing: MKSdrivers.com - FocusDrivers - TaurusDrivers

Advertisement: