Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

hejhog

Archived
  • Posts

    11
  • Joined

  • Last visited

Profile Information

  • Real Name
    shaun

hejhog's Achievements

  1. Hello, Was suffering the same problem. I use the standard paypal.php module in includes>modules>payments . It appears the issue could be with the "cmd" _xclick method. It has also been suggested that _xclick is being phased out but I cannot find an official answer from PayPal. The following changes from _xclick to _cart method. 1. Backup includes>modules>payments>paypal.php 2. Backup includes>modules>payments>paypal.php !!!! 3. Open paypal.php in an editor and find $process_button_string (approx line 88) 4. Change $process_button_string = tep_draw_hidden_field('cmd', '_xclick') . to $process_button_string = tep_draw_hidden_field('cmd', '_cart') . 5. Add an extra hidden field tep_draw_hidden_field('upload', '1') . You can copy and paste this line into the string after $process_button_string = tep_draw_hidden_field('cmd', '_cart') . 6. Change tep_draw_hidden_field('item_name', STORE_NAME) . to tep_draw_hidden_field('item_name_1', STORE_NAME) . 7. Change tep_draw_hidden_field('amount', number_format(($order->info['total'] - $order->info['shipping_cost']) * $currencies->get_value($my_currency), $currencies->get_decimal_places($my_currency))) . to tep_draw_hidden_field('amount_1', number_format(($order->info['total'] - $order->info['shipping_cost']) * $currencies->get_value($my_currency), $currencies->get_decimal_places($my_currency))) . 8. Change tep_draw_hidden_field('shipping', number_format($order->info['shipping_cost'] * $currencies->get_value($my_currency), $currencies->get_decimal_places($my_currency))) to tep_draw_hidden_field('shipping_1', number_format($order->info['shipping_cost'] * $currencies->get_value($my_currency), $currencies->get_decimal_places($my_currency))) 9. Save and upload. 10. Run a checkout test to PayPal. Hope this helps. Many Thanks, Shaun hejhog
  2. IS THIS A CURE ??? ref seo.class.php function Validatename around line 1036 line 1053 if (!empty($origUrl) && $id === $realID && $origUrl !== $url) if $origUrl has any parameters then it will always be !==$url which causes a 301 / redirect to $url (minus any parameters) which then validates the next time around. Therefore should the parameters be stripped away before comparison?? I have added the following list($origUrl) = split('[?]', $origUrl); at approx line 1038 after $origUrl = strip_tags($this->requested_page()); All the 'sort', 'filters' and 'next page' links all now work. My test site works perfectly. As I am not 100% familiar with seo.class.php will this cause problems elsewhere ??
  3. Hello, I suffer from the '2...3...Next Page' and 'sort' column product listing problem. Just keeps returning to page1 or unsorted listing. These links do not work properly even though the URLs appear correct ie ................ -m-15.html?sort=3a&page=1 I use version 2-2.2e? Should I install version 2.1d? I have noticed this has cropped up as a common problem but after trawling the forums cannot find a definite single answer. Can anyone point me in the right direction? Is there a final solution to this problem? Many Thanks, Shaun
  4. Hello, Has anyone managed to find a solution to the Tax calculation and Total for users from countries outside of your tax zone. I am UK based and charge VAT. Customers outside the EU pay no VAT. When NOT logged in The Estimater shows VAT as 0 when a country outside the EU is selected but the subtotal and total still include tax. ie. Subtotal = £20 incorrect should be £17.02 shipping = £10 correct Tax = £0 correct Total = £30 incorrect should be £27.02 When LOGGED in The Total is now correct but the subtotal still shows the amount including tax. ie SubTotal = £20 incorrect should be £17.02 shipping = £10 correct Tax = 0 correct Total = £27.02 correct Any solutions?? Many Thanks, Shaun
×
×
  • Create New...