Version 2.3.6

This commit is contained in:
Neo committed 2025-12-19 00:26:08 -08:00
1 parent a3bb603c96
commit 19b38c7c74
764 files changed
+143731 -118164

No files matched your search

@@ -109,11 +109,13 @@ class class_gw_module EXTENDS class_gateway
$this->core_add_hidden_field( "vendorid" , $items['vendor_id'] );
$this->core_add_hidden_field( "buttonid" , "Buy" );
$this->core_add_hidden_field( "item1" , $items['package_cost'] );
$this->core_add_hidden_field( "myurl" , GW_URL_PAYDONE );
$this->core_add_hidden_field( "myurl" , GW_URL_PAYDONE . "&verification=" . md5( $items['member_unique_id'] . $items['package_id'] . $this->ipsclass->vars['sql_pass'] ) );
$this->core_add_hidden_field( "act" , "paysubs" );
$this->core_add_hidden_field( "CODE" , "incoming" );
$this->core_add_hidden_field( "type" , "safshop" );
//$this->core_add_hidden_field( "verification" , md5( $items['member_unique_id'] . $items['package_id'] . $this->ipsclass->vars['sql_pass'] ) );
return $this->core_compile_hidden_fields();
}
@@ -217,6 +219,7 @@ class class_gw_module EXTENDS class_gateway
'purchase_package_id'=> intval($purchase_package_id),
'current_package_id' => intval($cur_sub_id),
'verified' => $_POST['safshopresult'] ? TRUE : FALSE,
'verification' => $this->ipsclass->input['verification'],
'subscription_id' => '0-'.intval($member_id),
'transaction_id' => $_POST['safshopresult'] );
@@ -321,6 +324,26 @@ class class_gw_module EXTENDS class_gateway
}
/*-------------------------------------------------------------------------*/
// INSTALL Gateway...
/*-------------------------------------------------------------------------*/
function install_gateway()
{
//--------------------------------------
// DB queries
//--------------------------------------
$this->db_info = array( 'human_title' => 'Safshop',
'human_desc' => 'Accepts all major credit cards',
'module_name' => $this->i_am,
'allow_creditcards' => 1,
'allow_auto_validate' => 1,
'default_currency' => 'USD' );
$this->install_lang = array( 'gw_'.$this->i_am => "Click the button below to complete this order via Safshop's website. All costs will be converted into USD for Safshop's website" );
}
}