geekoh Posted April 13, 2007 Posted April 13, 2007 MVS 1.1 and PAYPAL_IPN 2.2 Has anyone successfully merged these two? Is there anyplace that documents how to merge them? It seems like it can be quite complicated and I have a LOT of contribs in my store, but the single largest problem I have is people not returning from Paypal after making their payment, then I have to build the order manually in the db, if I can find the cart and it hasn't been modified. Any help would be greatly appreciated. I have searched the MVS thread and the PAYPAL_IPN thread and can find where different people have said they were working on it, but I have yet to see where anyone has successfully completed it and I can't find instructions or directions any where. Thanks for any feedback. Quote
geekoh Posted April 13, 2007 Author Posted April 13, 2007 I have gone through the MVS 1.1 installation routine and taken the instructions for updating checkout_process.php and have applied those changes to the paypal_ipn.php and ipn.php files, however I can't figure out where to put the very first update. In the checkout_process.php portion it says =================== Find Lines 42, 43 & 44 =================== // load the selected shipping module require(DIR_WS_CLASSES . 'shipping.php'); $shipping_modules = new shipping($shipping); ============= Replace With ============= //MVS start // load the selected shipping module if (($total_weight > 0 ) || (SELECT_VENDOR_SHIPPING == 'true')){ include(DIR_WS_CLASSES . 'vendor_shipping.php'); } elseif (($total_weight > 0 ) || (SELECT_VENDOR_SHIPPING == 'false')){ include(DIR_WS_CLASSES . 'shipping.php'); } $shipping_modules = new shipping($shipping); //MVS End But I can not figure out where to make this change in those two files. Again, any help is greatly appreciated. Quote
Chazbot72 Posted May 3, 2007 Posted May 3, 2007 I'm stuck, too! If anyone can help please let me know! Quote The tomb could not hold God's Son...but your heart can
Guest Posted June 14, 2007 Posted June 14, 2007 ... But I can not figure out where to make this change in those two files. Again, any help is greatly appreciated. In the Paypal IPN install guide, it says "paypal_ipn.php bypases checkout_process by loading a redirect into the before_process. No code in checkout_process.php after the before_process() is used (around line 50)." The first change is before line 50, so it should work just fine if you made the proper changes to the other files. Would you mind sharing those modified files with the community, so we can have a better look at what you have done so far? Quote
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.