Requiring our users to provide all the information for a valid login isn't
really a 'Pay Now' option imho.

Since it's required anyway to have a site login, I would show the Pay button
only when you have validated the account creation form and the new account
is created in your database.

As a visual trick maybe you can display a 'Pay Now' button that not links to
PayPal but only submits your own account creation form.


On Sat, Sep 19, 2009 at 12:12 AM, Dave Maharaj :: WidePixels.com <
[email protected]> wrote:

>  I managed to figure out the harder PayPal Pro website gateway integration
> but cant seem to figure out the simple Pay Now buttons.
>
> Basic scenario is if the User is not logged in they have to create an
> account and pay in 1 shot. Pay Pal has a requirement that you offer
> customers the option to use Pay Now / Express Checkout  without logging into
> your site I need to figure this out.
>
> So the form appears with "Create your account" username,password, confirm
> password so submit the form if it validates the user is created, take the
> newly created User.id and pass that to PayPal in [custom] key value => $id
> but how do I then send the info to PayPal?
>
> If I click on the PayPal buy now button it sends the user to PayPal to log
> into their PayPal account but at this point its too late because I sent no
> info. One or the other but I cant seem to figure out how to do both at once.
>
> Should I create a regular registration form but point it to PayPal $url,
> run validation before sending on the User.fields. If validates creates the
> user , grab the id and then pass that to the info that gets sent to PayPal?
> But once the form is validated wont it just send off ?
>
> Clueless.....
>
> Can someone who has done something like this point me in the right
> direction, tips, suggestions.
>
> Greatly appreciated.
>
> Dave
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to