Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

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. :?

  • 1 year later...
Posted

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!

Posted

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());");

Posted

I am curious, How did you get your yahoo ID and password to parse into yahoo site?

Posted

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

Posted

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?

Posted

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!

Posted

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.......

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...