vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Reoccurring Paypal Subscriptions (https://vborg.vbsupport.ru/showthread.php?t=64834)

Doug Quance 09-01-2004 09:09 PM

I just discovered the problem only occurs when I select "reoccuring" in the ACP. If I uncheck it, it works fine...

Any ideas?

Yahhoon23 09-03-2004 05:39 AM

Just a quick question, maybe I could get an answer here.

I have it set for recurring subscriptions etc etc but one problem.

Whenever someone subscribes to my website, it gives them the option to provide a shipping address or not provide one. Well I want to make it where they have no option and it automatically provides the shipping address for me.

I have a Paypal donation button added on my website that auto-provides the shipping address but when you actually subscribe through the website and not the donation button you have the option to pick shipping address or no shipping address.

Any feedback would be great.

AidanII 09-04-2004 12:43 PM

I've been taking a quick look at the code for one or two purposes of my own...

Would it not make more sense to change

PHP Code:

if ($_POST['txn_type'] == 'web_accept' AND $_POST['payment_status'] == 'Completed' OR $_POST['txn_type'] == 'subscr_payment' AND $_POST['payment_status'] == 'Completed'

to be:

PHP Code:

if (($_POST['txn_type'] == 'web_accept' OR $_POST['txn_type'] == 'subscr_payment') AND $_POST['payment_status'] == 'Completed'

I beleive this is functionally the same, but does one less comparison. Yes, I'm being picky here, sometimes things like this just irk me a bit.

A possible addition might be setting up the POST request to Paypal to automatically submit the correct URL for the notification. I beleive the parameter is called "notify_url". This should automatically enable IPN for the transaction posted, regardless of the settings in the account - As long as it's capable of IPN of course!

AidanII 09-04-2004 12:49 PM

Quote:

Originally Posted by Doug Quance
Any clues as to how to fix this?

Doug, check the code you added to the includes/functions_subscriptions.php, in particular the bit under case 'paypal' after the case statement. Also check to see if it still works correctly for a one-off payment. If you're getting an error from that part, then ensure things like your paypal email address are set correctly in the configuration.

That would be my guess!

Doug Quance 09-04-2004 02:42 PM

Yes, it works fine until I select the recurring option... then I get the error message.

I don't really understand PHP, so I can't tell where the problem might exist...

idslamyou 09-08-2004 01:33 AM

I have had this installed for a month or so. I am just starting to get some members. They are able to subscribe and I get the notice from paypal about their payment, but their usergroup is not changing. I have doublechecked to make sure I have checked the additional usergroup to add them too. Can anyone help?

idslamyou 09-14-2004 03:55 PM

Can anyone help me with the problem I am having in the post above this? I have doublechecked all of the edits and still have the same problem or vbulletin not adding the user to the additional usergroup.

TIA

Illuvatar 10-01-2004 10:07 PM

Okay.....what in the world did I do wrong! lol

I copied the query in and ran it against the 'subscriptions' table, and after applying all the php edits, I get this when I attempt to update the subscriptions area in the admin cp.
Quote:

Invalid SQL: UPDATE subscription SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
title = 'Silver Subscriber Monthly',
description = 'Thank you for your interest in subscribing to WotR. Forum Benefits for the Silver Subscriber are:
A custom Avatar of your choice
A custom title of your choice
An additional avatar showing their status as subscribers and supporters of the site.',
length = '30',
units = 'D',
cost = 'a:3:{s:3:\"usd\";s:4:\"5.00\";s:3:\"gbp\";s:4:\"0 .00\";s:3:\"eur\";s:4:\"0.00\";}',
nusergroupid = '9',
active = '0',
reoccur = '0',
membergroupids = '',
forums = 'N;'
WHERE subscriptionid=1
mysql error: Unknown column 'reoccur' in 'field list'

mysql error number: 1054

Date: Friday 01st of October 2004 07:01:28 PM

jbroder 10-26-2004 09:37 PM

Hi,
I've never used a hack before, I usually just do my own thing. But, this one made things so much easier, I am really glad I downloaded.

I made some modifications to my install, so that the user could tell whether their subscription is going to be billed again or not. I added a cancel button right on the user cp for paid subscriptions, and when the user cancels through paypal, the subscriptionslog table is updated to show that the subscription has been cancelled.

I don't know if anyone else needs this, but here it is attached. I just wrote it today, so maybe there are errors I haven't found yet. For instance, my board only has rebilling transactions, so that might cause an issue on your board.

cheers!

version2 11-19-2004 01:29 PM

Quote:

Originally Posted by sketch42
I thought i would update anyone else experiencing the issue with the refunded payments.. i hope noone minds....



Here's the FIX clickity click click click

Hey, uh, everyone...I think I might see a problem here.

When I installed this last month my subscribers started subscribing. In my paypal register I can see the 'Subscription Creation' line as well as the 'Payment' line for each new subscriber. Well, a month later it is *almost* time for renewal and I am getting 'Subscription Creations' as well as payments again. And the first subscription creation still look like they are active and are not set to renew for a couple of days now.

What do I need to do?! Is this a problem? I dont really want to wait a couple to find out I am doublebilling all my subscribers.


All times are GMT. The time now is 02:26 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01253 seconds
  • Memory Usage 1,752KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete