Which one comes first?
Last Post 12-17-2009 08:38 AM by David To. 3 Replies.
AddThis - Bookmarking and Sharing Button
Author Messages
Michael ManUser is Offline
river guide
river guide
Posts:152
Avatar

--
12-17-2009 06:30 AM

    I have a form that accept payment and insert data to database.

    My question is when user clicks on submit button does it insert the data to database first then authorize the payment or it validate the payment first then insert?

    David ToUser is Offline
    river guide
    river guide
    Posts:2719
    Avatar

    --
    12-17-2009 06:50 AM
    HI, what payment gateway are you using? Paypal, authorize.net, etc? If it's Paypal, you tie each completion event to a Paypal status event so the order will go by Paypal status. If it's Authorizenet or Veri, it should redirect you to the payment gateway and also add you to the database simultaneously (I think I'm correct on this but will have to verify with Chad Nash to be completely 100% sure). -- David
    Michael ManUser is Offline
    river guide
    river guide
    Posts:152
    Avatar

    --
    12-17-2009 07:15 AM
    David,

    I am using Authorize.nẹt I just want to only insert data to database if the payment is going through. Is that out of the box?
    David ToUser is Offline
    river guide
    river guide
    Posts:2719
    Avatar

    --
    12-17-2009 08:38 AM
    HI Michael, I just talked to Candace and she told me that the completion events only trigger if the payment is successful. This is all done through code in the background so if your Authorize.net payment is not successful, the insertion into the database would fail. -- David


    ---
  • film izle
  • 720 izle
  • film
  • sinema izle
  • film makinesi
  • T�rk�e dublaj film
  • film izle
  • film izle
  • baglan film izle
  • sinema izle
  • 1080 film izle
  • film mercegi