Version 2.2.0 RC-1
This commit is contained in:
1 parent
f73f8bff6d
commit
22f1b963ee
1034 files changed
+178610
-70897
No files matched your search
@@ -2,24 +2,14 @@
|
||||
|
||||
/*
|
||||
+--------------------------------------------------------------------------
|
||||
| Invision Power Board 2.1.7
|
||||
| =============================================
|
||||
| Invision Power Board
|
||||
| ========================================
|
||||
| by Matthew Mecham
|
||||
| (c) 2001 - 2005 Invision Power Services, Inc.
|
||||
| (c) 2001 - 2005 Invision Power Services
|
||||
| http://www.invisionpower.com
|
||||
| =============================================
|
||||
| ========================================
|
||||
| Web: http://www.invisionboard.com
|
||||
| http://www.ibresource.ru/products/invisionpowerboard/
|
||||
| Time: Tuesday 18th of July 2006 05:56:00 PM
|
||||
| Release: 52f408a29988b02f45b5e6f4ba5af0ae
|
||||
| Licence Info: http://www.invisionboard.com/?license
|
||||
| http://www.ibresource.ru/license
|
||||
+---------------------------------------------------------------------------
|
||||
| INVISION POWER BOARD IS NOT FREE / OPEN SOURCE!
|
||||
+---------------------------------------------------------------------------
|
||||
| INVISION POWER BOARD ÍÅ ßÂËßÅÒÑß ÁÅÑÏËÀÒÍÛÌ ÏÐÎÃÐÀÌÌÍÛÌ ÎÁÅÑÏÅ×ÅÍÈÅÌ!
|
||||
| Ïðàâà íà ÏÎ ïðèíàäëåæàò Invision Power Services
|
||||
| Ïðàâà íà ïåðåâîä IBResource (http://www.ibresource.ru)
|
||||
| Email: matt@invisionpower.com
|
||||
+---------------------------------------------------------------------------
|
||||
|
|
||||
| > Payment Gateway API: PAYPAL
|
||||
@@ -269,7 +259,7 @@ class class_gw_module EXTENDS class_gateway
|
||||
|
||||
foreach ($_POST as $key => $val)
|
||||
{
|
||||
$post_back[] = $key . '=' . urlencode ($val);
|
||||
$post_back[] = $key . '=' . urlencode (stripslashes($val));
|
||||
}
|
||||
|
||||
$post_back_str = implode('&', $post_back);
|
||||
@@ -331,10 +321,14 @@ class class_gw_module EXTENDS class_gateway
|
||||
// Sort out payment status
|
||||
//--------------------------------------
|
||||
|
||||
if ( $_POST['payment_status'] == 'Refunded' OR $_POST['txn_type'] == 'subscr_cancel' )
|
||||
if ( $_POST['payment_status'] == 'Refunded' )
|
||||
{
|
||||
$return['payment_status'] = 'REFUND';
|
||||
}
|
||||
else if( $_POST['txn_type'] == 'subscr_cancel' )
|
||||
{
|
||||
$return['payment_status'] = 'CANCEL';
|
||||
}
|
||||
else if ( strstr( $_POST['txn_type'], 'subscr_' ) )
|
||||
{
|
||||
$return['payment_status'] = 'RECURRING';
|
||||
|
||||
Reference in new issue
Block a user