Online activation fails

Hi,
Using the latest WooCommerce integration kit, we cannot complete the activation, it fails with a page not found error.

Checked everything, testsetup.php returns:
XLS Padlock WooCommerce Integration Kit
Performing tests…
Testing access to WordPress
→ WooCommerce was successfully found. API returned 5 orders.
Test finished with Success. Please remove this testsetup.php file now.

server is an Azure App Service, linux - nginx server.

Subscription is properly configured according to docs,
[site_url]/activation/getsubactivation/1088 is the base activation url set in compiler,
[site_url]/activation/dosubvalidation/1088 is the base validation url set in compiler,
still fails, response returns the 404 html text:

What are we missing, if the error is on our side?
thank you

Indeed, it looks like the .htaccess in the activation folder is not read by your server. Since you are using NGINX, that could be the culprit. Ask your hosting provider for importing the .htaccess routes into your NGINX configuration.
BTW: you cannot access the activation URLs directly from your web browser, it will return an error. Only the POST method is allowed.

Ok, I should have checked that, excellent point, it MUST be in your documentation, as most servers have such config.
There are 6 rules in activation htaccess, copied them into server htaccess:
RewriteRule ^(tmp)/|.ini$ - [R=404]

RewriteCond %{REQUEST_FILENAME} !-l
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php [L,QSA]
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]

RewriteEngine is on
server htaccess

Still same error after restarting server, am I still missing something?

thank you

BTW, in your documentation, section 10.4 you refer to a wp plugin that is long dead since april 2022, your doc is released in feb 2023:
https :// wordpress .org /plugins/woo-custom-emails-per-product/
As a contribution to this forum, I use YayMail with these shortcodes in a Completed Order email:
Hi [yaymail_billing_first_name],
We have finished processing your order.
Activation token: [yaymail_user_email]-[yaymail_order_id]

Make sure the rules apply in the “activation” subfolder and not your website root folder.

Thanks for the suggestion! We’ll study it as a remplacement.

image

What if Not on IIS, and not on Apache? The guide only mentions these 2.

image

thank you

Ok, managed to get the server activation kit running.
However, was able to activate only one computer with the subscription activation token, the order quantity is 11.
I receive the message : ‘’[app] was successfully activated with your key.‘’:
image

but when trying to activate another computer I get the error:
‘Cannot validate your subscription, no previous activation was found in the order database.’
image_2023-10-20_080911450

My system ID is different, I can see the first activation attached to order:


But validation still fails.
Can you please suggest what’s wrong?
thank you

It’s the validation bug you mentioned earlier. It will be fixed in the incoming update.