View Single Post
  #20  
Old 01-06-2015, 12:09 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In setting up paid subscriptions for the first time there is a lot that can go wrong. A common problem is that payments are received but vBulletin doesn't register the payment and doesn't change the user's group memberships appropriately. Here are several things you can check based on my experience troubleshooting these problems.

1) Make sure your paypal emails are correct and that they are entered exactly the same as in your paypal account. Note that these emails are known to be case sensitive:

Admin CP -> Paid Subscriptions -> Payment API Manager -> Edit

2) Make sure the test communication is working:

Admin CP -> Paid Subscriptions -> Test Communication

3) Make sure you heed the warnings on this page:

http://www.vbulletin.com/docs/html/m...scriptions_add

Quote:
Warning:
Do not change the cost of a Subscription if a recurring payment is currently in use, these payments will fail to update.

Warning:
Do not set a Paypal subscription to greater than 100 days. Use the months or years options to set subscriptions greater than 100 days.
Also note that the duration of a paid subscription cannot exceed a time that would put the expiration date past the year 2037 as that is the highest complete year that can be represented by a 32 bit integer timestamp. PHP is currently limited to 32 bit integers.

4) Make sure your forum directory is not behind a htaccess login because that will prevent paypal from accessing the callback URL.

5) Make sure your forum URL is correct as that is used to build the callback URL:

Admin CP -> vBulletin Options -> Site Name / URL / Contact Details -> Forum URL

If this is your forum:

http://www.vbulletin.com/forum/

...then the forum URL should be set to:

http://www.vbulletin.com/forum (no ending slash)

6) And if you are specifying the IPN URL in your paypal account then make sure that is correct. If this is your forum:

http://www.vbulletin.com/forum/

Then the IPN URL should be:

http://www.vbulletin.com/forum/payment_gateway.php?method=paypal

7) Login to paypal.com and make sure you are actually receiving the money from the purchases. Make sure the transactions are marked as "completed." Also, make sure your paypal account is not configured to require your approval for incoming payments. Otherwise the payments won't complete until you approve them.

__________

If it still doesn't work then it might be due to some customizations on your forum. You can determine this by temporarily removing your customizations to see if the problems goes away. Try to reproduce it on a default style:

Admin CP -> Styles & Templates -> Style Manager -> [Add New Style]

Create a new style with no parent. Then click that style's name in the Style Manager to view your forum with that style.

If you still have the problem then try disabling your plugins:

Admin CP -> vBulletin Options -> Plugin/Hook System

Also run a file check to look for customized files:

Admin CP -> Maintenance -> Diagnostics -> Suspect File Versions
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01255 seconds
  • Memory Usage 1,769KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete