Stream for: fill out the form, make a paypal payment, create an account

I implemented a PayPal transaction before, but this one has a twist that I'm not quite sure what the best way to handle this.

The main idea is that I want to create an account for the user when he provides some details and makes a payment through PayPal. Until BOTH user details are correctly filled out and payment is completed correctly, I should not create an account for the user.

The setting that I did before was just a Paypal button, which the user clicks, makes a payment and is sent back only to the general page “your order will be processed and sent”, therefore there was no preliminary order form involved.

This is different because

  • Before PayPal, I need to collect the initial user data.
  • after PayPal, I need to create a new user account and use the user data collected from the pre-paypal form in it.

I'm sure there is a logical way to implement this, but I'm not quite sure which thread I must execute to do this.

I use the Zend framework, by the way, it doesn't matter, but just in case, Zend has an easier way to help me with what I'm trying to do.

+5
source share
1 answer

I am doing the following (although I am doing this in ASP.NET):

  • User fills out a form
  • Information is stored in the order table in db with a unique account number
  • - PayPal URL- IPN,
  • Paypal ,
  • Paypal URL- IPN . , PP , . [ , PP .]
  • , , , .

, . PayPal IPN google IPN PHP.

+4

All Articles