garyww Posted July 12, 2008 Posted July 12, 2008 Dear all, I can't find the paypal.php under catalog/includes/modules/payment folder. Also, where is to download the paypal.php and the modules now have paypal_direct, paypal_express, paypal_standard, paypal_uk_direct and paypal_uk_express.php I also want any paypal to use in Hong Kong, china and macau. ANy paypal_hongkong,paypal_macau and paypal_china is available. Please give only download url. Pleasehelp there is a mod to include into your PayPal module to you can see what the customer ordered on your PayPal payment notification (just in case they don't return to your site to complete the process and generate an invoice) - BACK UP BACK UP BACK UP the code snippet replaces the code snippet in the catalog/includes/modules/payment/paypal.php file look for function process_button() { and then copy and paste and replace that section of code with the code above (sorry I forgot to add that when I posted above....) 8) change the following code: ________________________________________________________________________________ ___________ function process_button() { global $order, $currencies, $currency; if (MODULE_PAYMENT_PAYPAL_CURRENCY == 'Selected Currency') { $my_currency = $currency; } else { $my_currency = substr(MODULE_PAYMENT_PAYPAL_CURRENCY, 5); } if (!in_array($my_currency, array('CAD', 'EUR', 'GBP', 'JPY', 'USD'))) { $my_currency = 'USD'; } $xx = ''; for ($i=0; $i<sizeof($order->products); $i++) { $xx .= $order->products[$i]['qty'] . '-' . ($order->products[$i]['name']) . '**'; } $process_button_string = tep_draw_hidden_field('cmd', '_xclick') . tep_draw_hidden_field('business', MODULE_PAYMENT_PAYPAL_ID) . tep_draw_hidden_field('item_name', STORE_NAME . ' ' . $xx) . tep_draw_hidden_field('amount', number_format(($order->info['total'] - $order->info['shipping_cost']) * $currencies->get_value($my_currency), $currencies->get_decimal_places($my_currency))) . tep_draw_hidden_field('shipping', number_format($order->info['shipping_cost'] * $currencies->get_value($my_currency), $currencies->get_decimal_places($my_currency))) . tep_draw_hidden_field('currency_code', $my_currency) . tep_draw_hidden_field('return', tep_href_link(FILENAME_CHECKOUT_PROCESS, '', 'SSL')) . tep_draw_hidden_field('cancel_return', tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL')); return $process_button_string; } Quote
satish Posted July 12, 2008 Posted July 12, 2008 download RC2 and in the folder for modules/payment You will find. Satish Quote Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does.
garyww Posted July 12, 2008 Author Posted July 12, 2008 well, i can only find paypal_direct,paypal_express, paypal_standard, paypal_uk_direct, paypal_uk_express only There is no 'paypal.php' can be found. Please help! Quote
satish Posted July 13, 2008 Posted July 13, 2008 paypal_standard use this. This is a version that is having paypal module that uses IPN and is called as website payment paypal standard. Satish Quote Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does.
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.