Jump to content

MikeTurner

Members
  • Content count

    54
  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
    Mike
  1. MikeTurner

    DUPLICATE SHIPPING COST?

    Hi, I've been running with my store for over a year now but decided to change the way we handle shipping. We used to have multiple shipping methods available and everything was working fine. We're now using a single method using Shipping Zones (as we're expanding our delivery area). However as soon as only 1 shipping option is available something strange happens on checkout_shipping. Basically with only 1 shipping option displayed the shipping price duplicates; once without the £ symbol and once with it: "Zone Rates Shipping to GB : 0.85 lb(s) 7.99 £7.99 " If I have 2 shipping options enabled this will display correctly as £7.99. Has anyone got any ideas on what might be causing this as I'd really appreciate it! Thanks Mike
  2. MikeTurner

    Country-State Selector

    Hey, Yeah I've done a Diff and the only thing that is different around the call to populate the list is that it was previously using the zone_name rather than the zone_id. From what the code looks like it's doing this seems to be the relevent section but somehow it seems that its not getting a match for the array and therefore not populating correctly. Any ideas? - the other pages all work fine :s ORIGN SECTION: $entry_state = tep_get_zone_name($cInfo->entry_country_id, $cInfo->entry_zone_id, $cInfo->entry_state); if ($error == true) { if ($entry_state_error == true) { if ($entry_state_has_zones == true) { $zones_array = array(); $zones_query = tep_db_query("select zone_name from " . TABLE_ZONES . " where zone_country_id = '" . tep_db_input($cInfo->entry_country_id) . "' order by zone_name"); while ($zones_values = tep_db_fetch_array($zones_query)) { $zones_array[] = array('id' => $zones_values['zone_name'], 'text' => $zones_values['zone_name']); } echo tep_draw_pull_down_menu('entry_state', $zones_array) . ' ' . ENTRY_STATE_ERROR; } else { echo tep_draw_input_field('entry_state', tep_get_zone_name($cInfo->entry_country_id, $cInfo->entry_zone_id, $cInfo->entry_state)) . ' ' . ENTRY_STATE_ERROR; } } else { echo $entry_state . tep_draw_hidden_field('entry_zone_id') . tep_draw_hidden_field('entry_state'); } } else { echo tep_draw_input_field('entry_state', tep_get_zone_name($cInfo->entry_country_id, $cInfo->entry_zone_id, $cInfo->entry_state)); } NEWSECTION: // +Country-State Selector $entry_state = tep_get_zone_name($cInfo->entry_country_id, $cInfo->entry_zone_id, $cInfo->entry_state); $zones_array = array(); $zones_query = tep_db_query("select zone_name, zone_id from " . TABLE_ZONES . " where zone_country_id = '" . (int)$cInfo->entry_country_id . "' order by zone_name"); while ($zones_values = tep_db_fetch_array($zones_query)) { $zones_array[] = array('id' => $zones_values['zone_id'], 'text' => $zones_values['zone_name']); } if (count($zones_array) > 0) { echo tep_draw_pull_down_menu('entry_zone_id', $zones_array, $cInfo->entry_zone_id); echo tep_draw_hidden_field('entry_state', ''); } else { echo tep_draw_input_field('entry_state', $entry_state); } // -Country-State Selector
  3. MikeTurner

    Country-State Selector

    Hi Guys, I've installed this contribution on my site, and it's going to make a huge difference since I was originally holding off from allowing non UK users to sign up to the site as there was no real way to control the states. The only problem I have come across so far is that when I am in Admin on customers.php as soon as I change the Country to anything else the State field changes from a combo box to a plain text field as if it couldn't find any matches. However in all of the other pages this works fine. Has anyone else experienced the same? - I've been through the install plan a few times but can't see anything that I've missed. Thanks in advance! Mike
  4. MikeTurner

    PayPal WPP Direct Payments & Express Checkout Support

    Thanks Glen - I wish PayPal would improve their communications - I can't believe how bad their customer service / back-end tools / communications are! :P
  5. MikeTurner

    PayPal WPP Direct Payments & Express Checkout Support

    Hey, I just got an e-mail from PayPal saying that they are upgrading their platform and by Sept 09 everyone needs to update the SDK to version 4.3 or higher as the old platform will not continue to work. Anyone else got this? - No idea what I'm supposed to do (the instructions tell you to look at a recent transaction to see what version is recorded but no version is recorded in the transactions) Soon, we’ll be making enhancements to our Website Payments Pro service. While we are doing everything to make these updates as seamless as possible, you will need to make some changes to your Website Payments Pro integration. Here’s what’s happening Beginning September 2009, PayPal will be upgrading its Payflow gateway service to a new, more secure SSL server certificate hierarchy. Here’s what it means to you To continue processing transactions after this date, you will need to update your current integration to the latest Software Development Kit (SDK version 4.3 or higher) or to our direct HTTPS interface. The update will give you more security and you won’t have to worry about your payment service being interrupted in September. Here’s what you need to do For a detailed explanation of what’s changing and step-by-step instructions on what to do, go to https://www.paypal.com/gatewayupdate
  6. MikeTurner

    ### POINTS AND REWARDS MODULE V1.00 ###

    Hi Ashley, If you are only interested in the customer getting the points then merely add the 'tep_add_welcome_points($customer_id);' line someone under the if(EMAIL_USE_HTML == 'true')... i.e. the below: if (EMAIL_USE_HTML == 'true') { require(DIR_WS_MODULES . 'UHtmlEmails/'. ULTIMATE_HTML_EMAIL_LAYOUT .'/create_account.php'); tep_add_welcome_points($customer_id); $email_text = $html_email; }else{ Please note that the contribution was designed to give an updated email to include the fact that they were given points and if you use the HTML contribution without even more work it won't generate any different e-mail message. The above will solve the problem of the points not being added, if you want to amend the e-mail text some additional changes would also be required (I wasn't bothered about the e-mail so 'patched' the issue and leaving the default e-mail text in place). Mike
  7. MikeTurner

    ### POINTS AND REWARDS MODULE V1.00 ###

    Ashley I had the same problem since I am assuming you are using the uHTML contribution? - In the create_account.php there is code which you edited to insert the call to update the points, but if you notice that code was already edited by uHTML to say if it is HTML use the code above. I literally copied the code which calls the update of the function and duplicated it in the other section of the IF statement. Hope this helps. Mike
  8. MikeTurner

    ### POINTS AND REWARDS MODULE V1.00 ###

    Hey Deep, The fix that you have described asks for the languages file to be changed which wouldn't work. The correct file that should be changed is: catalog/includes/modules/order_total/ot_redemptions.php But I'm sure everyone would have worked that out on their own :) Cheers! Mike
  9. MikeTurner

    ### POINTS AND REWARDS MODULE V1.00 ###

    Hi Deep, I'm sure you will say that it is a problem with the payment module and I appreciate that, but it still leaves me in a difficult situation as I am not a payment module coder and can't see how I can easily link the payment module to call the discount amount. Without asking you to fix this completely for me (unless you were willing to ;) ), would you be willing to point to the relevant function in your module that I can call from another module when the payment is being made which would result in giving me the 'redeemed points amount'? - If you could provide me with that then I have a chance of being able to add code to the payment module to take the correct amount. If I can get this working using the minimal help from you then I will be able to post the solution in the forum to stop anyone else with my payment module having the same issue. I really appreciate your help! Mike
  10. MikeTurner

    ### POINTS AND REWARDS MODULE V1.00 ###

    Deep, That's all fine re: not showing that it displayed that I was paid by points, I can certainly live with that... With regards to the forcing of entering a credit card number for WPP I'm sure I can work around this with a bit of code that I may be able to come up with... My main issue and the one that I can't figure out on my own is that if I choose to redeem the points which doesn't cover the whole amount, the order to the customer shows that they would only be charged the discounted amount, however they actually get charged the full amount.. The PayPal WPP module uses the total order amount and it has added support to look up discounts applied by the CCGV which has added code to the order_total.php. However, their is no code which would take the total amount off of the total cost to support this Points and Rewards from what I can make out. I'm really struggling, I know that this module wasn't designed specifically to work with each and every payment module, but I would hope that you may be able to help provide compatibility as I think this module is fantastic and it would be a real shame if I couldn't get this working on my live site....
  11. MikeTurner

    ### POINTS AND REWARDS MODULE V1.00 ###

    Tracy, never seen that before...even if you deleted the order_total folder the option should still appear...Have you made any changes to the modules.php file recently?
  12. MikeTurner

    ### POINTS AND REWARDS MODULE V1.00 ###

    Hi Deep-Silver, The PayPal WPP module works slightly different as it asks you for the credit card details at the checkout_Payment page and not the checkout_confirmation. So I guess something needs to be changed somewhere... The payment module for PayPal at checkout uses the order_total module, which I do not believe is edited by this contribution so it doesn't know to take the redemption amount from the order total and charges the full amount. I have performed the install 3 times now and have the same problem, so think this is just an incompatibility between the 2 modules. I'd really appreciate it (as I'm sure lots of other people would) if you were willing to provide added support for the PayPal WPP module and would be happy to provide any information and testing. Thanks again Mike
  13. MikeTurner

    ### POINTS AND REWARDS MODULE V1.00 ###

    Thanks Deep-Silver but as per the above post it looks like the problem with forcing to use the credit card details if using all points is appearing on the demo site. Unfortunately I can't test the partial points redemption since everything on the site will show it to be correct, its only if I login to Paypal that I see the points weren't redeemed. In addition, there seems to be no reference in Admin / the order that points were redeemed..all that shows is payment type = 'Credit/Debit Card'.... I trawled through the whole day yesterday and looked at posts since 2005 which all described the issue of partial points not being redeemed if using PayPal WPP but there seems to be no indication of a fix... In the WPP module there is code compatibility for CCV but since this module uses a different total module (redemptions) the payment module isn't picking up the true total. Any ideas would be really appreciated, as I'm sure lots of people are wanting to get this module working with PayPal WPP. Thanks! Mike
  14. MikeTurner

    PayPal WPP Direct Payments & Express Checkout Support

    Hi In addition to my last problem I am having problems installing another contribution which I think would be of benefit to lots of shops. I am trying to install 'Points and Rewards v2.1' and I guess it works in a similar concept to CCGV which you have provided support for. The issue I am having is that a customer can redeem collected points against the cost of the item and although on the checkout_confirmation page, it will show an amended total to be paid, PayPal takes the complete amount. I am guessing that some modification would need to be done in paypal_wpp.php and I can see reference to ccgv in wpp_generate_PDI but I'm not an expert on this as to what I should change to allow the transaction amount to become modified. Would really appreciate any pointers, you may have come across this before? Thanks Mike
  15. MikeTurner

    ### POINTS AND REWARDS MODULE V1.00 ###

    Further to my previous post I'm not doing so well on the new install.... 1. If I select to use all my points it will still ask me for a credit card number but will not charge the card if I confirm checkout. 2. If I select to use partial points it bills the credit card for the whole amount I'm using the "PayPal Pro Direct Payments & Express Checkout" as my payment module... Any ideas on what is wrong? Thanks mike
×