vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Different payment emails for multiple paid subscriptions (https://vborg.vbsupport.ru/showthread.php?t=317595)

NarutoFTW 03-02-2015 04:51 PM

Different payment emails for multiple paid subscriptions
 
Anyone have a working method for me to add different PayPal emails for different paid subscriptions? I've tried a mod for this in the past and it never worked. I would really appreciate help / advice from someone who got something like this working.

Thanks

kh99 03-02-2015 05:21 PM

Which email do you mean exactly? Is this being sent by vbulletin? Edit: Oh, I see, email address.

TheAdminMarket 03-02-2015 05:39 PM

Quote:

Originally Posted by NarutoFTW (Post 2539246)
Anyone have a working method for me to add different PayPal emails for different paid subscriptions? I've tried a mod for this in the past and it never worked. I would really appreciate help / advice from someone who got something like this working.

Thanks

As a job is not something difficult or complicated. It needs just an extra field per subscription plan to hold the PayPal email for the specific subscription, and a couple of code lines in the PHP file to read that email address instead the global one.

The problem is that I don't know if there are hooks there to do this work, otherwise you need to:
  1. Insert a new VARCHAR field in table subscription
  2. Modify the template of subscription form
  3. Modify the PHP file that saves the form data
  4. Modify the PHP file which prepares the form to be send to PayPal


All times are GMT. The time now is 04:05 PM.

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.01530 seconds
  • Memory Usage 1,708KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete