Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

oschelp

Members
  • Content count

    34
  • Joined

  • Last visited

Profile Information

  • Real Name
    o

Recent Profile Visitors

6,927 profile views
  1. oschelp

    SiteMonitor

    Hi Jack, I'm running Version 1.7 and my Cron results differ from the results I receive when I manually run the script. Any reason why this would be occurring?
  2. oschelp

    Header Tags SEO

    When I click on a category on admin/categories.php and click edit there are htc options for the category title, description, etc. When I enter data in one of those fields and click save, its not saving. When I go back to see if it saved, the data I entered is not there. Did I miss an installation step? I went over the installation notes for the admin/categories.php section and it appears I did everything it requested in that file. Do you have any suggestions as to what I might have skipped over? Thank you
  3. oschelp

    Seperate Pricing Per Customer v3.5

    Does anyone have SPPC setup with Options as Images? Options as Images doesn't pull the correct group prices that have been set with SPPC.
  4. oschelp

    PayPal WPP Direct Payments & Express Checkout Support

    Brian, I've installed 1.01, and whenever I click the EC checkout button I receive the following error: Fatal error: Call to undefined function: ec_step1() in /home/content/store/html/includes/paypal_wpp/paypal_wpp_include.php on line 239 The functions are defined in /includes/classes/payment.php
  5. oschelp

    PayPal WPP Direct Payments & Express Checkout Support

    dynamoeffects, All I get is that "Invalid Data (10520) This transaction cannot be processed. Please review the totals of this transaction and resubmit." error when I select to use points and then pay. I don't see any itemized list discrepancies. Let me know if there is any other information you require that could help you.
  6. oschelp

    PayPal WPP Direct Payments & Express Checkout Support

    I have some new data that may help: With the $payment_modules->before_process(); code moved down, the cards only are being declined when I select to use a points discount. The exact error I receive is: Your credit card was declined. Please try another card or contact your bank for more info. Invalid Data (10520) This transaction cannot be processed. Please review the totals of this transaction and resubmit. When I don't click to use the points, the cards work fine. This is showing that its not the before process fix that caused the card declines, the fix actually got the points totals to kind of work, it changed the order total somehow problem is it doesn't match which paypal is expecting thus the "Please review the totals of this transaction and resubmit." Around line 943 in the WPP code you have a section that says: "//If there is a discrepancy in the order total, fix it here //$item_total doesn't need to be converted because it's sent converted" It seems like this code section isn't working with points/rewards possibly.
  7. oschelp

    PayPal WPP Direct Payments & Express Checkout Support

    Dynamoeffects, You stated that WPP takes the order total from oscommerce so points/rewards should be factored in. Points/rewards has its own order total module entry in admin called "points redemptions". Also, in the WPP file you have code for a CCGV integration. Wouldn't points/rewards need its own integration just like that. When I see the following, it appears to me there should be something similar for points/rewards: $output .= '<PaymentDetailsItem>'; $output .= '<Name>Discount Coupon ' . $coupon_details . '</Name>'; $output .= '<Amount currencyID="' . $currency . '">-' . $coupon_total . '</Amount>'; $output .= '<Number>' . $coupon['coupon_code'] . '</Number>'; $output .= '<Quantity>1</Quantity>'; $output .= '</PaymentDetailsItem>'; $total -= $coupon_total;
  8. oschelp

    PayPal WPP Direct Payments & Express Checkout Support

    dynamoeffects, Would there be any reason why after I moved the $payment->before_process() lines down to be after the $order_totals = $order_total_modules->process(); that my credit cards are declining now, but if I place the $payment_modules->before_process(); line after the $order = new order; line, cards are accepted?
  9. oschelp

    PayPal WPP Direct Payments & Express Checkout Support

    Would there be any reason why after I moved the $payment->before_process() lines down to be after the $order_totals = $order_total_modules->process(); that my credit cards are declining now, but if I place the $payment_modules->before_process(); line after the $order = new order; line, cards are accepted?
  10. oschelp

    ### POINTS AND REWARDS MODULE V1.00 ###

    Has anyone gotten points/rewards working with Paypal Web Payments Pro? My order total is correct in admin, but the amount that customers are actually paying does not have the points total taken off. I asked in the paypal payments pro thread, and the mod writer had me move the $payment_modules->before_process(); further down in the checkout_process.php but when I did that all cards get declined. Anyone have any clues as to how to get this points rewards/payments pro working together?
  11. oschelp

    PayPal WPP Direct Payments & Express Checkout Support

    dynamoeffects, I just put in the bug fix for the checkout_process.php file and now credit cards are getting declined. When I remove the bug fix the cards work fine. I tried it on a few of my own cards. Here is what that code section looks like: // load selected payment module require(DIR_WS_CLASSES . 'payment.php'); $payment_modules = new payment($payment); // load the selected shipping module require(DIR_WS_CLASSES . 'shipping.php'); $shipping_modules = new shipping($shipping); require(DIR_WS_CLASSES . 'order.php'); $order = new order; // load the before_process function from the payment modules //$payment_modules->before_process(); require(DIR_WS_CLASSES . 'order_total.php'); $order_total_modules = new order_total; $order_totals = $order_total_modules->process(); // load the before_process function from the payment modules $payment_modules->before_process(); //---PayPal WPP Modification END ---// $sql_data_array = array('customers_id' => $customer_id,
  12. oschelp

    PayPal WPP Direct Payments & Express Checkout Support

    dynamoeffects, Here is the IPN modifications to get working with points/rewards: Thank you for taking a look at this. To be used with Points/Rewards Module v2.00 and the contribution Paypal Shopping Cart IPN as developped by Gregory Baboolal and then devosc ------------------------------- In short the paypal_ipn.php file integrates some of the code that would otherwise be found in other files e.g. checkout_process.php. In this case the code that can be found in checkout_process is replicated in the paypal_ipn file under the function: before_process() So in order to maintain compatibility with the Points/Rewards Module v2.00 contribution you will need to remake those changes here. The additions are as follows and can be found in the attached paypal_ipn.php file: *** Ensure that you have already installed the PayPal IPN module: Paypal Shopping Cart IPN v3.1.5 For MS2, http://www.oscommerce.com/community/contributions,1753/category,all/search,ipn ------------------------------------------------------------------------------------------ Open: catalog/includes/modules/payment/paypal/catalog/checkout_process.inc.php Find this.... (start at aprox. line no.17) global $payment_modules, $shipping_modules, $order, $currencies, $cart, $PayPal_osC, $customer_id, $sendto, $billto, $shipping, $payment, $language, $currency, $languages_id, $order_total_modules, $order_totals; .. and REPLACE it with this...(we just add this 2 elements to the line $customer_shopping_points, $customer_shopping_points,) #### Points/Rewards Module v2.00 balance customer points BOF #### //global $payment_modules, $shipping_modules, $order, $currencies, $cart, $PayPal_osC, $customer_id, // $sendto, $billto, $shipping, $payment, $language, $currency, $languages_id, $order_total_modules, $order_totals; global $payment_modules, $shipping_modules, $order, $currencies, $cart, $PayPal_osC, $customer_id, $sendto, $billto, $shipping, $payment, $language, $currency, $languages_id, $order_total_modules, $order_totals, $customer_shopping_points, $customer_shopping_points_spending, $order_total_modules; #### Points/Rewards Module v2.00 balance customer points EOF ####*/ Find this.... (start at aprox. line no.103) tep_db_perform(TABLE_ORDERS_TOTAL, $sql_data_array); } .. and add this after... #### Points/Rewards Module V2.00 balance customer points BOF #### if ((USE_POINTS_SYSTEM == 'true') && (USE_REDEEM_SYSTEM == 'true')) { // customer pending points added if (($order->info['total'] > 0) && (get_award_discounted($order) == true)) { $points_toadd = get_points_toadd($order); $points_comment = 'TEXT_DEFAULT_COMMENT'; $points_type = 'SP'; if ((get_redemption_awards($customer_shopping_points_spending) == true) && ($points_toadd >0)) { tep_add_pending_points($customer_id, $this->orders_id, $points_toadd, $points_comment, $points_type); } } // customer referral points added if ((tep_session_is_registered('customer_referral')) && (tep_not_null(USE_REFERRAL_SYSTEM))) { $points_toadd = USE_REFERRAL_SYSTEM; $points_comment = 'TEXT_DEFAULT_REFERRAL'; $points_type = 'RF'; tep_add_pending_points($customer_referral, $this->orders_id, $points_toadd, $points_comment, $points_type); } // customer shoppping points account balanced if ($customer_shopping_points_spending) { tep_redeemed_points($customer_id, $this->orders_id, $customer_shopping_points_spending); } } #### Points/Rewards Module V2.00 balance customer points EOF ####*/ ------------------------------------------------------------------------------------------ Open: catalog/includes/modules/payment/paypal/classes/osC/osC.class.php 2. Find this.... (start at aprox. line no.50) tep_session_unregister('sendto'); tep_session_unregister('billto'); tep_session_unregister('shipping'); tep_session_unregister('payment'); tep_session_unregister('comments'); tep_session_unregister('PayPal_osC'); ... and add after..... tep_session_unregister('customer_shopping_points');// Points/Rewards Module v2.00 tep_session_unregister('customer_shopping_points_spending');// Points/Rewards Module v2.00
  13. oschelp

    PayPal WPP Direct Payments & Express Checkout Support

    dynamoeffects, I have the points and rewards system setup. When customers pay via WPP, the point total isn't being deducted from their payment, however it does deduct from the order total on the invoice in admin. It works fine with check/money order. The points/rewards package does come with code on how to modify the paypal IPN code to get it to work with points/rewards, but it does not include instructions on how to get it to work with WPP. Is their any way you could possibly take a look at points rewards package file called PayPal IPN 3.1.5 Modifications.txt and see if you can use that to quickly build a WPP Modifications.txt so people can use your mod and points rewords together. Thank you.
  14. oschelp

    Official PayPal IPN Support Thread

    I'm having an issue with the ipn 2.2 version code. The stock is only being subtracted on 1 item that was in the cart and no confirmation emails are being sent to the customer. Register Globals is on for the ext directory and I know the ipn.php file is being ran as the order status does change correctly as it should. Someone please test your 2.2 setup to see if stock deducts on multiple items and post here if it works or not. If someone has experienced this stock deduction issue and no order confirmation email issue please post a fix if you have one. Thank you
  15. oschelp

    Master Products - MS2

    HELPPPPPP!! Master Products And Easy Populate. I have setup the EP 2.76c module that has Master Products support. My question is, do I need to setup the master products through my admin first and only use EP to setup the slaves? I ask because in the v_products_master column for slaves you must specify the master products id. And the only way to get this is to setup the master in the admin and use a test slave product to view the drop down selection menu of available master products so it spits out that master products id in the box next to it. Then you take this number and copy it into EP v_products_maste field to make the slave match up with the master. Is that the only way to do it? Isn't there a way I can just put in Master and Slaves in easy populate and have it work? **help**
×