-
Posts
2,159 -
Joined
-
Last visited
-
Days Won
51
Posts posted by tgely
-
-
-
3. Finally I have issue with special caracter like "à, ô, ï" (etc.) when I use the search button, no product found each time.
I have checked the sentence in content_searches.php but it look like your fix :
urlencode(str_replace(' ', ' ', $query))
An idea of the fix to apply for french language process?
Thank you very much for this amazing contribution. :thumbsup:http://www.oscommerce.com/forums/topic/407969-store-search-bar-bs/page-2#entry1743820
-
1. Great contribution that I want to put in navbar but I have a position issue when I want to place it in this area.
Curiously the store_search bar takes up more space in height :
store_search_position_issue_inside_navbar.jpg
I haven't got this result with "normal" search bar in the same area...
Do you know how to have better integration in this area with your script?
is it between <ul> tag?
-
@@IWAS maybe you should install the check update controller codes for this module.
-
@@astecme Why dont you use IPN? IPN ensure to close of payments.
When the customer goes through the checkout procedure and lands on the checkout confirmation page, their order is saved in the database with a private order status (by default, Preparing [PayPal Standard]). The order status is updated to an acknowledged order status (by default, the default order status level) when the customer returns back to the store from PayPal after payment has been made, or when the IPN notification is received if the customer didn't return back to the store.
If the customer did not finalize the payment at PayPal and does not return back to the store, the order remains in the database with the Preparing [PayPal Standard] order status and can be safely deleted after a period of time.
Website preferencesBring customers back to my website after they pay with PayPal.
If you dont set IPN than the checkout wont be closed in all case.
Look at this between IPN codes:tep_db_query("delete from " . TABLE_CUSTOMERS_BASKET . " where customers_id = '" . (int)$customer_id . "'"); tep_db_query("delete from " . TABLE_CUSTOMERS_BASKET_ATTRIBUTES . " where customers_id = '" . (int)$customer_id . "'");
You hang up the standard process if you dont use IPN by the way.
Never be facts that customer come back after payments so you have to run IPN to close the process.
IPN should be on. Set it in Website Payment Preferences Paypal account page.
IPN and standard return order could be change somethimes IPN is the first callback somethimes the standard return but bot of them need in Paypal Standard. -
Your _notify_sync is very solid with params i have at least give back 50 parameters in my log. Have you deleted some params?
Paypal account could be wrong so I wouldnt be surprised if it is happened.
From this log we could see that Paypal doesnt do return.
My Exatct questions:
1. What is your Paypal Preparing Order Status?
2. How long is your PDT Identity Token?3. What is your Return URL set in your Paypal account?
-
You should set UTF8 between paypal buttons in your paypal account.
You should get PDT token from paypal account and save into oscommerce Paypal App paypal standard configuration page and finaly between general setting you should set Transactions Order Status to the default: Paypal [Transactions]
You have only success payment if the paypal log in oscommerce Paypal App will show the green PS buttons with _notify_sync and _notify-validate [iPN] between actions.
In order between status informations you should see at least 3 status report.
05/24/2016 20:32:33 PayPal [Transactions]
Transaction ID: ****************************
Payer Status: verified
Address Status: unconfirmed
Payment Status: Completed
Payment Type: instant
Pending Reason:
Source: IPN
05/24/2016 20:32:29 PayPal [Transactions]
Transaction ID: ******************************
Payer Status: verified
Address Status: unconfirmed
Payment Status: Completed
Payment Type: instant
Pending Reason:
05/24/2016 20:32:29 Payment confirmed
What is your log results in [your doamin]/[your admin]/paypal.php?action=log when payment is fail and what is your status reports? -
Yes its could be UTF8, PDT or inconsistent paypal payment order status error. All of them cause that customer shopping cart is not cleared after the payment and the return is broken.
Paypal logs inform you about the problem.
-
why dont you give it on admin site?
https://library.oscommerce.com/public/sites/Library/pdf/oscom22-old.pdf1.4.4 Locations & Taxes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
-
I have extended to multi language in execute function:
ob_start(); include('ext/bootstrap-plugins/typeahead/bootstrap3-typeahead.min.js'); echo "\n"; include('ext/modules/content/header/store_search/content_searches.js'); $script = ob_get_clean(); $oscTemplate->addBlock('<script>' . $script . '</script>' . "\n", 'footer_scripts');
non-minified script:
$(function(){ $("#quick_search").typeahead({ items : 15, source: function (query, process) { $.ajax({ url: 'ext/modules/content/header/store_search/content_searches.php?language=<?php echo $language_code; ?>', type: 'POST', data: 'query=' + query, dataType: 'JSON', async: true, success: function(data){ var resultList = data.map(function (item) { var link = { icon: item.icon, href: item.href, name: item.title, price: item.price}; return JSON.stringify(link); }); return process(resultList); } }) }, matcher: function (obj) { return true; }, sorter: function (items) { var beginswith = [], caseSensitive = [], caseInsensitive = [], item; while (link = items.shift()) { var item = JSON.parse(link); if (!item.name.toLowerCase().indexOf(this.query.toLowerCase())) beginswith.push(JSON.stringify(item)); else if (~item.name.indexOf(this.query)) caseSensitive.push(JSON.stringify(item)); else caseInsensitive.push(JSON.stringify(item)); } return beginswith.concat(caseSensitive, caseInsensitive) }, highlighter: function (link) { var item = JSON.parse(link); return '<i class="fa fa-' + item.icon + '"></i> ' + item.name + ((item.price) ? ' (' + item.price + ')' : '') + ''; }, updater: function (link) { var item = JSON.parse(link); window.location.href = item.href; } }); });
dont forget to add $lng into globals in execute function.
function execute() { global $lng; // languages if (!isset($lng) || (isset($lng) && !is_object($lng))) { include(DIR_WS_CLASSES . 'language.php'); $lng = new language; } foreach ($lng->catalog_languages as $lkey => $lvalue) { if ($lvalue['id'] == $languages_id) { $language_code = $lkey; break; } }
-
What happened in the customer shopping cart?
-
pls do complete debug with Sandbox. You can create one sandbox buyer and one sandbox seller to find the real problem without money costs. set up in credentials and add sandbox PDT to paypal standard config.
You will see the logs, emails and actions. -
Perhaps your PDT token is false or Sandbox and Live PDT mixed with each other.
Is customers shopping cart empty after payments? -
What is the difference between "www.webdomain.au" and "www.webdomain.com.au"?
config.filebrowserImageUploadUrl = 'http://www.webdomain.au/admin/kcfinder/upload.php?type=images';
-
Hi all,
@@Zoltan problems could be query collation problem where the query request contains non-coherens characters so the upgrade possible wont be help.
Sometimes the unix enviroment or localisation sets could be less than we need. Knock out the query to see the real query string or save it a separated log file. Use oscommerce admin for prepaire the query log system.
osCommerce installation manual contains direct instructions about the debugs. (see into older v2.2 pdf helps. admin->configuration->logging->Store Database Queries e.t.c)
Later if the problem will be localized you could use collation commands in the query string for example something like this:
$where_str .= "(lower(pd.products_name) like '%" . tep_db_input($keyword) . "%' COLLATE utf8_bin or p.products_model like '%" . tep_db_input($keyword) . "%' or lower(m.manufacturers_name) like '%" . tep_db_input($keyword) . "%' COLLATE utf8_bin";
One another possible issue if @@Zoltan has missing conversion from latin_swedish_ci collated database tables to native utf8 characters.
-
Hello, what I want is to disable the 401, 403 and 404 codes from showing up in the recorder. I have setting as False but these codes still appear. Should
Enable Dirname Record? False
disable those in recorder?
Thanks
add the following code into .htaccess
# If you are getting errors you may need to comment this out like .. # Options +FollowSymLinks Options +SymLinksIfOwnerMatch
-
-
@@altoid Merry Xmas to you.
What else do you like if 401 doesnt work? False means that you dont need record functionality?
-
@@Mikepo nothing strange is found in cart class, but your php version could be a mistake. I think that session management could be responsible for bad work.
change in module:
if (tep_session_is_registered('new_products_id_in_cart') && (int)$_SESSION['new_products_id_in_cart'] > 0 && DISPLAY_CART == 'false') {
-
post here your shopping cart class
-
try to use $_SESSION['new_products_id_in_cart'] instead but I dont know your codebase.
-
do you have origin shopping_cart class?
Modal cart use sesion registered 'new_products_id_in_cart' value.
something like this should be there:
if ($notify == true) { $new_products_id_in_cart = $products_id; tep_session_register('new_products_id_in_cart'); }
-
here's the index (before buy), shopping_cart (after clicking buy)
hope this helps
There is nowhere "upCart". Did you installed it?
Modules->Content->Install Module->Modal Cart->Install Module
Set Display Cart After Adding Product->True
Enable Modal Cart
-
@@Mikepo
conflict is possible between two modals. Post here the html page.
Paypal App install fails on modified osCommerce 2.3.4
in PayPal
Posted
What paypal modules is installed before?
Do you see any "OSCOM_APP_PAYPAL_" in configuration table?