Hello:
Although we have disabled the Affodability widget in the Woocommerce > Payments> Razorpay settings. Still the widget loads the affordability.js on our all product pages.
How to disable it since it is hampering our Core web vitals?
Regards
]]>Hi,
We have issues with the plugin lately after plugin update. Customers make the payment but the order status changes to cancelled after processing status.Upon checking few threads it suggested that removing the Hold Stock feature to null in woocommerce will resolve the issue.
After doing the same few orders move to “Pending Payment” even though customers make the make payment.
Does anyone have the similar issues ?
I am currently using this plugin for payment process in my website.
I would appreciate any documentation, tutorials, or guidance on these topics. If needed, I can also provide access to my WordPress admin for further assistance.
Thank you in advance for your support. I look forward to your response
]]>Hi! ??
We were trying to track down a reported error with a stacktrace as follows:
#0 /.../wp-content/plugins/woocommerce/includes/class-wc-data-store.php(159):
Abstract_WC_Order_Data_Store_CPT->read(Object(WC_Order))
#1 /.../wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(114):
WC_Data_Store->read(Object(WC_Order))
#2 /.../wp-content/plugins/woo-razorpay/includes/razorpay-webhook.php(158):
WC_Abstract_Order->__construct('3001004173')
#3 /.../wp-content/plugins/woo-razorpay/includes/razorpay-webhook.php(103):
RZP_Webhook->paymentAuthorized(Array)
#4 /.../wp-content/plugins/woo-razorpay/woo-razorpay.php(986):
RZP_Webhook->process()
#5 /.../wp-includes/class-wp-hook.php(324):
razorpay_webhook_init('')
We think this may come from a much older version of the RazorPay plugin, as we don’t see any direct instantiations of order objects in the current webhook class. However, I wanted to reach out as we spotted a somewhat similar problem in your current code:
$order = wc_get_order($orderId);
$rzpWebhookNotifiedAt = $order->get_meta('rzp_webhook_notified_at');
This is probably fine, 99% of the time, but wc_get_order()
can also return (bool) false
, so there is a risk you may attempt to call a method on a boolean, which would lead to a fatal error (this could occur as the result of a race condition, in which the order is deleted by a concurrently running process).
from last few weeks user make the payment but order showing pending payment and not mark as processing, please fix that issue otherwise we have to move to another payment gateway
]]>Hi
I am getting this fatal error notification from a webhook call from RazorPay:
WordPress version 6.5.5
Theme: Astra
Current plugin: 1 Razorpay: Signup for FREE PG (version 4.6.7)
PHP version 8.1.29
Error Details
=============
An error of type E_ERROR was caused in line 158 of the file /var/www/primeinvestor.in/htdocs/wp-content/plugins/woo-razorpay/includes/razorpay-webhook.php. Error message: Uncaught Error: Call to a member function get_meta() on bool in /var/www/primeinvestor.in/htdocs/wp-content/plugins/woo-razorpay/includes/razorpay-webhook.php:158
Stack trace:
#0 /var/www/primeinvestor.in/htdocs/wp-content/plugins/woo-razorpay/woo-razorpay.php(3000): RZP_Webhook->process()
#1 /var/www/primeinvestor.in/htdocs/wp-includes/class-wp-hook.php(324): razorpay_webhook_init()
#2 /var/www/primeinvestor.in/htdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#3 /var/www/primeinvestor.in/htdocs/wp-includes/plugin.php(517): WP_Hook->do_action()
#4 /var/www/primeinvestor.in/htdocs/wp-admin/admin-post.php(61): do_action()
#5 {main}
thrown
Please address,
Srikanth Meenakshi
]]>Hi,
Your plugin is working fine but I am facing an issue. It is slowing down my admin side. I am using query Monitor to check the loading time.
As you can see in the following screenshot, it takes around 4 seconds to load the plugins page when the plugin is active.
Now, when I deactivate the plugin, loading time dropped to 1 second.
Can you please look into it?
Your plugin is very helpful. I am very happy with your international payment options and want to use it. But I need this issue fixed.
FYI: I am full stack web developer so you can share any technical details with me. Also, my server is already VPS, Dedicated and under 25% usage so there isn’t any issue with it.
Kind Regards,
]]>Hello, I got a warning from wordfence that razorpay has malcious or unsafe file. I have attached the alert message below. I downloaded that bootstrap.php file and checked with VirusTotal and it shows no issue. Also checked with some other AI tools and got safe message. But wordfence is showing warning message. Maybe a false positive. Please contact with wordfence and resolve the issue.
File appears to be malicious or unsafe: –tutor/wp-content/plugins/woo-razorpay/tests/phpunit/bootstrap.php
<?php
// path to test lib bootstrap.php
$test_lib_bootstrap_file = dirname( __FILE__ ) . '/includes/bootstrap.php';
if ( ! file_exists( $test_lib_bootstrap_file ) ) {
echo PHP_EOL . "Error : unable to find " . $test_lib_bootstrap_file . PHP_EOL;
exit( '' . PHP_EOL );
}
// set plugin and options for activation
$GLOBALS[ 'wp_tests_options' ] = array(
'active_plugins' => array(
'woocommerce/woocommerce.php',
basename(realpath(dirname(__FILE__) . '/../../')) . '/woo-razorpay.php'
),
'wpsp_test' => true
);
// call test-lib's bootstrap.php
require_once $test_lib_bootstrap_file;
require_once 'tests/phpunit/util/class-util.php';
require_once PLUGIN_DIR . '/vendor/autoload.php';
$current_user = new WP_User( 1 );
$current_user->set_role( 'administrator' );
echo PHP_EOL;
echo 'Using WordPress core : ' . ABSPATH . PHP_EOL;
echo PHP_EOL;
]]>
Getting a Warning Notice below the Add to Card button on every product product page. However, other than the warning, everything seems to be working.
Warning: Undefined array key “enable_rtb_widget” in /home/485050.cloudwaysapps.com/quuztnhfaf/public_html/wp-content/plugins/woo-razorpay/woo-razorpay.php on line 2947
This warning is giving a bad impression on our buyers.
Kindly help.
Screenshot image: https://a.cl.ly/Jru5GBYK
]]>after getting approval from Razor Pay i have added your plugin in the WordPress website but its not working in my website like its not showing on front end but its activated from backend end i have also tried to resolve this issue by deactivating other plugins but still not resolved
]]>Hello, i want to change COD success message, below is default cod message
Thank you for shopping with us. Your account has been charged and your transaction is successful. We will be processing your order soon.
I want below: COD
Thank you for shopping with us(COD). We will be processing your order soon.
]]>My checkout page is showing There are no payment methods available. This may be an error on our side. Please contact us if you need any help placing your order. error and not showing razorpay as a payment option
My site is live
the razorpay account is active
My Razorpay account is fully activated and I added live Api keys to the plugin. However, woocommerce continues to show “there is no payment method available” when checking out the product.
I thought this might be woocommerce problem, However, when I enabled COD method, it was working. So, there is something wrong with the plugin setup? can you check the problem
]]>Inspite of payment going through unable to see the order successful page and back end still shows payment pending.
]]>when can we able to expect the inline checkout on woocommerce. We have a Store which accept payments average of $50 from each customer’s
While going through, we found a sale drop because it’s doesn’t support an option to use inline checkout or no option for the customer to use card inside the checkout page.
I would like to let you know that we use Razorpay for last 4 year’s and there’s no issue with payment or support. Only thing we face was that we are unable to accept more payment because of this. Foreign customers afraid of fraud transaction or website around the world, they usually found an option for the to enter their card credentials inside the page
At the time all our customers pay only through PayPal and rest abandoned. We were requesting the same for past 1 year, we would like to know when can we expect this
Or we wish to know if magic Checkout support multiple currency store – means a store that function multiple currency than INR
please let us know, we are more happy to use Razorpay for the future online transaction
Regards, Midhun
]]>After updating the plugin to version
to 4.5.6 and i am getting below warnings and error in commandline.
Error and Warning output:
PHP Warning: ?Undefined array key "HTTP_REFERER" in /www/<SITENAME>/public/wp-content/plugins/woo-razorpay/includes/plugin-instrumentation.php on line 125
Warning: Undefined array key "HTTP_REFERER" in /www/<SITENAME>/public/wp-content/plugins/woo-razorpay/includes/plugin-instrumentation.php on line 125
PHP Warning: ?Undefined array key "HTTP_HOST" in /www/<SITENAME>/public/wp-content/plugins/woo-razorpay/includes/plugin-instrumentation.php on line 265
Warning: Undefined array key "HTTP_HOST" in /www/<SITENAME>/public/wp-content/plugins/woo-razorpay/includes/plugin-instrumentation.php on line 265
cURL error 77: error setting certificate verify locations:
? CAfile: /www/<SITENAME>/public/wp-includes/Requests/Transport/cacert.pem
? CApath: /etc/ssl/certs
PHP Warning: ?Undefined array key "HTTP_HOST" in /www/<SITENAME>/public/wp-content/plugins/woo-razorpay/includes/plugin-instrumentation.php on line 265
Warning: Undefined array key "HTTP_HOST" in /www/<SITENAME>/public/wp-content/plugins/woo-razorpay/includes/plugin-instrumentation.php on line 265
WordPress version: 6.1.3
I tried reaching out via razorpay support but your site wont take the form submission.
]]>razorpay.wc.signature.verify_failed
This is what I see in logs after payment attempt.
payment says successful in Test mode. But with live keys after payment it says failed and retry button shows up. In fact payment is authorized in Razorpay.
Customer account is debited and payment email is sent from razorpay. But order shows pending payment then it gets canceled.
Using aall latest plugins with php 7.4
Hpos is ON.
it’s kind of urgent. Pls help me solve it.
]]>Hello,
On my new project, I am trying to setup Razorpay to process subscription payments. As recommended in your documentation, after taking care of the dependecies, payment for simple products is working but payment for WooCommerce-Subscription products is not working.
I noticed the latest version of this plugin “Razorpay for WooCommerce” does not support Subscriptions. Changelog here. Am I getting this all wrong or if this is correct, how should I proceed?
Kind regards,
]]>Why is Razorpay plugin bypassing REST API authentication altogether in the file includes/api/api.php
line number 284?
Link to source: https://plugins.trac.www.ads-software.com/browser/woo-razorpay/trunk/includes/api/api.php#L284
In the same file, line number 279, the return value has to be an integer. Why do you have to do that to bypass the wp_verify_nonce
check? That’s placed there for a reason.
Link to source: https://plugins.trac.www.ads-software.com/browser/woo-razorpay/trunk/includes/api/api.php#L279
This is completely unethical from a security point of view. Your development team is using “hacks” to get around the issues they face in the plugin. Which is making a lot of websites vulnerable and also destroying the brand reputation of Razorpay.
Kindly fix it or I’ll have to escalate it to WordPress Plugin Security team.
]]>i am getting curl failure issue when trying to payment and getting the following error.
RAZORPAY ERROR: Order creation failed with the message: ‘cURL error 6: Could not resolve host: api.razorpay.com’.
]]>I use Razorpay for the payment gateway for my website?https://www.papeehajewelry.in. Even when a payment is not complete customers see the message “Thank you for your order, please click the button below to pay with Razorpay.” I have tried changing the text with Say What plugin, it doesn’t change the output. How do I change the text to something like “Your payment is pending, please complete the payment by clicking on the Pay Now button below.”
]]>Hello,
I have woo-commerce website in that i am using woo-commerce latest version i.e 7.7.0 but after updating woo-commerce due to your plugin we are facing an issue, wp-json has stopped working and it shows critical error on our website. We need wp-json because we have different API’s from our website using wp-json like our plugin Ibtana website builder is not working after the update. Once we disable your plugin or downgrade woo-commerce plugin to 7.6.1 its working properly.
Thanks
]]>Hi,
There’s this browser console error inside WP Admin Dashboard area.
Uncaught TypeError: admin-rzp-settings.js?ver=6.2.1:49 (https://www.domain.com/wp-content/plugins/woo-razorpay/public/js/admin-rzp-settings.js?ver=6.2.1)
Cannot read properties of null (reading 'type')
at registerFocusOutEvent (admin-rzp-settings.js?ver=6.2.1:49:31)
at Array.forEach ()
at window.onload (admin-rzp-settings.js?ver=6.2.1:38:19)
registerFocusOutEvent @ admin-rzp-settings.js?ver=6.2.1:49
window.onload @ admin-rzp-settings.js?ver=6.2.1:38
load (async)
(anonymous) @ admin-rzp-settings.js?ver=6.2.1:1
Any suggestions to resolve this please?
Kind regards,
]]>Dear Team,
How can I disable Website webhook(https://www.mydomain.com/wp-admin/admin-post.php?action=rzp_wc_webhook ) from my WordPress Dashboard plugin setting?
Because it is automatically enable in my Razorpay Dashboard. I don’t want this webhook for website payment.
]]>Version 4.5.0
]]>Warning: Undefined array key “enable_1cc” in /…/woo-razorpay/includes/cron/one-click-checkout/one-cc-address-sync.php on line 478
After making a payment successfully, wherein the customer money gets deducted and the order is received at the backend, however the use does not see a success message in the front end. This is extremely bad, please fix asap.
]]>Getting error after trying to pay with Razorpay on confirmation page
“Service Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
Additionally, a 503 Service Unavailable error was encountered while trying to use an ErrorDocument to handle the request.”
While looking at Woocommerce log, I see a long log with repeated line.
2023-04-13T08:02:38+00:00 INFO Creating razorpay webhook
2023-04-13T08:03:53+00:00 INFO Called process_payment with params order_id 998
2023-04-13T08:03:53+00:00 INFO Set transient with key razorpay_wc_order_id params order_id 998
2023-04-13T08:03:54+00:00 INFO getRazorpayPaymentParams 998
2023-04-13T08:03:54+00:00 INFO createOrGetRazorpayOrderId 998 and is1ccCheckout is set to no
2023-04-13T08:03:54+00:00 INFO Called createOrGetRazorpayOrderId with params orderId 998 and is_magic_checkout_order is set to no
2023-04-13T08:03:54+00:00 INFO razorpayOrderId | sessionKey razorpay_order_id998
2023-04-13T08:03:54+00:00 INFO Called createRazorpayOrderId with params orderId 998 and sessionKey razorpay_order_id998
2023-04-13T08:03:54+00:00 INFO Called getOrderCreationData with params orderId 998
2023-04-13T08:03:54+00:00 INFO Called getOrderCreationData with params orderId 998 and is1ccOrder is set to no
2023-04-13T08:03:54+00:00 INFO For order 998
2023-04-13T08:03:54+00:00 INFO {"receipt":998,"amount":230,"currency":"INR","payment_capture":1,"app_offer":1,"notes":{"woocommerce_order_number":"998"}}
2023-04-13T08:03:55+00:00 INFO For order session key razorpay_order_id998
2023-04-13T08:03:57+00:00 INFO getRazorpayPaymentParams 998
2023-04-13T08:03:57+00:00 INFO createOrGetRazorpayOrderId 998 and is1ccCheckout is set to no
2023-04-13T08:03:57+00:00 INFO Called createOrGetRazorpayOrderId with params orderId 998 and is_magic_checkout_order is set to no
2023-04-13T08:03:57+00:00 INFO razorpayOrderId order_LdCeOnvDSWneka | sessionKey razorpay_order_id998
2023-04-13T08:03:57+00:00 INFO Called verifyOrderAmount with params orderId 998 and rzporderId order_LdCeOnvDSWneka
2023-04-13T08:03:58+00:00 INFO Called getOrderCreationData with params orderId 998
2023-04-13T08:03:58+00:00 INFO Called getOrderCreationData with params orderId 998 and is1ccOrder is set to no
2023-04-13T08:03:59+00:00 INFO getRazorpayPaymentParams 998
2023-04-13T08:03:59+00:00 INFO createOrGetRazorpayOrderId 998 and is1ccCheckout is set to no
2023-04-13T08:03:59+00:00 INFO Called createOrGetRazorpayOrderId with params orderId 998 and is_magic_checkout_order is set to no
2023-04-13T08:03:59+00:00 INFO razorpayOrderId order_LdCeOnvDSWneka | sessionKey razorpay_order_id998
2023-04-13T08:03:59+00:00 INFO Called verifyOrderAmount with params orderId 998 and rzporderId order_LdCeOnvDSWneka
2023-04-13T08:04:00+00:00 INFO Called getOrderCreationData with params orderId 998
2023-04-13T08:04:00+00:00 INFO Called getOrderCreationData with params orderId 998 and is1ccOrder is set to no
2023-04-13T08:04:01+00:00 INFO getRazorpayPaymentParams 998
And this keeps on repeating…
Please help. This is custom coded website.
]]>I’m unable to enable High-Performance Order Storage (COT) in WooCommerce due to incompatibility with your plugin. Can you suggest a workaround or solution to resolve this issue so that I can continue using your plugin in conjunction with WooCommerce?
https://woocommerce.com/document/high-performance-order-storage/
Deprecated: Required parameter $razorpayPaymentId follows optional parameter $amount in?/home/socia569/shopyshop.online/wp-content/plugins/woo-razorpay/woo-razorpay.php?on line?1390
I am getting this error in my website help me to slove this.
And please as soon as possible.
]]>Hi,
We recently started getting errors with Razorpay. We did basic debugging on our side with all the plugins disabled. And this is the content of the debug.log file. And I am attaching an image of the error that you can check to get more information.
I tested Razorpay on a complete new WordPress Installation with just two plugins. But still got the same error.
[18-Mar-2023 04:51:41 UTC] PHP Notice: Undefined index: REQUEST_SCHEME in /home/example.com/test.example.com/wp-content/plugins/woo-razorpay/woo-razorpay.php on line 639
[18-Mar-2023 04:51:43 UTC] PHP Notice: Undefined index: REQUEST_SCHEME in /home/example.com/test.example.com/wp-content/plugins/woo-razorpay/woo-razorpay.php on line 542
[18-Mar-2023 04:51:44 UTC] 1cc is disabled.
Error – https://ibb.co/wJx3rwk
]]>