Guest Posted November 28, 2002 Posted November 28, 2002 I'm attempting to load the PayDirect contribution from David Hardesty, dated 11/29/01 into osc 2.1. I'm not sure where to put the PayDirect statements from this contribution to get them to work, I'm using the standard check/money order module. They are not the same type of statements used in the current module. :? Quote
only2empires Posted January 11, 2004 Posted January 11, 2004 If anyone is still trying to get the Yahoo!PayDirect module to work. I finally succeeded by trial and error and FINALLY decided to try this: Just save your catalog/includes/modules/payments/moneyorder.php module to yahoo.php I then copy/pasted then entire code to notepad and all at one time replaced MONEYORDER with YAHOO. Copy/paste back to yahoo.php, went to my admin, green lighted and tested. It actually worked! I'm not a php person, but I'm sure getting used to it! Quote
only2empires Posted January 11, 2004 Posted January 11, 2004 One other thing I did so that the "Make Payable to:" and other information in the admin or checkout doesn't show: Find this piece of code (first part of the TABLE_CONTRIBUTION area) and comment out the 2nd one. This is also in the same module as mentioned above. function install() { tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Enable Yahoo PayDirect Order Module', 'MODULE_PAYMENT_YAHOO_STATUS', 'True', 'Do you want to accept Check/Money Order payments?', '6', '1', 'tep_cfg_select_option(array(\'True\', \'False\'), ', now());"); //tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Make Payable to:', 'MODULE_PAYMENT_YAHOO_PAYTO', '', 'Who should payments be made payable to?', '6', '1', now());"); Quote
Guest Posted January 11, 2004 Posted January 11, 2004 I am curious, How did you get your yahoo ID and password to parse into yahoo site? Quote
only2empires Posted January 11, 2004 Posted January 11, 2004 I didn't. It will work the same way as the Money Order module by just sending them an order confirmation in their email. But what I did in the language/english/module for yahoo I put the link to Yahoo!PayDirect and my email address to make payment. So once they get the email confirmation they can click on the link to login to their account and make payment. I also put the link in the language/english/checkout_success, so once they click on Confirm and get to the checkout success page, they can click from there also. HTH Quote
Guest Posted January 11, 2004 Posted January 11, 2004 My two questions are.. 1. How to you forward cart contents and amount due to yahoo....... 2. How is it secured? I realize I am being a pain in the bum however wouldnt it have been easier to rewrite the paypal module to work easier and securly..... allowing the entire cart its contents and the amount due to be sent directly to yahoo and then redirect the yahoo confirmation to your store checkout_confirmation.php? Quote
only2empires Posted January 11, 2004 Posted January 11, 2004 Well, like I previously state, I'm no php expert and wouldn't even know where to start to copy and amend the PayPal module. I'm feel lucky enough I got as far as I did HAHA. Maybe someone else has already figured it out and its a secret! :blink: But if not, maybe some whiz out there will! Quote
only2empires Posted January 12, 2004 Posted January 12, 2004 While snooping around on the internet under Yahoo PayDirect PHP...I found this site that has incorporated the link to go directly to the Yahoo!PayDirect site showing his name and email address. So, it can be done, just not sure how. http://www.tufat.com/easysite.php Quote
Guest Posted January 12, 2004 Posted January 12, 2004 The link he has is an autogenerated buton that is just like pay pal buy it now button...... I will look into modifying a payment module for yahoo pay direct....... Quote
only2empires Posted January 12, 2004 Posted January 12, 2004 Great! I'll keep looking on my end and see what I can come up with. Maybe c/p the PayPal over to notepad and play around in it. 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.