Fatal error: Uncaught WC_Data_Exception: Invalid billing email address - woocommerce

I had my woocommerce website hosted on a domain, after hosting it on my xampp local server it shows this error:
Fatal error: Uncaught WC_Data_Exception: Invalid billing email address

After googling for hours these processes worked. This type of error is coming usually when you run the backup on the local server using plugin like All In One Migration Tool
Go to the wp_options (your prefix might be different)
change the admin_email to a real email
Come back to your dashboard and refresh the page
Go to Setting > General Setting > Administration Email Address (Now the Administration Email Address is what you put in the database)
Now you are here (Setting > General Setting > Administration Email Address) don't change anything just hit the save changes button at the bottom.
Now from your dashboard go to User > Edit Admin if the email box is not updated automatically change the email here also.
Scroll down to the bottom and click Update Profile

I resolved it by changing woocommerce from email and admin email.

Related

How can I fix a "Sorry, you don't have access to this application" error when accessing app from link in email?

I have an App Maker app that sends a notification email to a user when they have to take action on an item. The email includes a link into the app to access the item they need to take action on directly. For whatever reason, when they click on the email in the link, users are getting a "Sorry, you don't have access to this application" error.
The URL generated in the email is correct, and exactly matches the URL you'd be at if you navigated to the same page/record from within the app.
It looks like there's some kind of link resolution going on when you click on the email link -- there's a brief period when the URL in the address bar is of the form https://www.google.com/url?q=https://script.google.com/a/xxxxx/macros/s/<correct script ID>/exec?evalId%3D823%23EditEvaluation&source=gmail&ust=<number>&usg=<string>
For almost all users, the link resolves to a URL in the form of https://script.googleusercontent.com/a/macros/xxxxx/echo?user_content_key=<string>&lib=MxCG-Sk-HF4ilQO-Kv7w6fINeS3Mb45sS#EditEvaluation, which then goes to a page that just has the "Sorry, you don't have access to this application" message.
If I copy and paste the full correct URL (https://www.google.com/url?q=https://script.google.com/a/xxxxx/macros/s/<correct script ID>/exec?evalId%3D823%23EditEvaluation) into a new tab, it goes to the same error.
The only time this error doesn't come up is when I'm logged in as the Admin user -- I can click on an email link or copy and paste the link into a new tab, and it loads just fine.
Here's what I've checked:
In the deployment settings, the app runs under the user's account, and application access is not restricted.
Access to the data models involved, as well as to all associated relations, is set to Everyone.
Security for the page involved is set to Everyone.
There are no permission-related bindings for visible or enabled anywhere on the target page.
Can anyone else see something I'm overlooking?

WooCommerce SagePay Server Integration

These are my settings when I go to payment page I not able to choose the card.
Click the URL below to view the screenshots.
Admin Setting: http://betaurl.info/admin-setting.jpg
Live Website: http://betaurl.info/live-website.jpg
Trying to checkout from your site returns the error 'Transaction Failed. INVALID - 4020 : Information received from an Invalid IP address.'
You need to add your Server IP to 'Valid IPs' in your My Sage Pay settings.

Sending post by email in WordPress

I just set up a site/blog in WordPress, so I'm using the latest version (4.2.2, I think).
I'm trying to use the feature that allows me to post new articles via email.
I went in to settings and set up the Post by Email settings. I THINK I am supposed to set up a new email address, so I did at my webhost (Bluehost) cPanel. In WordPress I entered the mail server that my webhost says I should use, the email address I created, and the password for that email address. For the POP3 port, I wasn't sure if I should use the incoming or outgoing port, so I tried both (see below).
I found this article that says after doing all of the above, you have to go to http:\www.mysite.com\wordpress\wp-mail.php. (If this is a required step, why doesn't the Post via e-mail settings page in WP say so???) Unless it isn't a required step...
But I digress... I changed the url appropriately for my installation and tried to open the wp-mail.php page, but I got this error message for BOTH ports (incoming and outgoing):
POP3 connect: Error []
Any thoughts, anyone?
https://codex.wordpress.org/Post_to_your_blog_using_email says that its depreciated and will probably be removed so its best if you download one of their suggested plugins and configure it within the plugin of your choice.

wordpress password must be reset im told, but there is no outgoing email on server

Recently i forgot my login to my wordpress installation.
I managed to change my password threw the database and now i can login...
But after i login i get the error:
"Please enter your username or email address. You will receive a link to create a new password via email. Your password must be reset. Please submit this form to reset it."
The Problem is my server cant send emails, .... so now what are my options ?
Maybe this is a feature of a plugin i installed, i have been inactive from this site for a long time.
EDIT: Plugin is login-security-solution, i will now disable it and keep you updated.
Conflicting plugin called login-secutiry-solutions caused this, I removed it and now im in.

Failed to send email from contact form 7

I am using contact form 7 one of my wordpress site that using vantage app theme. But problem with sending contact mail. when I am trying to send mail get following message
"Failed to send your message. Please try later or contact the administrator by another method."
Thanks
The only problem is you can send emails from you hosting domain email accounts only.
so check your to email address that is comes under you domain name
I hope this will solve your problem
This is almost certainly due to your particular hosting setup. There are a host of issues that can stop the sending of emails. It depends entirely on your local Server & WordPress configuration.
You will need to investigate this issue for your particular local configuration. See Contact Form 7 Email Issues.
By the way it's not due to "hosting php version or maybe mysql version" - it's due to basic stuff that you can address by working through the issues in the link.
I faced the same issue some time back. Are you using any WordPress caching plugin? like WP super-cache? I resolved this issue by following below steps on WP Super-cache.
Go to WP Super-Cache Admin panel
Go to “Advanced Tab”
Search for “Add here strings (not a filename) that forces a page not to be cached.”
Add '/contact/' (your Contact Form Page name)
Save Strings.
I was able to fix this problem after I spoke to my client's hosting company. The host claimed that the only requirement they had for emails to be passed through their system was that either the To: or the From: field contain an email address under the hosted domain name. They uploaded a test script (an ordinary PHP mail script) where the From: field was set with an address within the domain and the To: field was set to an outside email address. That script worked. I confirmed that I had the To: field in CF7 set to an email address within the appropriate domain but the form didn't function. Then I set the From: field to an email address within the domain and the form finally functioned. It appeared, therefore, that the host was incorrect about the To: field's address being within the domain being sufficient.
Into the "Form"(inside the mail menu) section you've to give the domain name of your site. And inside the message body use the short codes which will appear into the top of the mail menu.
And when you create a form field such as "name" / "email" / "phone no" etc, then give a name to them. Those name turns into a short codes like
[your-name]-Name, [your-mail]-Email(those are defaults, you can give any name according to your choice) etc, copy the short code and paste into the message body, don't write it only copy and paste.
Hope this will help you.
This suggestion depends on how your hosting provider deals with mail headers:
So, I have made all tests (javascript conflicts, etc.) and decided the problem could only be from my host. I contacted them and they told me that in email header, the "From:" SHOULD be exactly the same as the email I configured to receive the messages from my visitors.
As far as I understood, by default "Contact Form 7" uses visitor email to put it in "From:" but some host providers do not allow that.
My host provider don't even allow mail() function so I had to install WP MAIL SMTP.
So, resuming, I just added this to all my forms in "Additional headers":
From: your#domain.com
This means, you have to insert one email with same domain name as your website, otherwise your hosting might not send the email.
I lost a couple of hours with this...
Maybe is another plugin incompatible with contact form7 plugin.
Deactivate all plugin one by one and try send email.
I fixed the problem. webadmin email account was not setup. Once I setup the email account it is working fine.

Resources