All Access Pass: Can't Download Included Products - wordpress

I'm having issues setting up the All Access Pass with Easy Digital Downloads. Whenever a user tries to download a products that is included in their All Access Pass it gives the following notice:
You must have an active subscription to XXXXX in order to download
this file.
However, the relevant Download variant included in their All Access Pass is shown as having no price and the download button. Products and variants outside of their All Access Pass show a price and the checkout button.
So, it appears that EDD is detecting these product variants as being a part of their All Access Pass. So why can't they download their included Download product?
If a Download products is purchased outside of the All Access Pass, it can be downloaded without issue. But, not when the item is a part of an All Access Pass. It suggests that the Download product subscription isn't being overridden by the All Access Pass in terms of the downloading part.
Here's how the products & passes are setup:
I have Recurring Payments extension installed and have all Download products on a year subscription. I also have All Access extension installed and created a pass which grants access to variant 1 of all Download products. The All Access Passes are also on a yearly subscription.
P.s. I'm trying to set this up for a client who no longer has an active license for the All Access extension so we are unable to currently go via the dev support for this.

Try this options:
Downloads > Tools > General. And select: All Access - Process All Access Passes.
Go to Downloads > Customers. In this section you can select 1 customer an go to: Customer Details > Tools. And Try with this option: Regenerate Customer All Access Passes.

Related

Delete WooCommerce Analytics data

I try to anonymize WooCommerce for debug access by third party plugin developers with a bash command line script on my linux server. I successfully could remove users and orders but now I discover that all the sales statistics are still available in WooCommerce' Analytics including names and figures. Where do I find this in database so I can include it my database query to address it?
By request I include here a screenshot of WC analytics' first page with sales and order reports, financial data not to be revealed a plugin author.
Try to run WooCommerce > Status > Tools > Clear Analytics Cache tool. Analytics dashboard is using a lot of caching, otherwise it would be too slow. Before clearing the cache, make sure you empty the orders from the trash too.
And while you are on the WooCommerce > Status > Tools page, delete all transients too.

how can run automatic Regenerate Product lookup tables on WooCommerce -> Status -> Tools by cron jobs?

I have imported the products using some API's. But Every time I import the products, it's ask to regenerate the woocommerce lookup tables. So how can I run Regenerate Product lookup tables on WooCommerce -> Status -> Tools by cron jobs programmatically?
This issue is over a year old so I'm guessing you've either figured it out or moved on. I'm posting this here more as a shortcut for anyone looking into this in the future.
You have a few ways you can accomplish regenerating product lookup tables for WooCommerce.
1. Use the WooCommerce REST API
The WooCommerce REST API documentation is pretty helpful here. Do a GET request to get a list of all the available tools from system status, then run a PUT request as noted in the docs here - https://woocommerce.github.io/woocommerce-rest-api-docs/#retrieve-a-tool-from-system-status
You'll want to generate API keys in WooCommerce before making those requests. They've got it pretty well documented here as well - https://docs.woocommerce.com/document/woocommerce-rest-api/
2. Use the WP-CLI
If you're a die-hard WordPress developer you could benefit from using the WP-CLI tool - https://make.wordpress.org/cli/handbook/
You'd run the command wp wc tool run regenerate_product_lookup_tables --user=1
3. Bake it into the WordPress admin panel
As noted in the WooCommerce developer documentation you can use the update_lookup_table method from the WC_Data_Store_WP class - https://developer.woocommerce.com/2019/04/01/performance-improvements-in-3-6/
This feels overkill since you can just go to WooCommerce > Status > Tools > Product lookup tables and click the "Regenerate" button on the right. I guess it could be useful if you're using an automation tool like Selenium to log into your WordPress and do things. I could see the benefit of using update_lookup_table in a custom admin page or plugin to reduce the amount of clicks and page loads that your script would need to navigate.

No Index shown in Algolia dashboard despite WordPress setting shows index created , Why?

I downloaded the latest version of WordPress plugin and Installed it. Then I pasted three keys required under setting. After that indexing was tried.
However, I find that the Aloglia dashboard shows No Index .
Am I doing something wrong or plugin is not connecting.
I have latest versions of WordPress
If you are using the latest version of the plugin, 0.2.5 right now, here are the required steps to index your content:
Add your App ID, Search API key and Admin API key on the settings page,
Ensure that when you save the page, you get a success message,
Go turn on the logging on the 'Logs' page (this is optional but helps debugging)
Check some indices on the 'Indexing page' and hit the save button
From there the indexation tasks should start being queued and handled.
You have to wait a few seconds to see the queue status refreshes.
You can also check your logs to see what happened.
If you have errors in your logs, please post them as comment.
There are 2 common issues that would make your WordPress instance not able to contact Algolia servers:
Your server has no access to the network,
Your are using docker in a configuration that does not allow the server to access itself when calling the url of your website.
More detailed steps to get the search plugin for WordPress up and running can be found in the official documentation of Algolia Search plugin for WordPress.

Can I find out how many people are using my WP plugin?

I'm wondering is it allowed and also what's the best way to track how many users are currently using and running your WordPress plugin?
It's not really allowed without user permission, best bet is to check your plugin stats for active versions and download counts.
No "phoning home" without user's informed consent. This seemingly
simple rule actually covers several different aspects:
No unauthorized collection of user data. For example, sending the admin's email address back to your own servers without permission of
the user is not allowed; but asking the user for an email address and
collecting if they choose to submit it is fine. All actions taken in
this respect MUST be of the user's doing, not automatically done by
the plugin.
All images and scripts shown should be part of the plugin. These should be loaded locally. If the plugin does require that data is
loaded from an external site (such as blocklists) this should be made
clear in the plugin's admin screens or description. The point is that
the user must be informed of what information is being sent where.
Source: Detailed Plugin Guidelines - Wordpress.org
Why not just check how many people have downloaded your WP plugin?
You could make a callback to your server, but many users won't like it.

Automatically send a newsletter everytime a page is updated

I have this page:
http://www.thedome.it/cmsms/index.php?page=alla-spina
I'd like to send a newsletter to subscribers every time this page is updated, automatically. I don't have admin privileges for this CMS thus I can't install modules, so I was thinking about a service such as FeedBurner, if only this page had a unique RSS feed (but AFAIK it doesn't, right?).
Do you know of any service/software that will allow me to solve this particular problem?
Thanks.
To do this without access to the server you will need another server with corn jobs enabled.
If I there you I would create a simple scrape script which would also check if the content of the page have not changed. Using print version of the page may make it much easier to process. The last thing to do is to set up a corn job which would run the script at desired intervals.

Resources