Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fabien

Archived
  • Posts

    13
  • Joined

  • Last visited

Everything posted by Fabien

  1. Hello, It seems this, otherwise great, contribution is not 100% compatible with the official osCommerce PayPal IPN module maintained by the osCommerce team (http://www.oscommerce.com/community/contributions,2679). After I installed this contribution, Oscommerce stopped recording IPN information and update orders for Clients who completed their Paypal payments. Products are still removed from the stock and orders confirmations Emails are send, but there is no record for Paypal IPN into their order, and the orders status remains as if no Paypal payment has been received. Which means we have to review our Paypal account history to make sure this payments have really been made, and manually update the order status accordingly. Once I removed the contribution, IPN info get registered again... Regards, Fabien
  2. Hello, Unfortunately, it still doesn't work properly with Paypal. I tried the 3 following configurations in paypal_ipn.php : 1/ replaced : if (USE_REDEEM_SYSTEM == 'true' && $customer_shopping_points_spending) { tep_set_shopping_points(($customer_shopping_points - $customer_shopping_points_spending), $customer_id); } with if(USE_REFERRAL_SYSTEM == 'true' && $customer_referral_points_spending) { tep_set_referral_points($customer_id,$i($customer_referral_points - $customer_referral_points_spending)); } 2/ Then commented out : tep_session_unregister('customer_shopping_points');// Points/Rewards Module v1.00 tep_session_unregister('customer_shopping_points_spending');// Points/Rewards Module v1.00 3/ With this 2 lines still commented out, reversed back to : if (USE_REDEEM_SYSTEM == 'true' && $customer_shopping_points_spending) { tep_set_shopping_points(($customer_shopping_points - $customer_shopping_points_spending), $customer_id); } Regards,
  3. Hello, Ok I ran a few tests : 1- The shopping points now get correctly added in the Customers Pending Points. 2- However when redeeming points and paying through Paypal, redeemed points don't get deducted from the Client's points balance. I.e. if the user has 20 points for a $20 value, used 5 points worth $5, there still are 20 points into the user account. Regards, Fabien
  4. Hello, The issue is that the paypal_ipn.php file has some part of code that would normally be found in checkout_process.php. Code that can be found in checkout_process is replicated in the paypal_ipn file under the function before_process(). So like for the Credit Class & Gift Voucher contribution, changes must be re-applied in the paypal_ipn.php file. For instance, with the Credit Class & Gift Voucher contribution, to have the Client's credit balance updated when using Paypal, the following line has to be added somewhere in paypal_ipn.php: $order_total_modules->update_credit_account($i); where update_credit_account is a function of the ot_gv.php file (order_total credit module). However, here the customer shopping points balance is not a part of the ot_redemptions.php file but is a code directly inserted into the checkout_process.php file: #### Points/Rewards Module v1.00 balance customer points BOF #### // order success so customer shoppping points account balanced if (USE_REDEEM_SYSTEM == 'true' && $customer_shopping_points_spending) { tep_set_shopping_points(($customer_shopping_points - $customer_shopping_points_spending), $customer_id); } // add pending points for a new order with or without shipping cost. if (USE_POINTS_SYSTEM == 'true' && ($order->info['total'] > 0) ) { // check that the points system is enabled if (USE_POINTS_FOR_SHIPPING == 'true') { $points_toadd = $order->info['total']; } else { $points_toadd = $order->info['total'] - $order->info['shipping_cost']; } tep_add_pending_points($ordernum, $customer_id, $insert_id,$points_toadd); } #### Points/Rewards Module v1.00 balance customer points EOF ####*/ So I don't really know how to have passed the variable correctly in the paypal_ipn.php file to have the code re-applied. Regards,
  5. Hello, - Paypal orders just doesn't show up in the points pending page - And there is nothing either in the customers_points_pending table for Paypal orders. - The Paypal testing gateway server (sandbox) requires it's own seller user account. Accounts can be created for free at https://developer.paypal.com. - I have no trouble with this contribution working with the 2checkout payment gateway. Just with Paypal. Regards, Fabien
  6. Hello, Thanks fotr the hard work deep-silver. I've installed this on my store easily and it's working 100% except that it is not compatible with the osCommerce PayPal IPN Module v1.0 For 2.2MS2, released by the osCommerce team (http://www.oscommerce.com/community/contributions,2679). When a Client pays by Paypal his/her order points don't show up in the Customers Pending Points. It must be because Paypal IPN maintains its own session. But as Paypal represents about 30% of the payment we receive, if anybody have a clue to have it working, I would really appreciate. Regards, Fabien
  7. Hello, I had this PayPal_Shopping_Cart_IPN contribution working for quite some time now. However due to new requierements from another payment processor, I had to setup to true the "Force Cookie Use" option in admin. But now the PayPal_Shopping_Cart_IPN doesn't validate in admin new orders that have been placed and paid. We, and our Clients, get the Email from Paypal, but nothing from OSC, and in admin we get No PayPal Transaction Information Available for such orders. I modified /includes/application_top.php with the following but it didn't help: // start the session $session_started = false; $paypal_shopping_cart_ipn_session = (PAYPAL_SHOPPING_CART_IPN_SESSION == 'true' ) ? true : false; if (SESSION_FORCE_COOKIE_USE == 'True' && !$paypal_shopping_cart_ipn_session ) { tep_setcookie('cookie_test', 'please_accept_for_session', time()+60*60*24*30, $cookie_path, $cookie_domain); Does anybody know what needs to be change in order to have PayPal_Shopping_Cart_IPN working with Force Cookie Use ? Sincerely, Fabien
  8. Same here. We only get a single cart ID with the total amount, even if there are several items in the cart :'( The readme file talk about HTTPS_COOKIE_DOMAIN but what about HTTPS_COOKIE_PATH ? What are we suppose to put there ? define('HTTPS_COOKIE_PATH', '/'); ?
  9. Thanks a lot Gregory. I had indeed uncommented error_reporting(E_ALL & ~E_NOTICE) but forgot to comment error_reporting(0) Once done I have been able to view what was causing the script to stop and to correct the issue I had. It now works perfectly. May thanks. :thumbsup: Fabien
  10. Hello, I installed the last version of this contribution (v2.8) but I am having trouble with IPN. I read the previous post and tried everything I can think of, but am still unable to get IPN working. The IPN test panel just returns a blank page despite I uncommented the error_reporting variable in paypal/application_top.inc.php and the debugWriteFile function in ipn.php. As for the ipn.txt that is supposed to log where the process stopped, there is nothing usefull here. It just display the IPN testing form fields and end with "submit = Test IPN". One thing I noted is that the IPN Test panel page instructs to copy the order Transaction Signature into the Custom field and into the Transaction ID field. However the max size of the Transaction ID filed is shorter than the Transaction Signature length. Can this be the problem ? Any tips are welcome B) Regards, Fabien
×
×
  • Create New...