close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

PayPal Standard IPN Response Record Update and Email Problem

Thread began 12/11/2009 1:46 pm by Kevin373660 | Last modified 12/21/2009 11:29 am by Kevin373660 | 4632 views | 18 replies

Eric Mittman

That is great to hear that you are getting the options back now.

When it comes to ensuring the user cannot use the codes until after the transaction was successful the methods you described are exactly rite.

Rite now you are just populating the cart and sending the email correct? To update the order or the details of the order you can add in a store order summary or store order details server behavior. So long as you have the same order id number it will update the existing or or order details. You will just need to make sure you have a column in the table to hold the status, then when you ensure that the transaction is successful on your IPN page you use the server behavior to set the value in the column.

The last part of this would be implementing the check like you have noted, using security might be a little tricky for this. I think the easiest way to go would be to have a recordset that will select the order details based on the activation code used. You can then filter the rs to only return records where the status column is set to success or whatever value you use to indicate this. Finally you can do a check for rows in this recordset to determine if everything is as it should be, if there is a row in the rs then the verification code is correct and the status was successful.

If there are not any rows then there is a problem and you would want to redirect the user to an error page of some type.

This is almost exactly what you have posted but with some more specifics. Let me know if you have any other questions on this or run into any problems.

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...