5 replies [Last post]
__Tango's picture
Offline
Cool profile pic award.
Joined: 03/06/2008
Juice: 33
Was this information Helpful?

Hey folks, i have a site where users must pay to register for the site. I'd like to setup a registration workflow where the user sees three screens:

  • A page where they enter their information such as username, password, address, etc.
  • they go straight to paypal to make the payment
  • they come back to the site and (if they payment is successful), they are told that their registration is successful. (obviously, if there are payment errors or problems, it tells them so too).

I talked to ryan at Drupalcon Boston (Hi Ryan, thanks for your help!) about potential ways to modify the checkout screen so that the checkout screen was the first page listed above, but I'm wondering if there is another way to do this.

Is there's a way to do a payment with Ubercart without going through either the cart or the checkout page. I'm probably going to write a custom module that handles the workflow aspect, so effectively, what i think i'm looking for is a Pay API.

Does anyone know how to do this? Or have other suggestions?

Thanks!

...alex...

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Pay API or pay without checkout page?

Hey Alex, awesome profile pic. Eye-wink Ping me again if no one here has any ideas, but I think I remember one of your parameters being that you wanted to sell normal products to other customers too, right? If so, a general disabling of unnecessary checkout panes wouldn't fly, but they could be disabled through some module that picks up on the fact it's a new user registration.

__Tango's picture
Offline
Cool profile pic award.
Joined: 03/06/2008
Juice: 33
Re: Re: Pay API or pay without checkout page?

Yeah, i try to scare everyone with my avatar. GRRRR! aren't you scared? Smiling

As for my needs, yeah. I'm going to be selling two things:

  • Physical items: this is pretty standard stuff
  • Memberships: This is what i'm referring to here.

The physical items store will be pretty standard and i'm assuming ubercart will be well capable of handling that.

The memberships are a little different in that i'd like to hook up the user registration page to a way to pay. We had discussed hacking on the checkout page by copying modules and having them show conditionally (whether or not the user was doing a registration or purchasing physical goods), however, after thinking about it, i was wondering if there was a way to skip the checkout page altogether because my own workflow will gather all of the information i need.

So, like i said in my original post, i'm either looking for a way to (for some purchases) skip the checkout page altogether, or an API for payment.

Thanks!

...alex...

Ryan wrote:

Hey Alex, awesome profile pic. Eye-wink Ping me again if no one here has any ideas, but I think I remember one of your parameters being that you wanted to sell normal products to other customers too, right? If so, a general disabling of unnecessary checkout panes wouldn't fly, but they could be disabled through some module that picks up on the fact it's a new user registration.

henns20's picture
Offline
Joined: 10/11/2007
Juice: 31
that is an awesome profile pic...:)

that is an awesome profile pic...Smiling I am looking for the exact same thing.....but just getting into shoppingcart stuff so need some help. I would love to see if this actually done. At this point I would love to pay someone to hook up this feature for me and give me a little explanation on how it was done. Let me know. Thanks

detour's picture
Offline
Bug FinderGetting busy with the Ubercode.
Joined: 10/02/2007
Juice: 150
PayPal Buttons module

I developed the PayPal Buttons module for a client who wanted a similar workflow.

The module allows you to create a PayPal Buy Now button on a product page (that can replace the 'Add to Cart' button), which enables the following workflow:

1. User clicks 'PayPal Buy Now' and is redirected to PayPal for payment.
2. User pays on PayPal and is redirected back to the store site.
3. PayPal sends an IPN (instant payment notification) to the store site, which confirms payment, and optionally can include the billing/delivery address.

Currently, this does not work for anonymous users. I would accept a commission to add this feature to the module (which could operate by registering the user by their PayPal e-mail address).

henns20's picture
Offline
Joined: 10/11/2007
Juice: 31
That would work...but is there way this could also work with cc?

That would work...but is there way this could also work with credit card as well?