Wednesday, December 30, 2009

RE: Temp data question

Better idea!

I'm just going to limit access with 0 credits if they did not buy any
(cancelled) or run out then when they login it takes them to purchase page.
That's all they can access then.

Thanks for the inspiration...

Dave

-----Original Message-----
From: cake-php@googlegroups.com [mailto:cake-php@googlegroups.com] On Behalf
Of Jon Bennett
Sent: December-30-09 10:27 PM
To: cake-php@googlegroups.com
Subject: Re: Temp data question

Hi Dave,

> 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
cake-php+at http://groups.google.com/group/cake-php?hl=en
No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 9.0.722 / Virus Database: 270.14.122/2590 - Release Date: 12/30/09
03:57:00

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: