Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
  #1  
Old 01-08-2007, 07:56 AM
fotografik fotografik is offline
 
Join Date: Jun 2006
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Adding additional currency for paid subscriptions

Hi,

I need some help or pointers here. After digging through vb.com and vb.org on the above topic, I have modified the following files according to the information dug up :-

/includes/class_paid_subscriptions.php
/includes/functions_subscriptions.php
/includes/paymentapi/class_paypal.php
/admincp/subscriptions.php

I am able to create a new subscription with the appropriate currency code, and have it appear as an option in the UserCP Paid Subscriptions page, but when it comes to placing an order, the appropriate Paypal button (we only use Paypal) doesn't appear.

Up till now, we have been using US$ to charge for paid subscriptions, but want to change to the now-supported local currency to cut down on exchange costs as well as provide better clarity for our members (no need to convert back and forth).

I have gone through all files (including the payments.php file) to try and find out where/why the Paypal Order button is not showing up, and the only area where I am unable to change options is in the Payment API manager where it is still showing that Paypal only supports "usd,gbp,eur,aud,cad' as its currencies, and I suspect that there is some checking going on in here that prohibits the additional currency from being displayed during order time (but its weird that it doesn't give the "Invalid Currency" message", it just doesn't show the Paypal order button/options).

I would appreciate anyone's guidance or help in this - many thanks in advance.
Reply With Quote
  #2  
Old 01-10-2007, 04:47 AM
fotografik fotografik is offline
 
Join Date: Jun 2006
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello. Anyone with any information? Thanks!!
Reply With Quote
  #3  
Old 07-05-2007, 10:52 PM
dannefaerd's Avatar
dannefaerd dannefaerd is offline
 
Join Date: Feb 2006
Location: Wellington, New Zealand
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you ever manage to resolve this? I'd also like to add a local currency that is now supported by PayPal.
Reply With Quote
  #4  
Old 07-06-2007, 04:52 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You'd need to change the field in the database, if I remember correctly.
Reply With Quote
  #5  
Old 04-21-2008, 06:41 PM
Mum Mum is offline
 
Join Date: Jun 2006
Location: New Zealand
Posts: 660
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you give more details on this? I am still unsure how to do this.
Reply With Quote
  #6  
Old 06-17-2009, 11:55 AM
gniuzvb gniuzvb is offline
 
Join Date: Apr 2009
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

two years on, still can't find solution for this. :sigh
Reply With Quote
  #7  
Old 06-17-2009, 08:13 PM
Mum Mum is offline
 
Join Date: Jun 2006
Location: New Zealand
Posts: 660
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Me either I still want to add NZ currency.
Reply With Quote
  #8  
Old 09-22-2013, 07:45 PM
emath emath is offline
 
Join Date: Sep 2008
Posts: 252
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The solution for this is as Dismounted said, just add the right names in the currency column at the paymentapi table .
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:37 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.04088 seconds
  • Memory Usage 2,210KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete