> I have a registration form where user enters all their info and selects an
> option for membership level which sends them to PayPal to complete the
> signup process.
> Problem:
> If user fills out the form, validates, it saved the new user but at PayPal
> they cancel the transaction so they now have an account with no access since
> they cancelled.
>
> I figured the best way would be save that data to a temp table and when the
> transaction is complete pull that temp data then save the user info creating
> the actual account.
>
> Ideas? Suggestions?
You can ask paypal to send a confirmation request after a successful
transaction (an IPN or 'instant payment notification'), so I would
create the user account as per usual, but flag it as 'unconfirmed',
paypal will include the email address in the IPN request, which you
can use to look up the user record and update it as confirmed.
cheers,
J
--
jon bennett - www.jben.net - blog.jben.net
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
No comments:
Post a Comment