Jump to content

goody974

Members
  • Content count

    58
  • Joined

  • Last visited

  1. goody974

    Batch Printing without Frames or PDF

    Great contribution... I just wanted to edit it slightly so I had a link on the view order page (viewing a single order) so I could print a label off directly from that page. I figured the link would look something like https://www.domain.com/admin/print_batch_process.php?target_file=labels&batch_order_numbers=15831 however this doesnt work. Can someone point me in the right direction of what this should be? thanks
  2. goody974

    PayPal WPP Direct Payments & Express Checkout Support

    Hi Glen Dont suppose you could answer the problem we were discussing on page 189 could you? You asked if the problem was evident on express and debit/credit card transactions... The problem doesnt exist on debit/credit card, only on express checkout. Many thanks Tony
  3. goody974

    PayPal WPP Direct Payments & Express Checkout Support

    Hi Glen Yep, works fine on credit/debit card
  4. goody974

    PayPal WPP Direct Payments & Express Checkout Support

    He Glen When I do this with cheque it works fine... the WPP module also does debit cards as well as express checkout, and the only 2 occurances of this have both been paid via express... but I dont think this will happen with debit/credit card as the address will have already been pre-populated. Version is v 1.0.3
  5. goody974

    PayPal WPP Direct Payments & Express Checkout Support

    Hi All We have recently started selling downloads of a software on our site along with our physical products... but what we have noticed is that when someone purchases a download from us and pays with this module, no tax is added to the order. This I believe is because there is no shipping address required, so all the address fields are empty when it comes back from paypal as paid. Is there a hack or change I can do to make this work properly.? Thanks in advance. Tony
  6. goody974

    PayPal WPP Direct Payments & Express Checkout Support

    Hi Glen Thanks for the reply. I had installed the switch between inc and ex tax v1.0 rc2 contrib (http://addons.oscommerce.com/info/3408) which does indeed alter the cart total, so could see this error happening after i posted because of this. What I have done now is removed the switch tax contrib and added a line below the inc vat price on product_info to show the exc vat price also. This should help any confusion and the error happening again. The single penny error on tax rounding seemed to be coming from OSC and again only when this contrib was used did you see it, so getting rid of it eliminated the problem. Tony
  7. goody974

    PayPal WPP Direct Payments & Express Checkout Support

    update to the above post - this actually seems to work fine when the customer checks out normally, however I have a contrib installed which allows the customer to switch between vat inclusive/exclusive prices being displayed. The VAT inclusive prices being the default. The times that this error has happened have been when the user has selected prices exclusive of VAT. Is there anything I can do to fix this?
  8. goody974

    PayPal WPP Direct Payments & Express Checkout Support

    I should also say there is no Coupon module installed at all. This is a standard UK store with a few alterations, none of which are for order totals.
  9. goody974

    PayPal WPP Direct Payments & Express Checkout Support

    Can someone please explain to me why I am getting an order total discrepancy error from what just seems to be the express module? From the looks of it the credit card processing works fine, however after upgrading to 1.04 and hoping it would fix this problem it doesnt appear to be so as express payments are still showing this. An example:- Item 1 - TV Stand £26.04 (note this is the price exclusive of VAT for some reason) Item 2 - Order Total Discrepancy £3.90 (where does this come from?) SubTotal - £29.94 Postage and Packaging - £5.95 Total - £35.89 Payment - £35.89 In fact, the total should actually be £35.90 but guess thats just some kind of VAT rounding up/down? £26.04 + 15% actually equals £29.95 and not £29.94 as the module thinks. Is there something I can change to help this along? Thanks Tony
  10. Just been looking through the addons and cant find anything that matches, but I dont know why as this system i think would certainly help my life and I am sure others too! We constantly have people ask us if we will do a special price for a package. We currently have to do all this offline and then create the order and take the payment by phone. What would be ideal (and I have seen this in other shopping cart systems) is the ability to create a special area that the customer can view, maybe by clicking a link in an email, and it showing a quotation or package price with a breakdown of the price for each individual product and a total at the end, ready for the customer to buy it there and then. As an idea of what this could be used for perhaps you could think of a pro-audio store where you offer items such as speakers, amps, mics and maybe disco lighting too. The potential customer would find all the products they wanted but require a special one off price for this "package". The quotation system would work by offering the admin the ability to build a quote together and email the link to the potential customer. The link would take them to a page where their items were listed along with the special price... perhaps also a total discount received line... and a button to buy it there and then, or add all items to cart maybe. Hope that all makes sense? Does anyone else see any benefit in this? Thanks Tony
  11. goody974

    PayPal WPP Direct Payments & Express Checkout Support

    Could i just do:- if ($order_total['ot_tax'] > 0) { $taxcalc = (($order_total['ot_shipping'] / 115)*15); } else { $taxcalc = 0; } $order_info['PAYPAL_SHIPPING_TOTAL'] = round($order_total['ot_shipping'] - $taxcalc * $currency_value, 2); I would have to change it when/if VAT changed again, but would that work?
  12. goody974

    PayPal WPP Direct Payments & Express Checkout Support

    ok i figured out that to do this you need to modify the following line in cart/includes/modules/payment/paypal_wpp.php from:- $order_info['PAYPAL_SHIPPING_TOTAL'] = round($order_total['ot_shipping'] * $currency_value, 2); to:- $taxcalc = (($order_total['ot_shipping'] / 115)*15); $order_info['PAYPAL_SHIPPING_TOTAL'] = round($order_total['ot_shipping'] - $taxcalc * $currency_value, 2); This assumes you only sell to the UK (or that you only enable this module for orders in the UK) and that the vat value is 15% which as we know changes. not figured out how to set this up for international customers, but will do soon.
  13. goody974

    PayPal WPP Direct Payments & Express Checkout Support

    Hi I too am getting the order total discrepancy error on a UK store with no voucher/coupon contribs installed. My guess is that this is a calculation error in the paypal_wpp module and its something to do with the following code:- $currency_value = $currencies->get_value($this->wpp_get_currency()); $order_info['PAYPAL_ORDER_TOTAL'] = number_format($order_total['ot_total'] * $currency_value, 2, '.', ''); $this->total_amount = $order_info['PAYPAL_ORDER_TOTAL']; $order_info['PAYPAL_ORDER_DESCRIPTION'] = 'Order placed on ' . date("F j, Y, g:i a") . ' by ' . $order->customer['firstname'] . ' ' . $order->customer['lastname'] . ' (ID: ' . $_SESSION['customer_id'] . ')'; $order_info['PAYPAL_CUSTOM'] = 'Phone: ' . $order->customer['telephone'] . ' -- Email: ' . $order->customer['email_address']; //The shipping total must be under $10,000. I've removed the check that would //set the shipping total at $10,000 if it was over, but that didn't make any sense //as the totals would be off, causing other errors. Just don't ship anything that'll cost more than $10k $order_info['PAYPAL_SHIPPING_TOTAL'] = round($order_total['ot_shipping'] * $currency_value, 2); $order_info['PAYPAL_HANDLING_TOTAL'] = ''; $order_info['PAYPAL_TAX_TOTAL'] = round($order_total['ot_tax'] * $currency_value, 2); $order_total_check = $order_info['PAYPAL_ORDER_TOTAL'] - $order_info['PAYPAL_SHIPPING_TOTAL'] - $order_info['PAYPAL_HANDLING_TOTAL'] - $order_info['PAYPAL_TAX_TOTAL']; $pdi = $this->wpp_generate_PDI($order_total_check); $order_info['PAYPAL_ITEM_TOTAL'] = $pdi[0]; $order_info['PAYMENT_DETAILS_ITEM'] = $pdi[1]; Can anyone help or am I barking up the wrong tree? shipping should be taxed and I dont think it is
  14. Am i right in thinking that if I want to upgrade from 2.2.2E to 2.5 I should just overwrite the current directory structure in the release? no need to modify any files or run any DB change? Cant seem to find any upgrade instructions in the latest release. thanks
×