Home Forums Plugins Offline Credit Card Processing Support Empty Emails

Welcome to our community support forums! We're here to help - but if you have an urgent request for a Pro Plugin, you will get a prioritised response through our Premium Support page.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #6858
    epschmidt
    Participant

    I’ve been testing the offline cc processing plugin for the last few days with everything working ok, except everyday I get around 3-6 empty emails that come from the offline cc plugin. They do not have any content or subjects but they have the empty fields Name, Email, First, Last, Credit Card. They usually get sent all at once and they say they are “from” myself. Any idea what could be causing these?

    #6859
    Michael Visser
    Keymaster

    Hi eschmidt, I’ve been unable to reproduce this issue, I’m working with Roy to make an immediate update of this Plugin as a payment gateway to get away from the issues surrounding Checkout fields and empty e-mail.s

    #6860
    bigmountain
    Participant

    Michael, do you have an update on this issue?

    I have been getting complaints that the customer is either receiving NO receipt or a blank one.

    Please advise.

    #6861
    Michael Visser
    Keymaster

    Hi bigmountain, I’ll be releasing an urgent update to include validation on the Credit Card fields, this is the cause of ‘blank’ e-mails. From here I’ll release the update with Roy to migrate over to payment gateway.

    #6862
    bigmountain
    Participant

    Hi Michael… any update on your urgent update to this?

    #6863
    epschmidt
    Participant

    bigmountain,

    I added some email validation to my sendmail.php file to prevent the sending of blank emails. I believe the problem was bots hitting the page and trying to send the form. Anyway, here’s what i used…

    if(trim($_POST['mail']) == '')  {
    		$hasError = true;
    	} else if (!eregi("^[A-Z0-9._%-]+@[A-Z0-9._%-]+.[A-Z]{2,4}$", trim($_POST['mail']))) {
    		$hasError = true;
    	} else {
    		$mail = trim($_POST['email']);
    	}
    
    if(!isset($hasError)) {
    	mail( $to,$subject,$message,$headers);
    
    }

    This way the CC email will not send unless the user enters an actual email address. This has stopped us getting totally blank CC emails from the plugin. I still also have the occasional problem of no CC email being sent on a successful order. I’m hoping the updated plugin will take care of this.

    #6864
    Michael Visser
    Keymaster

    Hi eschmidt, this should be sorted now with the integration to custom payment option. Look forward to you guys confirming this.

    #6865
    epschmidt
    Participant

    I updated the plugin this morning and everything seems to be functioning well. I think removing the dependency on jQuery will eliminate the problems I was having with the emails.

    #6866
    Michael Visser
    Keymaster

    Nice, let me know if there’s anything I can add. Aiming for an update by the end of the day or tomorrow.

Viewing 9 posts - 1 through 9 (of 9 total)
  • The forum ‘Support’ is closed to new topics and replies.