Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

oedel

Members
  • Content count

    15
  • Joined

  • Last visited

Profile Information

  • Real Name
    Christian
  1. oedel

    Official PayPal IPN Support Thread

    hello community, a big question to u all. i am running a store here in germany with paypal_ipn module. everything works fine, only one thing that stops international customers from buying: when they are forwarded to paypal-page the paypal-page always is in german and not in their language, although they selected my osc-shop to be displayed i.e. in english. so my question: how can it be done to display paypal-site in the language that the customer was using in the osc-store. would be very glad if someone could help me. thanks a lot
  2. oedel

    Official PayPal IPN Support Thread

    Hi guys, i just figured out how it can be done to charge the customer with extra fees when he is using paypal_ipn module. because this question has been asked very often here and i have spent many days work in this easy fix, i want to show you how this can be done. but be careful, in some countries this is not allowed by paypal :rolleyes: just go to paypal_ipn.php and search for this line (327 in my file): $parameters['amount'] = number_format(($order->info['total'] - $order->info['shipping_cost'] - $order->info['tax']) * $currencies->get_value($my_currency), $currencies->get_decimal_places($my_currency)); after that just add the following line: $parameters['handling'] = number_format(($order->info['total'] * [color=#FF0000]0.042[/color] ) * $currencies->get_value($my_currency), $currencies->get_decimal_places($my_currency)); i just take the total value of the whole order and multiply it with 0.042 (what means 4.2%); when passing over the data to paypal, this "handling fee" is added to the "shipping value" by paypal and the customer is charged with this new fee. if you just want to add a certain fee, lets say 5.00 $ then take the following mod, which is even easier: $parameters['handling'] = number_format(5.00 * $currencies->get_value($my_currency), $currencies->get_decimal_places($my_currency)); i think with this easy mod i can make lots of people happy :thumbsup:
×