PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Delete entry based on payment status

  1. Is it possible to delete an entry if a payment status is set to pending?

    Something like this would be great:

    function retrieve_guests_payment($entry) {
    	 $entries =  RGFormsModel::get_leads(1, '', 'DESC', '', '0', '99999999');
    	 foreach ($entries as $entry){
    	 	if($entry['payment_status'] == 'Pending'){
    	 		// delete entry
    	 	}
    	 }
    
    }
    Posted 12 years ago on Sunday September 30, 2012 | Permalink
  2. Closing this topic and continuing the discussion here.

    Posted 12 years ago on Monday October 1, 2012 | Permalink

This topic has been resolved and has been closed to new replies.