Jump to content

Archived

This topic is now archived and is closed to further replies.

Farrukh

Integeration of 2Checkout

Recommended Posts

Hiya al

 

I need some information regarding intergration of 2Checkout with osCommerce.

 

Does anyone run oscommerce with 2Checkout. I need to know as what does 2Checkout require to integrate in Oscommerce.

 

please if anyone can help.

Share this post


Link to post
Share on other sites

Open a 2checkout a/c, they give you a 5 digit ID number. Go to admin > modules > payment > 2checkout. Click the graphic from red to green.

 

Click edit, and change those parameters. Done.

 

It's the easiest payment solution of all to set up (except maybe Nochex).

 

hth


This is a signature that appears on all my posts.  
IF YOU MAKE A POST REQUESTING HELP...please state the exact version
of osCommerce that you are using. THANKS

 
Get the latest Responsive osCommerce CE (community edition) here

Share this post


Link to post
Share on other sites

Just a dumb question but ...

don't we also have to set up a Return URL for the passback routine ?

The thingy that is supposed to write the order in DB ?

What is this url ? is it just http://mydomain.com/tep/catalog/default.php ?

 

Any help appreciated.

As many I have the 2checkout thing only half working : it takes order, I receive the mail from 2checkout but nothing in my admin panels.

So I have to ask the customer what he ordered, which is VERY unpleasant and unprofessional.


www.cyberkwoon.com : martial arts community

 

www.kwoon.info : communaute martiale francophone

Share this post


Link to post
Share on other sites

I unfortunately didn't really investigate 2checkout.com well enough before getting my account. I'm now realizing that the checkout process is a lot clunkier than I had hoped. Worst parts - while you can get your pages to look pretty much uniform with headers and footers, their text and text layout can't be modified. Also, if the user dies not click FINISH ORDER, they get charged and I don't get the order!

 

ugh.

 

any solutions? suggestions?

Share this post


Link to post
Share on other sites
I unfortunately didn't really investigate 2checkout.com well enough before getting my account.  I'm now realizing that the checkout process is a lot clunkier than I had hoped.  Worst parts - while you can get your pages to look pretty much uniform with headers and footers, their text and text layout can't be modified.  Also, if the user dies not click FINISH ORDER, they get charged and I don't get the order!

 

ugh.

 

any solutions?  suggestions?

 

Splurge...get a merchant acct.

 

I agree that 2checkout kinda sucks we have an acct. with them too. However for $49 its a really cheap and effective way to accept payment via CC.


I need to read the rules more often...

Share this post


Link to post
Share on other sites

Let's not turn this into a pro / con 2checkout.

I am located in Japan and I am quite satisfied with the service they provide for the fee.

Now about this "Finish Order" link / button ... isn't that supposed to be the return URL I was asking about ?

If someone has it working, can s/he be kind enough to tell me what I am supposed to enter on the 2checkout admin panel ?


www.cyberkwoon.com : martial arts community

 

www.kwoon.info : communaute martiale francophone

Share this post


Link to post
Share on other sites
However for $49 its a really cheap and effective way to accept payment via CC.

Agreed.

 

As for the FINISH ORDER, please keep this thread updated with your progress. If I can bypass that page, my few 2Checkout complaints are behind me.

 

Thanks,

 

Greg

Share this post


Link to post
Share on other sites
I unfortunately didn't really investigate 2checkout.com well enough before getting my account.  I'm now realizing that the checkout process is a lot clunkier than I had hoped.  Worst parts - while you can get your pages to look pretty much uniform with headers and footers, their text and text layout can't be modified.  Also, if the user dies not click FINISH ORDER, they get charged and I don't get the order!

 

ugh.

 

any solutions?  suggestions?

 

 

If the user gets charged without even clicking the Finish Order, this would result in a chargeback which is serious.

Does anyon else use 2Checkout for their shop and have they run into this sort of problem.

Share this post


Link to post
Share on other sites

Go into the admin tool of 2checkout.com, and in thier shopping cart area there is a place to put the base directory of your site.

 

But I don't think this is even needed...I could be wrong, but I think OSC passes it all the values it needs because it returns to the confirmation page (w/ the comments box), and not the base directory that I originally set it up with.

 

I've not run into the problem with customers getting billed, and not getting their payment.

 

The checkout process is very straight forward, and there is nowhere else for them to go except back to the site by hitting "continue" or whatever the button says.

 

+ Plus on top of that...they will NOT come up as customers if they do not reach the "confirmation, your order has been completed page" of OSC. They will be in the DB as members, but NOT orders.

 

Please correct me if I'm wrong, or missing something.


I need to read the rules more often...

Share this post


Link to post
Share on other sites
If the user gets charged without even clicking the Finish Order, this would result in a chargeback which is serious.

Does anyon else use 2Checkout for their shop and have they run into this sort of problem.

 

I'm gonna have to say this does not happen. 2checkout would get so many chargebacks their heads would spin. It is totally illegal (for them to take a payment, and not pass it onto the store...), and the credit card companies would shut them down real quick if that was the case.


I need to read the rules more often...

Share this post


Link to post
Share on other sites

Err,

when I don't specify anything, it brings me back to OSC login page with all my images broken ...

what am I missing here ?


www.cyberkwoon.com : martial arts community

 

www.kwoon.info : communaute martiale francophone

Share this post


Link to post
Share on other sites

TTT ;-)

Meanwhile I searched and read almost all post related to this issue and it appears that I am not the only one with this problem. And So far no "clear and clean" answer has been provided ...

Maybe it is time ? ;-)

 

in other words : HEEEEEEELP, PLEEEASE PLEEEEEEASE HEEEEELLPP

 

:oops: 8) :lol:


www.cyberkwoon.com : martial arts community

 

www.kwoon.info : communaute martiale francophone

Share this post


Link to post
Share on other sites

But does setting the Merchant Account Number which 2Checkout gives, is enough to set the cart up for 2Checkout Orders.

Share this post


Link to post
Share on other sites

Click the green button in admin > modules > payments > 2checkout and fill out the necessary information. That should be enough.


This is a signature that appears on all my posts.  
IF YOU MAKE A POST REQUESTING HELP...please state the exact version
of osCommerce that you are using. THANKS

 
Get the latest Responsive osCommerce CE (community edition) here

Share this post


Link to post
Share on other sites

HIy burt

 

i had already done that , but I read that some people had problems with 2Checkout when customers placed their orders.

I am just hesistant a bit.

Share this post


Link to post
Share on other sites

Why don't you put some test orders through then ? :roll:


This is a signature that appears on all my posts.  
IF YOU MAKE A POST REQUESTING HELP...please state the exact version
of osCommerce that you are using. THANKS

 
Get the latest Responsive osCommerce CE (community edition) here

Share this post


Link to post
Share on other sites

I dont yet have a Merchant acocunt, i have not as yet applied for it.

Will apply it as soon as my cart is ready. So i just needed some info before i go for 2checkout.

Share this post


Link to post
Share on other sites

You don't need a merchant acocunt if you are going to use 2checkout.

 

If you use the 2checkout checkout page, then users can not get charged if they do not hit continue.

 

If you pass 2checkout the cc info, then users cannot be charged without placing the order.

 

There is no problems with the 2checkout module whatsoever.


-------------------------------------------------------------------------------------------------------------------------

NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit.

If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.

Share this post


Link to post
Share on other sites

Here's the dope on 2CO. I've been using them for 6 months.

 

The catalog/includes/modules/payment/pm2checkout.php file has this line of code in it as part of the $process_button_string variable:

 

tep_href_link(FILENAME_CHECKOUT_PROCESS, '', 'NONSSL')) .

 

This is the return URL passed to 2CO. You can also set this within 2CO (i.e. http://www.mysite.com/catalog/checkout_process.php), but from my experience the URL you pass takes precedence over the URL you enter into the 2CO admin screen. So, just pass it in the 2CO payment module.

 

 

If you prefer to have the customer enter their CC info at 2CO vs. your site (because you aren't on SSL, for example), then check out this thread for the changes to pm2checkout that you need to make:

 

http://forums.oscommerce.com/viewtopic.php...t=11672&start=0

 

 

If the customer does not click the "Finish Order" button at 2CO and return to your site, then the order will not be entered into your database. This is because the order completion process happens on checkout_process.php after the customer returns from 2CO. This is transparent to the customer in that upon return, they hit checkout_process.php where the order is loaded into db and then they get auto-redirected to checkout_success.php.

 

In the situation where they don't hit the Finish Order button, the order is logged at 2CO with the customer name, order total, etc however, the order is not in your osC database. I've had this problem and had to ask the customer what they purcahsed. Embarrassing. To get around this, I hacked together a contribution which you can get here:

 

http://www.oscommerce.com/community/contri...ions,871/page,6

 

HTH everyone,

 

Mark

Share this post


Link to post
Share on other sites

Mark, Thanks for your help.

However I read all those thread before and your contribution was the first thing I added when I noticed the problem.

My current situation :

I am using Tep Stable 2.1, I changed the pm2checkout so they enter the CC number on 2checkout page.

Store_session is "mysql". PHP 4.2.2, Apache, PHP module.

 

In test AND production mode, I can place an order, continue to 2checkout page, enter info, click on "complete order now" THEN it brings me back to https://www.2checkout.com/cgi-bin/Abuyers/purchase1.2c with my login page with broken graphics in it.

I don't see any "Finish Order" buttonon the 2checkout Page.

 

If I re-log in, then the cart still has my order and the Order DB has not been updated.

 

I may be missing the obvious but this is really bothering me as I am using 2checkout as my primary CC processor and I switched from another cart 2 OSC because of the 2checkout integration.


www.cyberkwoon.com : martial arts community

 

www.kwoon.info : communaute martiale francophone

Share this post


Link to post
Share on other sites

Just for the Archives :

I found what was the trouble : on 2checkout panel, return options page, there is this little things :

Overall Passback Parameters.

These parameters affect all three payment routines above.

Direct Return: No/Yes

 

Selecting No will make the Finish Order Button appears and everything works fine.

Selecting Yes will cause 2checkout to attempt to load your page from there server and thus lead to errors.

 

To use OSC make sure to select No and check if doesn't conflict with other scripts using other functions of 2checkout [like recurring bill or direct sales link] ;)


www.cyberkwoon.com : martial arts community

 

www.kwoon.info : communaute martiale francophone

Share this post


Link to post
Share on other sites
... If you prefer to have the customer enter their CC info at 2CO vs. your site (because you aren't on SSL, for example), then check out this thread for the changes to pm2checkout that you need to make:

 

http://forums.oscommerce.com/viewtopic.php...t=11672&start=0...

 

Has that been updated for 2.2-MS1? I noticed that the function selection() now returns an array, rather than a string, and I'm not sure whether to return an empty array. I was trying to solve this by locating the place where selection() is called, so that I could see how the return value is handled, but was unsuccessful. I did a grep for "pm2checkout", but couldn't find anyplace where the module (or class) is even referenced. How can that be? :?:

Share this post


Link to post
Share on other sites

I think I've figured it out. I determined that pm2checkout::selection() is called by payment::selection() in catalog/includes/classes/payment.php, although that didn't help a lot.

 

In pm2checkout::selection(), I commented-out the existing body, and added

return array('id' => $this->code, 'module' => $this->title, array());

 

That seems to have the desired result. :)

Share this post


Link to post
Share on other sites

If your orders do no show up in oscommerce you can use 2Checkout's Admin to view completed orders.

Share this post


Link to post
Share on other sites

×