

241
Members-
Content count
6,148 -
Joined
-
Last visited
Everything posted by 241
-
@mhsuffolk @asro2004 there are a couple more stripe references that should be changed to stripe_sca in the ext/modules/content/account/stripe_sca/cards.php lines 59 and 63 redirect and breadcrumb
-
@Jack_mcs no worries these are not problems for me I have fixed, just thought to bring them to your attention in case you were unaware A thought that you may want to use is_countable for future php (PHP 7 >= 7.3.0) it can be implemented in compatibility mode now as a function will help with all your count()
-
Create Account in Admin 2.3.4.1.Frozen
241 replied to freakystreak's topic in General Add-Ons Support
I also found I needed to modify the last part to if (empty($oInfo->customer_service_id)){ $contents[] = array('text' => '<br>' . TEXT_INFO_CUSTOMER_SERVICE_ID . ' No ID.'); }else{ $contents[] = array('text' => '<br>' . TEXT_INFO_CUSTOMER_SERVICE_ID . ' ' . $oInfo->customer_service_id); } though that may be because of the heavy modifications- 6 replies
-
- create account
- frozen
-
(and 1 more)
Tagged with:
-
Create Account in Admin 2.3.4.1.Frozen
241 replied to freakystreak's topic in General Add-Ons Support
@freakystreak I added a bit of code to above post which may help- 6 replies
-
- create account
- frozen
-
(and 1 more)
Tagged with:
-
Create Account in Admin 2.3.4.1.Frozen
241 replied to freakystreak's topic in General Add-Ons Support
look at the end of the file in the section default I have a very heavily modified site but you should look for something starting like this $contents[] = array('align' => 'center', 'text' => tep_draw_button(IMAGE_ORDERS_DETAIL, 'document', tep_href_link('orders.php', tep_get_all_get_params(array('oID', 'action')) . 'oID=' . $oInfo->orders_id . '&action=edit')) .- 6 replies
-
- create account
- frozen
-
(and 1 more)
Tagged with:
-
@freakystreak I have this working without any Notice, Warning or Deprecated on php 7.36 spent a lot of time trawling through the code updating and modifying adding additional hint info, attributes, tax and shipping all working even spits out nice templated html emails
-
@Jack_mcs No worries got a few more for you admin/header_tags_fill_tags.php Notice: Undefined variable: sleep in admin/header_tags_fill_tags.php on line 703 Notice: Undefined variable: sleep in admin/header_tags_fill_tags.php on line 704 missing initial declaration for the variable $sleep outside of action either $sleep = ''; or $sleep = false; admin/header_tags_seo_keywords.php Notice: Undefined index: date in admin/header_tags_seo_keywords.php on line 371 Notice: Undefined index: searches in admin/header_tags_seo_keywords.php on line 372 Notice: Undefined index: google_last_position in admin/header_tags_seo_keywords.php on line 373 admin/header_tags_seo_silo.php Notice: Undefined offset: 1 in admin/header_tags_seo_silo.php on line 152 Notice: Undefined offset: 1 in admin/header_tags_seo_silo.php on line 156 Notice: Undefined offset: 1 in admin/header_tags_seo_silo.php on line 162 Date Notice: Undefined offset: 1 in admin/header_tags_seo_silo.php on line 163 Name Notice: Undefined offset: 1 in admin/header_tags_seo_silo.php on line 164 Best Seller Notice: Undefined offset: 1 in admin/header_tags_seo_silo.php on line 165 Custom Notice: Undefined offset: 1 in admin/header_tags_seo_silo.php on line 171 Notice: Undefined variable: selectedCats in admin/header_tags_seo_silo.php on line 174 admin/header_tags_seo_social.php Notice: Undefined index: 24x24 in admin/header_tags_seo_social.php on line 245 Notice: Undefined index: 32x32 in admin/header_tags_seo_social.php on line 245 Notice: Undefined index: 48x48 in admin/header_tags_seo_social.php on line 245 Notice: Undefined index: creator in admin/header_tags_seo_social.php on line 306
-
admin/includes/functions/header_tags.php line 104 if (($fileSaved && $cntNewFiles) || (! $fileSaved && (count($existingFiles) != $cntNewFiles))) { count($existingFiles) Notice: Undefined variable: existingFiles Warning: count(): Parameter must be an array or an object that implements Countable $existingFiles is not an array or object
-
you can use the free shipping admin > modules > Order Total > shipping set allow free shipping true and set the amount and for the other you just want to add a message stating that the costs vary and they will be contacted, so adapt the flat rate to fit
-
no worries then got a logic step mix up
-
is the original code in includes/modules/content/login/cm_paypal_login.php lines 212-220 correct if (ACCOUNT_STATE == 'true') { if ($ship_zone_id > 0) { $sql_data_array['entry_zone_id'] = $ship_zone_id; $sql_data_array['entry_state'] = ''; } else { $sql_data_array['entry_zone_id'] = '0'; $sql_data_array['entry_state'] = $ship_zone; } } more so line 215 $sql_data_array['entry_state'] = ''; if you have the ship_zone_id which is derived from the query based on PayPal response for country and zone being from region should the line not be $sql_data_array['entry_state'] = $ship_zone; and line 218 be $sql_data_array['entry_state'] = '';
-
could you not use htmlspecialchars($_GET['keyname'] )
-
PayPal App for osCommerce Online Merchant
241 replied to Harald Ponce de Leon's topic in News and Announcements
Couldn't edit my post In ext/modules/payment/paypal/express.php on line 281 I changed $paypal_express->_app->log('EC', 'CallbackResponse', 1, $log_sane, $params); to $paypal_express->_app->log('EC', 'CallbackResponse', 1, $log_sane, $params, (OSCOM_APP_PAYPAL_EC_STATUS == '1') ? 'live' : 'sandbox'); This gave me the missing CallbackResponse in the PayPal log an got rid of the error messages in system logs. The 7th argument would be for IPN which could be set true but has default false. I was able to edit this post -
PayPal App for osCommerce Online Merchant
241 replied to Harald Ponce de Leon's topic in News and Announcements
In ext/modules/payment/paypal/express.php on line 281 I changed $paypal_express->_app->log('EC', 'CallbackResponse', 1, $log_sane, $params); to $paypal_express->_app->log('EC', 'CallbackResponse', 1, $log_sane, $params, OSCOM_APP_PAYPAL_EC_STATUS); This gave me the missing CallbackResponse in the PayPal log an got rid of the error messages in system logs -
PayPal App for osCommerce Online Merchant
241 replied to Harald Ponce de Leon's topic in News and Announcements
would that not be EC for express rather than PS for standard? -
PayPal App for osCommerce Online Merchant
241 replied to Harald Ponce de Leon's topic in News and Announcements
Seeing error for too few arguments to function OSCOM_PayPal::log(), 5 passed in ext/modules/payment/paypal/express.php on line 281 and at least 6 expected in includes/apps/paypal/OSCOM_PayPal.php line 23 ext/modules/payment/paypal/express.php on line 281 5 arguments $paypal_express->_app->log('EC', 'CallbackResponse', 1, $log_sane, $params); includes/apps/paypal/OSCOM_PayPal.php line 23 6 arguments. Argument 6 would be $server function log($module, $action, $result, $request, $response, $server, $is_ipn = false) { -
@burt what are you using for your line breaks? content-type: text/plain "\n" - move cursor to next line "\r" - move curser to beginning of the line "\n\r" - produces 2 new lines whereas "\n", "\r" and "\r\n" give single lines content-type: text/html <br> - single line break HTML <br /> - single line break XHTML HTML5 allows both but prefers <br> nl2br($str, boolean) - replace \n with <br> or <br /> boolean - true/false default true nl2br($str, true) same as nl2br($str)
-
Multiple PayPal Standard _notify-validate[IPN] status updates
241 replied to mattsc's topic in PayPal
so the call back... mattsc are you TLS 1.2 -
Multiple PayPal Standard _notify-validate[IPN] status updates
241 replied to mattsc's topic in PayPal
may be a setting in your actual paypal account or an issue with the PayPal App version 4. Have you tried updating the App to above version 5 as the App is at v5.0.18 -
I remember changing the curl calls for IPN curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); curl_setopt($ch, CURLOPT_SSLVERSION, CURL_SSLVERSION_TLSv1_2); Paypal had a page about the changes required for TLS 1.2
-
yes that one is 6 yrs old so would need a bit of tweaking but would give you an idea. Have you tried doing it via attributes as it is only 3 options.
-
https://apps.oscommerce.com/q=warranty You could do it with attributes or just code it up.
-
from your image there is no define for FILENAME_EXCEL in admin/includes/filenames.php
- 7 replies
-
- excel populate
- populate
-
(and 3 more)
Tagged with:
-
missing tour file /includes/modules/header_tags/customer_service/modules/bstour/customers.js
- 31 replies
-
- manual order entry
- administration
- (and 3 more)
-
Missing tour file includes/modules/header_tags/customer_service/modules/bstour/orders.js
- 31 replies
-
- manual order entry
- administration
- (and 3 more)