Ishtiyaq Husain
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] WooCommerce REST API Error 401Thank you @mikejolley for your help.
Woocommerce version 3.6.0 and 3.6.1 has same content for “is_request_to_rest_api()” function. My system was working fine with 3.6.0 but it stops working with 3.6.1
This is how I solved my problem, I de-activated all the plugins. First I activated Woocommerce and test the WP REST API request and it worked. Then I started activating rest of the plugins to check if a plugin is creating the problem. Finally, I activated all of the plugins and none of them created the problem. I don’t know what happened, why it was not working earlier. I am happy it’s working now.
Thank you @mikejolley once again for your help.
??Forum: Plugins
In reply to: [WooCommerce] WooCommerce REST API Error 401How to contact the help desk?
Forum: Plugins
In reply to: [WooCommerce] WooCommerce REST API Error 401Tried with the postman, PHP code and browser address bar (query string). I am getting the same error for all the mentioned methods. Above methods are working fine on older Woocommerce version on the same server (I have 2 Woocommerce sites running on the same server). This is the first time I am getting this kind of error after the update.
Should I downgrade the Woocommerce? What about the new database, will it work with the older Woocommerce version?
Forum: Plugins
In reply to: [WooCommerce] WooCommerce REST API Error 401I am using NGINX web server, Is there any specific setting with NGINX?
Forum: Plugins
In reply to: [WooCommerce] WooCommerce REST API Error 401This is how I am trying to access, I am getting the same error from POSTMAN as well. I made changes in .htaccess file as per your suggestion, still getting the same error.
$woocommerce = new Client(
‘https://example.com/’,
‘ck_1XXXXXXXXXXXXXXXXXfda’,
‘cs_6XXXXXXXXXXXXXXXXX8a8’,
[
‘wp_api’ => true,
‘version’ => ‘wc/v3’,
‘query_string_auth’ => true,
]
);print_r($woocommerce->get(‘orders/123456’));
Forum: Plugins
In reply to: [WooCommerce] WooCommerce REST API Error 401The same problem with the suggested solution. if this is an “htaccess” problem, then why it was working fine before the update?
Forum: Plugins
In reply to: [WooCommerce] Woo 3.6.1 REST API for 3rd party pluginsAfter the latest WooCommerece update, my WP API is also not working. Before update that everything was working fine. Please check, getting the following error:
{
“code”: “woocommerce_rest_cannot_view”,
“message”: “Sorry, you cannot view this resource.”,
“data”: {
“status”: 401
}
}I am also unable to see revenue data in GA, I got some data but suddenly it stops working. Please help.
My website is: https://medicinesmall.comForum: Plugins
In reply to: [Wallet for WooCommerce] Coupon Cashback Not WorkingPlease remove or give an option to enable/disable cashback coupons uses for non-logged in users.
Forum: Plugins
In reply to: [Wallet for WooCommerce] Cashback as coupons??@subratamal
I think it’s a bug, I created a coupon “MONSOON” as a cashback 5% by selection option “Apply as cashback”. When I tried this coupon, It shows the cashback amount and but It also deducting some amount from the cart. Let me explain you,
When coupon code not applied:
Product Price = ? 100.00
Order Qty = 5
Cart Amount = ? 500.00
Shipping: ? 68.44
Total : ? 568.44 (includes ? 64.01 IGST)After applying coupon code “MONSOON” (5% cashback):
Product Price = ? 100.00
Order Qty = 5
Cart Amount = ? 500.00
Cashback: -? 25.00
Shipping: ? 68.44
Total : ? 565.76 (includes ? 61.33 IGST)See the difference between total amount and IGST. This coupon should not affect the car amount because it’s a cashback coupon, isn’t it?
As per my observation, It is deducting from the GST amount of the the product and the deduction is coupon value like 5% (in my case).
Do you have any solution for this?
- This reply was modified 6 years, 8 months ago by Ishtiyaq Husain.
Forum: Plugins
In reply to: [Code Snippets] Whoa! What the hell happened there?@engagecommerce your solution fixed my problem but I wouldd suggest developers to fix it.
Forum: Plugins
In reply to: [Code Snippets] Whoa! What the hell happened there?New update broke my site, please fix it ASAP or let us know the solution.
Warning: require_once(**************/wp-content/plugins/code-snippets/php/import-export.php): failed to open stream: No such file or directory in **************************/wp-content/plugins/code-snippets/php/class-code-snippets.php on line 60 Fatal error: require_once(): Failed opening required '***********************/wp-content/plugins/code-snippets/php/import-export.php' (include_path='.:/opt/alt/php70/usr/share/pear') in ******************/wp-content/plugins/code-snippets/php/class-code-snippets.php on line 60
Forum: Themes and Templates
In reply to: [AccessPress Store] Compatible with Woocommerce 3.0?It may create some problem with your existing theme. you have to be careful. I copied “content-product.php” from woocommerce folder but it didn’t work for me.
accesspress-store/woocommerce/content-product.php version 2.6.1 is out of date. The core version is 3.0.0,
@salescs you can modify theme on your own using custom css.
Forum: Themes and Templates
In reply to: [AccessPress Store] Compatible with Woocommerce 3.0?@kent-brockman Yes, simple copy and paste and it’s done. No customization were needed, every things looks good.
Site URL: https://shop.homoeonurture.com/Forum: Themes and Templates
In reply to: [AccessPress Store] Compatible with Woocommerce 3.0?Woocommerce given solution for this, Now it’s gone.
https://docs.woocommerce.com/document/fix-outdated-templates-woocommerce/Solution:
Copy the default template from wp-content/plugins/woocommerce/templates/[path-to-the-template] and paste it in your theme folder found at: wp-content/themes/[path-to-theme]This problem was with theme only.
Thanks!