Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

jcarndt

Members
  • Content count

    20
  • Joined

  • Last visited

Profile Information

  • Real Name
    Jim

Recent Profile Visitors

1,900 profile views
  1. I am having an issue with PayPal V2.01 where if the Payment method selector is not selected, I select PayPal, then Continue Checkout, the PayPal fee is not calculated for the Order Confirmation Screen.  If I go back to the Payment method screen, and then Continue Checkout, the PayPal fee is calculated correctly.  I am guessing MODULE_ORDER_TOTAL_PAYPAL_STATUS is not getting set soon enough.  Any suggestions to fix?

    1. jcarndt

      jcarndt

      I think that there may be an issue with this code in OSCOM CE Phoenix v1.0.7.14, 

      if ( ( ($GLOBALS['payment'] == 'paypal_standard') & ($PHP_SELF != 'shopping_cart.php') )  ) {

      As a workaround, I added  or (preg_match("/\bPayPal\b/i", $order->info['payment_method'], $match)) ) {  to that if statement, so it would catch all my PayPal transactions.

      I went back to a simplified process function like in version 1, so I am only concerned about normal US PayPal.

    2. milerwan

      milerwan

      Hi,

      In the ot_paypal_fee.php file, you have to replace each $GLOBALS['payment'] to $_SESSION['payment']

      Best regards

    3. jcarndt

      jcarndt

      Thanks for the update on how to resolve the issue!!

       

×