форум vBSupport.ru > vBulletin > Вопрос — Ответ
Register Меню vBsupport Изображения Files Manager О рекламе Today's Posts Search
  • Родная гавань
  • Блок РКН снят
  • Premoderation
  • For English speaking users
  • Каталог Фрилансеров
  • If you want to buy some product or script
  • Администраторам
VBsupport перешел с домена .ORG на родной .RU Ура! Пожалуйста, обновите свои закладки - VBsupport.ru
Блок РКН снят, форум доступен на всей территории России, включая новые терртории, без VPN
На форуме введена премодерация ВСЕХ новых пользователей

Почта с временных сервисов, типа mailinator.com, gawab.com и/или прочих, которые предоставляют временный почтовый ящик без регистрации и/или почтовый ящик для рассылки спама, отслеживается и блокируется, а так же заносится в спам-блок форума, аккаунты удаляются
for English speaking users:
You may be surprised with restriction of access to the attachments of the forum. The reason is the recent change in vbsupport.org strategy:

- users with reputation < 10 belong to "simple_users" users' group
- if your reputation > 10 then administrator (kerk, Luvilla) can decide to move you into an "improved" group, but only manually

Main idea is to increase motivation of community members to share their ideas and willingness to support to each other. You may write an article for the subject where you are good enough, you may answer questions, you may share vbulletin.com/org content with vbsupport.org users, receiving "thanks" equal your reputation points. We should not only consume, we should produce something.

- you may:
* increase your reputation (doing something useful for another members of community) and being improved
* purchase temporary access to the improved category:
10 $ for 3 months. - this group can download attachments, reputation/posts do not matter.
20 $ for 3 months. - this group can download attachments, reputation/posts do not matter + adds eliminated + Inbox capacity increased + files manager increased permissions.

Please contact kerk or Luvilla regarding payments.

Important!:
- if your reputation will become less then 0, you will be moved into "simple_users" users' group automatically.*
*for temporary groups (pre-paid for 3 months) reputation/posts do not matter.
Уважаемые пользователи!

На форуме открыт новый раздел "Каталог фрилансеров"

и отдельный раздел для платных заказов "Куплю/Закажу"

Если вы хотите приобрести какой то скрипт/продукт/хак из каталогов перечисленных ниже:
Каталог модулей/хаков
Ещё раз обращаем Ваше внимание: всё, что Вы скачиваете и устанавливаете на свой форум, Вы устанавливаете исключительно на свой страх и риск.
Сообщество vBSupport'а физически не в состоянии проверять все стили, хаки и нули, выкладываемые пользователями.
Помните: безопасность Вашего проекта - Ваша забота.
Убедительная просьба: при обнаружении уязвимостей или сомнительных кодов обязательно отписывайтесь в теме хака/стиля
Спасибо за понимание
 
 
 
 
DrCustUmz
Знаток
 
DrCustUmz's Avatar
Question Upgrade vBCover vBCart
2

So I have ALL of Lionels vBCover products, All with plain code and NOT ioncubed straight from the source.

I have been trying my best to update vBCart to be functional again but I am not having any luck. It seems to be a problem with the paypal response, payment goes through but transactions are not processed. Resulting in having to manually add a transaction any time a purchase is made.

The only DB table changed when a purchase is made is covercartfraud, paypal payment goes through, then redirects back and says thank you for your support. with no transaction information.



I am curious if anyone would be interested in teaming up with me to upgrade it. @kerk @Luvilla ? or anyone else?

as proof of clean files and the portion I am struggling with, here's a little portion of the code, where I believe the problem is.

PHP Code:
$txn_id $keyarray['txn_id'];
            
$item_name $keyarray['item_name'];
            
$item_number $keyarray['item_number'];

            
$payment_status $keyarray['payment_status'];
            
$payer_email $keyarray['payer_email'];

            
$product explode("|"$item_number);
            
$item_array explode("-"$product[1]);
            
$transamount $_REQUEST['amt'];
            
$cm urldecode($_REQUEST['cm']);
            
$transid explode(":"$cm);
            
$transactionid $transid[2];
            
$buyerid $transid[0];
            
$transcookie $transid[3];
            
$who fetch_userinfo($buyerid);
            
$buyername $who['username'];
            
$buyeremail $who['email'];
            
$transamount sprintf('%.2f'$transamount);
            
$mcgross number_format(doubleval($_POST['mc_gross']), 2);
            if (
$item_name != 'renewal' and $transamount)
            {
                
$verify $vbulletin->db->query_first("SELECT amount FROM " TABLE_PREFIX .
                    
"covercartfraud WHERE transactionid='" $transid[2] . "' AND userid='" $buyerid .
                    
"'");
                if (
$verify['amount'] <> $transamount)
                {
                    
$file fopen($config['log'] . $_REQUEST['tx'] . '.datatrans'"w"0);
                    
fputs($file"POSSIBLE FRAUD IP: " $_SERVER['REMOTE_ADDR'] . " FROM PAYPAL: " .
                        
$transamount " VBCART TRANSACTION ID: " $transid[2] . " USERID: " $buyerid .
                        
" FROM DB: " $verify['amount'] . "\n");
                    
fclose($file);
            
$vbulletin->db->query_write("UPDATE " TABLE_PREFIX .
                
"covercartorder SET status = '2' WHERE sessionid = '$transcookie'");
                    eval(
standard_error(fetch_error('covercart_invalidamount')));
                }
            }
            
$vbulletin->db->query_write("UPDATE " TABLE_PREFIX .
                
"covercartsessions SET paypaltotal = '$transamount', paypaltxid = '$txn_id' WHERE sessionid = '" .
                
$vbulletin->db->escape_string($transcookie) . "'
    AND userid = '
$buyerid'");

            
$getinvoice $vbulletin->db->query_first("SELECT *
        FROM " 
TABLE_PREFIX "covercartsessions 
        WHERE sessionid = '" 
$vbulletin->db->escape_string($transcookie) . "'
    AND userid = '
$buyerid'");

            
$mycartitems = array();

            if (
$getinvoice['items'])
            {
                
$mycartitems unserialize($getinvoice['items']);
                
$items '';
                
$totalitems '';
                
$totalcost '';

                foreach (
$mycartitems as $cookieid => $cookiearray)
                {

                    
$item['id'] = intval($cookiearray['itemid']);
                    
$productname $cookiearray['productname'];
                    
$image '';

                    if (
$cookiearray['type'] == 'license')
                    {
                        
$myimage $cookiearray['image'];

                        if (
file_exists(DIR '/vbcover/vbcart/products/minithumbs/' $myimage)) 
I have the vb4 version as well, every revision of every product, and this same issue is present with that version too

Last edited by DrCustUmz : 03-01-2022 at 02:03 AM.
Bot
Yandex Bot Yandex Bot is online now
 
Join Date: 05.05.2005
Реклама на форуме А что у нас тут интересного? =)
 

Tags
update, vbcart, vbcover


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




All times are GMT +4. The time now is 08:22 AM.


Powered by vBulletin® Version 3.6.10
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.