Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Order Summery not displayed on Paypal Express Checkout in oscommerce v2.2 RC2


abdulsattarnu
 Share

Recommended Posts

Hi All!

I am using oscommerce v2.2 RC2. Order Summery will not displayed on Paypal Express Checkout. where should I change, any adon ? ? ?

any solution??

please suggest..

 

 

I have updated the file "ext/modules/payment/paypal/express.php"

 

$params['METHOD'] = 'SetExpressCheckout';
    $params['PAYMENTACTION'] = ((MODULE_PAYMENT_PAYPAL_EXPRESS_TRANSACTION_METHOD == 'Sale') ? 'Sale' : 'Authorization');
    $params['RETURNURL'] = tep_href_link('ext/modules/payment/paypal/express.php', 'osC_Action=retrieve', 'SSL', true, false);
    $params['CANCELURL'] = tep_href_link(FILENAME_SHOPPING_CART, '', 'SSL', true, false);
    $params['AMT'] = $paypal_express->format_raw($order->info['total']);
    $params['CURRENCYCODE'] = $order->info['currency'];
    $params['L_PAYMENTREQUEST_0_NAME0'] = $order->products['name'];
    $params['L_PAYMENTREQUEST_0_AMT0'] = $order->products['price'];
    $params['L_PAYMENTREQUEST_0_QTY0'] = $order->products['qty'];
    $params['PAYMENTREQUEST_0_AMT'] = $order->products['final_price'];

 

I have added 4 extra lines but still not getting the solution.

 

these lines

$params['L_PAYMENTREQUEST_0_NAME0'] = $order->products['name'];

$params['L_PAYMENTREQUEST_0_AMT0'] = $order->products['price'];

$params['L_PAYMENTREQUEST_0_QTY0'] = $order->products['qty'];

$params['PAYMENTREQUEST_0_AMT'] = $order->products['final_price'];

Edited by abdulsattarnu

JOY

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...