option to force a login before purchase

Project:PayPal Buttons
Component:Code
Category:
Priority:normal
Assigned:Unassigned
Status:patch (needs review)
Description
Project: 
uc_paypal_buttons

This patch adds an option in the button options to force customers to login before purchasing an item via PayPal Buttons.

When this option is checked, if a user is not logged in, they will be taken to the login screen (with the option to register also).

Once they are logged in, they will be immediately directed to the paypal payment page. The items, quantity, and attributes will all be remembered from when they choose them pre-login.

PreviewAttachmentSize
uc_paypal_buttons_issue2.patch3.42 KB
TR
TR's picture
Offline
Bug FinderFAQ ModeratorGetting busy with the Ubercode.
Joined: 11/05/2007
Juice: 3424
Re: option to force a login before purchase

Can't you just disable anonymous checkout at admin/store/settings/checkout/edit ?

<tr>.
todda00@drupal.org's picture
Offline
Joined: 12/09/2008
Juice: 40
Re: Re: option to force a login before purchase
Assigned to:TR» todda00@drupal.org

This module (uc_paypal_buttons) does not use the checkout, it goes around it.

I wish there was a module that was available to use paypal subscriptions that also used the checkout procedure, because there is a lot of good functionality it skips over.

jseymour's picture
Offline
Joined: 10/08/2008
Juice: 46
Re: Re: Re: option to force a login before purchase
Assigned to:todda00@drupal.org» jseymour

Thanks. Took me a while to apply the patch correctly, but it is now working.

Thanks again. This will definitely reduce the chance for a duplicate account.

My Ubersite - WebServerMasters.com

jseymour's picture
Offline
Joined: 10/08/2008
Juice: 46
Just an update. This is

Just an update.

This is working great as expected. Have not found any problems.

My Ubersite - WebServerMasters.com

detour's picture
Offline
Bug FinderGetting busy with the Ubercode.
Joined: 10/02/2007
Juice: 150
Patch reviewed
Assigned to:jseymour» detour

Hi todda00,

Thanks for another great patch. I'll be including this feature in an upcoming version of this module.