vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Adding additional currency for paid subscriptions (https://vborg.vbsupport.ru/showthread.php?t=135866)

fotografik 01-08-2007 07:56 AM

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.

fotografik 01-10-2007 04:47 AM

Hello. Anyone with any information? Thanks!!

dannefaerd 07-05-2007 10:52 PM

Did you ever manage to resolve this? I'd also like to add a local currency that is now supported by PayPal.

Dismounted 07-06-2007 04:52 AM

You'd need to change the field in the database, if I remember correctly.

Mum 04-21-2008 06:41 PM

Can you give more details on this? I am still unsure how to do this.

gniuzvb 06-17-2009 11:55 AM

two years on, still can't find solution for this. :sigh

Mum 06-17-2009 08:13 PM

Me either :( I still want to add NZ currency.

emath 09-22-2013 07:45 PM

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


All times are GMT. The time now is 09:29 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.00969 seconds
  • Memory Usage 1,715KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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