Support » Plugin: Advanced Contact form 7 DB » Save after Payment Complete

  • Currently, a record is saved even if the user doesn’t complete payment. How can I mark or prevent a record from writing to the DB if the payment isn’t complete?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Vsourz Digital

    (@vsourz1td)

    Hello @ljhooo,

    According to your requirement, you will need to check for the payment is been already done or not.

    We have checked your form and Paypal redirection for the payment too. According to us, the data is been already saved to our DB before leaving the website to receive the payment and lands on the thank-you page.

    So, for this you will need to create an hidden field in your form saying that the payment is still pending. So you will get in our DB as not paid, then you can manually check if the payment received or not in Paypal and unmark the same filed as paid.

    Hope the solution helps you out.

    Regards,

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.