Jump to content

clewist1

Members
  • Content count

    38
  • Joined

  • Last visited

1 Follower

Profile Information

  1. clewist1

    Multi_Vendor_Shipping new thread

    I'm not sure which Multi Vendor Shipping contrib you were talking about originally (there are two, look here). Anyway, I've been toying around with the Enhanced Multi-Vendor Shipping (EMVS) Contrib this week, and have gotten it to work, although not perfectly. Concerning the post by Spoot (two posts up), there is an issue like this in EMVS. EMVS allows for you to specifiy an "Indv. Shipping Price" and an "Each Additional Price" for every item. However, these prices are only used in the shipping calculation if the Products Shipping Method for that product is set to "Individual Shipping". However, I also found another error with this today. If you have two items in your shopping cart, and one of them ships via Individual Shipping (and the other uses, say, FedEx), then the calculated shipping will end up being the FedEx price for the one item, plus the Individual Shipping price for both of the items. This is due to how the Individual Shipping Price is calculated. Anyway, I would go into more detail, but don't want to waste the time because I'm not sure if others here are even using EMVS. I also don't really know much about the differences between the two (for all I know they might be the same thing).
  2. clewist1

    Deleted Multi-Vendor Shipping Thread?

    Here are the contribution downlaod URLs: Enhanced Multi Vendor Shipping http://www.oscommerce.com/community/contributions,1928 Multi Vendor Shipping http://www.oscommerce.com/community/contributions,969 These are both two different multi-vendor shipping contribs. I currently have the first one, EMVS, installed and working on my site. I'm sure there has to be more people out here who have used this contribution.
  3. clewist1

    possible to skip checkout_shipping.php?

    Do you guys possibly know what happened to the Enhanced Multi-Vendor Shipping support thread?: http://forums.oscommerce.com/index.php?showtopic=56535&st=0 It seems to have just disappeared, and I don't know where else to post about problems with this contribution.
  4. I might be out of the loop here, but I can't access the Multi-Vendor Shipping support thread anymore: http://forums.oscommerce.com/index.php?showtopic=56535 It seems as though it's been deleted. Does anyone know what happened? Also, there was a group that was working on a completely new version of the contrib. Anybody heard of it?
  5. clewist1

    QuickBooks Contrib

    Paypal IPN v2.x & Quickbooks IIF Import Compatibility I recently upgraded my Paypal IPN contrib from v1.7 to v2.4. When the creator of the Paypal contrib made v2.0, a complete restructuring was done to that module. As a result, the current version of the Quickbooks IIF Import Contribution is no longer compatible with Paypal IPNs v2.0 and higher. The reason for this has to do with how the Paypal IPN operates. Currently, the QB mod operates by pulling data from the shopping cart near the end of the transaction process. The qb_iif_sale.php file is invoked from checkout_process.php. At that time, the shopping cart is still active, so it works great. The Paypal contrib has always had a different checkout procedure from the standard osCommerce checkout procedure. With pre-2.0 Paypal IPN versions, the line for invoking qb_iif_sale.php was placed in the file ipn.php (see this post). This still worked fine, as the cart was still active during the order. Now, however, with v2.0+, the checkout process for paypal payments is restructured such that the appropriate place for qb_iif_sale.php to be invoked (for paypal payment orders) is from a Paypal-specific file named checkout_update.php, which is located at includes/modules/payment/paypal/checkout_update.php. The file checkout_update.php is invoked when Paypal sends an Instant Payment Notification (IPN) back to the osCommerce website. Here's the problem, though: At the point when checkout_update.php is called, the cart is no longer active. Therefore, qb_iif_sale.php, which is called from checkout_update.php, attempts to access data from the cart, which is no loner active. This results in a problem for importing Quickbooks transaction data for Paypal orders. A suggestion was made two posts up by Adam that the Quickbooks contribution should be changed so that it pulls the data from the SQL database, instead of from the cart. This would be a great move for this contribution I'd be willing to help in this effort to draw the data from the database instead of the cart. I'm a coder, but am very new to osCommerce and php, so I'd need some help. If anyone else would like to talk about this, please let me know. Having the Quickbooks import functionality in our store is crucial to our automation process, as we print purchase orders from QB to fax off to our vendors who drop ship for us. I look forward to hearing from anyone on this issue...
  6. clewist1

    [Contribution]Paypal IPN - Devosc

    Ben - it seems like you and I are having similar problems with different applications. My problem involves invoking a file to dump all the transaction information to a text file everytime an IPN is issued. I put the necessary include statement for my file inside of checkout_update.php. However, it seems that, at that point, I can't access the order information anymore. I CAN access the customer's info, but just not what they ordered. I've been playing around with this today, and have been trying to figure out how to get the order id, which I assume is stored in $order_id. However, I'm having trouble figuring out how to get that variable for the order. The way my file works is that it takes a look at the shopping cart when it is invoked and writes everything that is in the shopping cart to the text file. However, it seems that when checkout_process.php is invoked, the shopping cart is no longer relative. Therefore, that would explain (at least for me) why it works fine for Money Order purchases (or COD in your case), but not for Paypal. So, I'm stuck at this point. My thinking was that if I could somehow get the $order_id, then I could just go into the database and retrieve all the information for the order, which should also work in your case. However, I'm just having trouble getting there. It seems like accessing order information upon IPN receipt would be helpful for many different applications in others' osCommerce stores, so maybe Greg et al. will have some useful insight as to how we can solve this problem...
  7. clewist1

    [Contribution]Paypal IPN - Devosc

    Concerning this issue, I found that the variables that are not being accessed properly are from the shopping cart. The following lines of code are contained in a file qb_iif_sale.php that is invoked inside includes/modules/payment/paypal/checkout_update.php: $products = $cart->get_products(); and for ($t=0; $t<sizeof($order->products); $t++) Specifically, the FOR loop that is executed in the above line of code is NOT executed when this file is called from checkout_update.php. I assume that this is because, with the restructuring of the Paypal IPN module, the cart information is no longer available (or the cart doesn't exist) at the time that checkout_update.php is called. Therefore, can you advise on how to pull up the cart/order data from this point in the checkout process? Thanks, Craig
  8. clewist1

    [Contribution]Paypal IPN - Devosc

    Hi Greg, I inserted my Quickbooks line in the checkout_update.php file, and now the QB file gets generated. However, I am not getting all the data written to the QB file, which I imagine is due to the fact that all the variables concerning the purchase aren't available from the checkout_update.php. Could you advise how to make the variables available for the Quickbooks contrib. I basically need everything concerning the order, including all the customer information and all the transaction information. Thanks, Craig
  9. clewist1

    QuickBooks Contrib

    I just updated my Paypal IPN from v1.7 to v2.4. The Paypal IPN v2.4 is a completely different from v1.7. Consequently, I'm having a hard time knowing where to place the Quickbooks mod statement // Quick Books if (CREATE_SALE_QB_IIF_FILE) {include(DIR_WS_INCLUDES . 'qb_iif_sale.php');} Previously, that portion of code came directly after $customer_notification = (SEND_EMAILS == 'true') ? '1' : '0'; $sql_data_array = array('orders_id' => $insert_id, 'orders_status_id' => '99999', 'date_added' => 'now()', 'customer_notified' => $customer_notification, 'comments' => $order->info['comments']); tep_db_perform(TABLE_ORDERS_STATUS_HISTORY, $sql_data_array); in the file catalog/ipn.php. Now, with Paypal v2.4, the lines above can't be found. Does anyone else know about this?
  10. clewist1

    [Contribution]Paypal IPN - Devosc

    Quickbooks IIF modification for Paypal IPN v2.4 I just updated my Paypal contrib from v1.7 to v2.4. Thanks Greg for all the hard work! This is a great contrib!! The only issue I have to resolve now is with the Quickbooks IIF file generation contrib I have installed. I use Quickbooks accounting software, and it works great. For every transaction that is processed through our system, the corresponding information is created in a file that can then be downloaded into Quickbooks for accounting purposes. When I was running Paypal IPN v1.7, I had the following statement inserted in catalog/ipn.php: // Quick Books if (CREATE_SALE_QB_IIF_FILE) {include(DIR_WS_INCLUDES . 'qb_iif_sale.php');} This statement was located in catalog/ipn.php right after this code: $customer_notification = (SEND_EMAILS == 'true') ? '1' : '0'; $sql_data_array = array('orders_id' => $insert_id, 'orders_status_id' => '99999', 'date_added' => 'now()', 'customer_notified' => $customer_notification, 'comments' => $order->info['comments']); tep_db_perform(TABLE_ORDERS_STATUS_HISTORY, $sql_data_array); The Quickbooks statement above invoked the Quickbooks mod to write the transaction information to the Quickbooks IIF file once the transaction was complete. With Paypal IPN v2.4, the file catalog/ipn.php is completely changed. So, I'm hoping someone can tell me where I should insert this Quickbooks statement within the new Paypal IPN v2.4 contribution. As I'm not exactly sure how the new Paypal IPN works, is there someone out there that can tell me where I could install this line?
  11. I'm still running into the problem of receiving the error message: "No response to CURL from Fedex server, check CURL availability, or maybe timeout was set too low, or maybe the Fedex site is down". I've tried to debug the problem, but haven't had any luck. As I understand it, this error message occurs because $meterStart === FALSE and strlen($fedexData) == 0. if ($meterStart === FALSE) { ? ? ? ?if (strlen($fedexData) == 0) { ? ? ? ?$this->error_message = 'No response to CURL... $meterStart is derived from $fedexData, which is acquired in the function _AccessFedex($data). I've tried placing echo $data statements inside _AccessFedex at different points, but I can't get anything displayed on the screen. Furthermore, I can't get any information when I turn on Debug mode. I'm really stuck on this, and our site depends on this to go live (it's the last step!!!!) I suspect that it might be a cURL issue, but I really don't know. I posted my server settings previously on page 8 of this thread. You can also click here:http://forums.oscommerce.com/index.php?sho...70entry385303 I need serious help with this one!!! Please help!!
  12. One more thing: Here's my configuration shipping/packaging settings:
  13. Earlier this week, I started encountering a problem with my website, and just localized the problem to FedEx's API not responding to my CURL requests. I finally figured out that I should set the timeout to something shorter (10 seconds in this case). When I did, the checkout_shipping.php page finally loaded up (it hadn't been doing this all week long), and this is the error message I find: I called FedEx and talked to one of their API support guys, to see if there was anything funny going on on their end. He said all systems were working normal. The only thing he told me that changed was that last Thursday, they removed 2+ year old versions of the API, the "Legacy version", as he described it. With as much activity that has gone on in support of this OSC contrib, I figured that this FedEx real-time quote contrib has probably been updated to the current API version. Anyway, I don't know what to do about this problem, except ask if anyone else has had this problem, or is running into it. One more thing, I did change the chipping weight limit in the config setting earlier this week (and then changed it back), and here are my current FedEx settings: Thanks! P.S.- You can view the problem for youself at My Webpage. Feel free to create a dummy account and try and order something.
  14. I'm running into the following problem: When the user checks out and has to choose which FedEx method to use, at the top of the FedEx section it seems to split the package. For one 75 lbs package, it displays as though it's shipping two 41.25 lbs packages (I'm not sure why it seems to be adding on weight). Here's screen capture to illustrate(this is for a 75 lbs package): Anyone have any ideas?
  15. clewist1

    QuickBooks Contrib

    Problem with mapping COST field to IIF generation My business uses a drop-ship supplier on all our current items. Therefore, it's very useful to generate a purchase order (to send to our supplier) for every transaction. I'm trying to add Purchase Order generation capability to the Quickbooks mod, and have run into a place where I could use some help. Basically, I've repeated the section of code in qb_iif_sale.php that generates the transaction information, changing appropriate lines to generate a purchase order request (the file now contains two transaction sections for every online order - one for the invoice, one for the purchase order). I had previously added a cost field to the product table in the catalog, and I'd like for that cost field to be the item price on the purchase order (what WE pay our vendor for the item). However, I'm having trouble getting the cost field to "show up" in qb_iif_sale.php. I've been playing around with this for the last day. Rather than post my code up here and get a detailed answer, I'd like a more of a general answer. As I understand it, qb_iif_sale.php is called from checkout_process.php. At some point in the checkout process, the properties (name, price, etc.) of each item being purchased must be mapped to corresonding php variables that are accessible by qb_iif_sale.php. Can someone tell me how to get new product fields to be mapped to a php variable that can be seen by other files (such as qb_iif_sale.php)? Thanks!
×