View Full Version : Solved Paid Subscriptions

19-01-10, 20:53
Another bug (that was present in 3.2 as well): you get a 404 after trying to make a PayPal paid subscription from a translated page; the forum URL is added to the front of the PayPal API url.

After you click the payment button, you are taken to: yoursite.com/forums/http://www.paypal.com...

And that's not a valid URL, obviously.

21-01-10, 23:25
Hi please do this quick fix and tell does it help. It helped on our forum, but I see in your description that you are not redirecting to Paypal by https so I do not know did you write it wrong in your description or it is some other bug. So if it is by https then this fix will definitely help you (will be included in 3.3.1):
1. open /includes/vbenterprisetranslator_functions_url_tracking.php
2. Find:

if (0 === strpos($address, 'http:')) {

3. and replace it by:

if (0 === strpos($address, 'http')) {

21-01-10, 23:51
That did the trick! Thanks :D

22-01-10, 00:01
Great :) We will include it in vBET 3.3.1

AfrikaansAlbanianArabicBelarusianBulgarianCatalanChineseCroatianCzechDanishDutchEnglishEstonianFilipinoFinnishFrenchGalicianGermanGreekHaitian CreoleHebrewHindiHungarianIcelandicIndonesianIrishItalianJapaneseKoreanLatvianLithuanianMacedonianMalayMalteseNorwegianPersianPolishPortugueseRomanianRussianSerbianSlovakSlovenianSpanishSwahiliSwedishTaiwaneseThaiTurkishUkrainianVietnameseWelshYiddish
Languages translations supported by vBET 4.9.2