Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

What happened to "purchase without an account"?


muffin

Recommended Posts

Unfortunatelly this feature has not been implemented in the new checkout precedure. I have read that this should have been contributed, but all I can find are contributions aiming towards the old-checkout precedure snapshots.

 

Is there any contribution providing this feature for current snapshots?

Link to comment
Share on other sites

http://www.oscommerce.com/community/contri...ions,792/page,4 (11/22/2002)

http://www.oscommerce.com/community/contri...ions,215/page,6 (07/16/2002)

http://www.oscommerce.com/community/contri...ions,355/page,7 (10/07/2002)

http://www.oscommerce.com/community/contri...ions,111/page,7 (08/08/2002)

 

These contributions are written for snapshots with the old checkout precedure. Don' t think they will work on the new checkout precedure.

Link to comment
Share on other sites

I have tried them all, and none is working. The problem is that after registration I got returned to the login screen because either the password or email are not okay and there is no password;-)

 

Perhaps one of the OSC Gurus has an idea...

 

rainbow007

Besser heute als morgen......

Link to comment
Share on other sites

Mine is the contribution with 792 above.

 

I dont understand your problem as this system has been working fine for me for some weeks now in a live store - feel free to try it on my site but please use test as your name so I can delete you after.

 

My contribution creates a dummy password but otherwise makes the initial registration normally. There is no reason why it will not work for the duration of the session but if you leave and come back, you are of course a new guest.

 

The complex part in my contribution is how to handle customers who come back to either register again as a guest, create a new account or who use password forgotten. These situations are all managed according to my logic as described in the installation instructions. You may want different logic.

 

It is written for pre-november so probably does not work on post-nov.

Ian-san

Flawlessnet

Link to comment
Share on other sites

My contribution should work with post-November - it is just that I have not tried it yet!

 

Actually, it only affects approx 5 key files plus sundry others and only 1 of those files was actually amended as a direct result of post-november.

 

As most of this contribution is to do with MySQL and cosmetic stuff like login boxes (and not the order process that was the main thrust of post-november) there should be no problem using it.

Ian-san

Flawlessnet

Link to comment
Share on other sites

Ian,

 

Great contrib, seems to work great.

however on the creat_account.php page when choosing guest acct. i get teh following error at the very bottom of the page

 

Error!

 

Unable to determine the page link!

 

Any idea what would cause this?

 

Thanks

Link to comment
Share on other sites

I am sure that this error is not caused by my mod.

 

I think that it means that your banner manager cannot link to the banner?

Are you trying to run this on IIS on a PC by any chance? ie. Not on a Server? If so, the error will go when you load to a server.

 

Or, do you have a url so that I can see the site?

Ian-san

Flawlessnet

Link to comment
Share on other sites

  • 4 weeks later...

Ian,

 

I love the logic of your mod and will test it on my server tonight.

 

I had been using v55 (the other module) but ran into some errors regarding customer's re-entering the same email on quick checkout.

 

One question in your mod,

 

Would I be able to allow the guests to receive email confirmation's, and if so, how?

Link to comment
Share on other sites

Yes, just dont make the mod to the end of create_account_process.php ie. dont do this:

 

// Guest Account Start

if (!$guest_account) {

$email_text .= EMAIL_WELCOME . EMAIL_TEXT . EMAIL_CONTACT . EMAIL_WARNING;

tep_mail($name, $email_address, EMAIL_SUBJECT, nl2br($email_text), STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);

 

tep_redirect(tep_href_link(FILENAME_CREATE_ACCOUNT_SUCCESS, '', 'SSL'));

} else {

tep_redirect(tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'));

}

// Guest Account End

Ian-san

Flawlessnet

Link to comment
Share on other sites

  • 1 month later...

Has anyone had any luck getting these to work with MS1???

 

All have the same password error.....

 

Fatal error: Call to undefined function: crypt_password() in /home/thercpro/public_html/Order_Info_Process.php on line 340

 

This particular error was with Contrib: Purchase Without Account v.0.56

 

I am pretty sure the contrib description said it worked with MS1, but i may be wrong.

 

Anyone have any ideas???

 

Thanks.

Link to comment
Share on other sites

I get the exact same error..... would really like this to work...

 

heyday

 

Has anyone had any luck getting these to work with MS1???

 

All have the same password error.....

 

Fatal error: Call to undefined function: crypt_password() in /home/thercpro/public_html/Order_Info_Process.php on line 340

 

This particular error was with Contrib: Purchase Without Account v.0.56

 

I am pretty sure the contrib description said it worked with MS1, but i may be wrong.

 

Anyone have any ideas???

 

Thanks.

--

 

http://www.auctionpals.com

 

Long Distance as low as 2.9 cents

http://www.phonecow.com

Link to comment
Share on other sites

Far be it from me to provide help on a competing contribution to my own Guest Account mod, but it looks like a simple issue.

 

Do you have password_funcs.php installed in includes/functions/ and correctly defined in application_top.php?

Ian-san

Flawlessnet

Link to comment
Share on other sites

Thanks I will check into that. Is your MOD working with the current snapshot and what is the link to it.

 

As far as I know - I have not used it myself on the post-nov release but never had any reported problems nor any problem myself on my pre-nov site. Look at the previous page in this thread and mine is the top one on the list.

 

Test it if you like on my test shop from my www link below - but beware, any purchase will be real!

Ian-san

Flawlessnet

Link to comment
Share on other sites

Looks like a nice mod. I read your documentation and have a question.

 

With another shopping cart I had a similar setup.

 

If they choose not to create an account...... it still created one for them... so that later when they want to "Check on their order" they go to the check the order page and click on "email my password" and the random password is sent to them so they can login.

 

Kind of a sneeky way to do it ......

 

Now I will admit, I'm just 2 days new to osCommerce. With your setup... if they don't create and account..... can they still check the status of the order?

 

Thanks for any reply....

 

heyday

--

 

http://www.auctionpals.com

 

Long Distance as low as 2.9 cents

http://www.phonecow.com

Link to comment
Share on other sites

If they choose not to create an account...... it still created one for them... so that later when they want to "Check on their order" they go to the check the order page and click on "email my password" and the random password is sent to them so they can login.

 

Yep - thats how it works. The only material difference between a guest and a member is who creates the password. However, the logic has to be more complex as Guests can make many accounts whereas members are prevented from doing that, Guests do not get a welcome email whereas Members do, Guests expect to provide their Billing Address whereas Members create an account, etc etc

Ian-san

Flawlessnet

Link to comment
Share on other sites

hey there. I installed your MOD and I still get the error....

 

Fatal error: Call to undefined function: crypt_password() in /home/auctionp/public_html/catalog/create_account_process.php on line 268

 

Is there something I have to change?

 

heyday

 

 

 

If they choose not to create an account...... it still created one for them... so that later when they want to "Check on their order" they go to the check the order page and click on "email my password" and the random password is sent to them so they can login.

 

Yep - thats how it works. The only material difference between a guest and a member is who creates the password. However, the logic has to be more complex as Guests can make many accounts whereas members are prevented from doing that, Guests do not get a welcome email whereas Members do, Guests expect to provide their Billing Address whereas Members create an account, etc etc

--

 

http://www.auctionpals.com

 

Long Distance as low as 2.9 cents

http://www.phonecow.com

Link to comment
Share on other sites

Ok, here is the fix....

 

Thanks for the fix - so I asume that with this fix this mod works on recent versions despite the fact that it was written for pre-november 02?

Ian-san

Flawlessnet

Link to comment
Share on other sites

Ok.... one more bug I found...... maybe it is a bug... it was for me...

 

When you do create an account everything is fine...

 

but when you return and try to login you get

 

 

Fatal error: Call to undefined function: validate_password() in /home/auctionp/public_html/catalog/login.php on line 25

 

So I had to change my login.php from

 

// Check that password is good

if (!validate_password($password, $check_customer['customers_password'])) {

$HTTP_GET_VARS['login'] = 'fail';

} else {

$check_country_query = tep_db_query("select entry_country_id, entry_zone_id from " . TABLE_ADDRESS_BOOK . " where customers_id = '" . $check_customer['customers_id'] . "' and address_book_id = '1'");

$check_country = tep_db_fetch_array($check_country_query);

 

 

to this

 

// Check that password is good

{

$check_country_query = tep_db_query("select entry_country_id, entry_zone_id from " . TABLE_ADDRESS_BOOK . " where customers_id = '" . $check_customer['customers_id'] . "' and address_book_id = '1'");

$check_country = tep_db_fetch_array($check_country_query);

 

 

I saw this on another post....... so now it all works for me.

 

heyday

--

 

http://www.auctionpals.com

 

Long Distance as low as 2.9 cents

http://www.phonecow.com

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...