Jump to content

ljpenton

Members
  • Content count

    16
  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
    LJ Penton
  • Website
  1. ljpenton

    NEW! Complete Order Editing Tool!

    Nevermind. This was a "read the document, idiot" moment.
  2. ljpenton

    NEW! Complete Order Editing Tool!

    I installed Order Editor 5.0.63. My shipping module (Federal Express real Time Quotes) is not being loaded. Is anyone using this module with the FedEx Shipping Contribution?
  3. Don't know if this will help you, but I dumped out the contents of the response from Authorize.Net. In the file includes->modules->authorizenet_cc_aim.php there is this code: if ($regs[0] == '1') { if (tep_not_null(MODULE_PAYMENT_AUTHORIZENET_CC_AIM_MD5_HASH)) { if (strtoupper($regs[37]) != strtoupper(md5(MODULE_PAYMENT_AUTHORIZENET_CC_AIM_MD5_HASH . MODULE_PAYMENT_AUTHORIZENET_CC_AIM_LOGIN_ID . $regs[6] . $this->format_raw($order->info['total'])))) { $error = 'general'; } } } else { switch ($regs[2]) { case '7': $error = 'invalid_expiration_date'; break; case '8': $error = 'expired'; break; case '6': case '17': case '28': $error = 'declined'; break; case '78': $error = 'cvc'; break; default: if ($regs[0] == '1') { if (tep_not_null(MODULE_PAYMENT_AUTHORIZENET_CC_AIM_MD5_HASH)) { if (strtoupper($regs[37]) != strtoupper(md5(MODULE_PAYMENT_AUTHORIZENET_CC_AIM_MD5_HASH . MODULE_PAYMENT_AUTHORIZENET_CC_AIM_LOGIN_ID . $regs[6] . $this->format_raw($order->info['total'])))) { $error = 'general'; } } } else { switch ($regs[2]) { case '7': $error = 'invalid_expiration_date'; break; case '8': $error = 'expired'; break; case '6': case '17': case '28': $error = 'declined'; break; case '78': $error = 'cvc'; break; default: $error = 'general'; break; } } $error = 'general'; break; } } $regs[0] is not '1' and the value of $regs[2] is '33'. There is also a message in the returned array stating "Credit card number must be provided". In the function before_process(), an array is built containing this information: 'x_card_num' => substr($HTTP_POST_VARS['cc_number_nh-dns'], 0, 22), 'x_exp_date' => $HTTP_POST_VARS['cc_expires_month'] . $HTTP_POST_VARS['cc_expires_year'], 'x_card_code' => substr($HTTP_POST_VARS['cc_cvc_nh-dns'], 0, 4)); and a post string is built based upon the data in this array. Dumping out the array, I don't see any values related to the credit card (each of these three items are blank). Dumping out the data in $HTTP_POST_VARS shows these three array items to be blank. I've looked in checkout_confirmation.php and checkout_process.php and cannot determine where these array items get set. Maybe someone with better troublehsooting/programmings skills can figure this out.
  4. Just an update. Have spent 5 days on this now, without success. Downloaded the latest version of osCommerce (with the a net module embedded in it), and still get the "general error" failure. In a total act of desperation, downloaded and installed another shopping cart program, configured its a net module in exactly the same manner as for osC and it worked on the first try. I don't see any functionality for putting this module in debug so I can properly troubleshoot the installation, so am giving up and decided not to use authorize.net for my cc processing.
  5. Thank you for the help pixclinic. Didn't fix the problem so I'm starting the troubleshooting from square 1. Have dropped my hosting company an email making sure that cURL is indeed installed where their docs state (that seems like a very likely culprit).
  6. Ok, so I just read 41 pages of support thread; done EVERYTHING suggested here and am having problems with this module. I have a brand new authorize.net account setup in TEST. Am trying to use Authorize.net Advanced Integration Method v1.0, dated 11 Jan 2008. My osCommerce is setup with the correct Login ID, Transaction Key, and MD5 Hash and setup for the test server and test transaction (modified the module to use the proper test server). A.net has been configured Delimited Response: NO, Field Encapsulation Character: BLANK, Transaction Version: 3.1, and Relay Response is set to: my website's secure checkout_process.php page. cURL is compiled in PHP and I have a valid SSL certificate (have been running SSL for years and processing with another company). Whenever I try to process a credit card via this module I get: There has been an error processing your credit card Please try again and if problems persist, please try another payment method. The POST reply contains: checkout_payment.php?payment_error=authorizenet_cc_aim&error=general This seems to be what others have encountered, but I don't see any fix information in this thread.
  7. In using the Automated FedEx label contribution, I've noticed that I cannot override the shipping weight sent to FedEx. Is there a way I can do this? I'd prefer to enter the actual package weight on the FedEx shipping screen, rather than have it come from my osCommerce database?
  8. ljpenton

    osCommerce-PayPal_IPN-v1.1 Problem

    Found an answer for this in the Payment Moduled thread: http://forums.oscommerce.com/index.php?sho...0&hl=Paypal+IPN It seems that this is normal for any payment by customers who have not been verified by Paypal.
  9. When a customer makes a payment via PayPal, using the osCommerce PayPal IPN module, my Orders table shows: Date Added Customer Notified Status Comments 02/22/2005 16:36:22 True Preparing [PayPal IPN] 02/22/2005 16:36:46 False Processing PayPal IPN Invalid [Completed] 02/22/2005 16:37:17 False Processing PayPal IPN Invalid [Completed] and my debug email recipient receives a message stating "PayPal IPN Invalid Process". The text of the email shows all of the $_POST variables, which look correct to me. Any suggestions on how to fix this would be appreciated.
  10. Am hoping somone has done this before I go out and re-invent the wheel. I need to do a simple quanitity discount. The basic need is to be able to provide a 5% discount if the total quantity for all products purchased in a certain category exeeds 100. For example, we offer 6 products linked to categories_id 21. If a customer orders a total of 100 pieces, in any combination of the 6 products, I want to give them a 5% discount and note as such on the checkout page.
  11. ljpenton

    Solution to hide prices?

    Thank you! That code snippet works beautifully.
  12. Does anyone have a solution to hide prices from "guest" users? I am setting up a B2B only website and only want to have authorized customers be able to see product prices. I did try the "loginviewprice" contribution; however, I found that it is not compatable with oscommerce-2.2ms2.
  13. Am trying to setup Quanityt Price Break in a new oscommerce installation. When I select a product, I receive the error: Fatal error: Call to a member function on a non-object in product_info.php on line 77 The code at this location is: $pf->loadProduct((int)$HTTP_GET_VARS['products_id'], (int)$languages_id); $products_price=$pf->getPriceString(); Per the contribution installation: Find: if ($new_price = tep_get_products_special_price($product_info['products_id'])) { $products_price = '<s>' . $currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id'])) . '</s> <span class="productSpecialPrice">' . $currencies->display_price($new_price, tep_get_tax_rate($product_info['products_tax_class_id'])) . '</span>'; } else { $products_price = $currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id'])); } Change to: $pf->loadProduct((int)$HTTP_GET_VARS['products_id'], (int)$languages_id); $products_price=$pf->getPriceString(); Any suggestions on how to fix this?
  14. ljpenton

    [Contribution]Paypal IPN - Devosc

    I just backed out my attempt at installing PayPal IPN v2.9 into my (new) osC 2.2ms2 site. I followed the installation instructions, and verified everything entered. I ran into the following, and could not get this to work: 1. Although I had one email id specified for debug messages, the debug email received contained the email id twice, so I received duplicate debug emails. 2. Debug emails contained no information, the "response from paypal" area was blank. 3. I did not receive any PayPal IPN data from the PayPal Sandbox. 4. Upon completion of the checkout process, the customer shopping cart was not emptied. 5. Email was not sent, other than the debug email. If anyone was able to get PayPal IPN working, I would greatly appreciate any advice as to what needs to be done.
×