i got these error during the checkout process whether payment done or not in both situations i got these errors,
I am sending an error file which I received?in the phonepe error log or also in my error_log.php
both error comes at the same time
already set Environment: PRODUCTION
phone pe error log:-
2024-10-04T02:20:37+00:00 ERROR Failed to ingest event: ResponseCode: 404 Code: CLIENT_ERRORMessage: HTTP 404 Not Found
2024-10-04T02:20:38+00:00 ERROR Failed to ingest event: ResponseCode: 404 Code: CLIENT_ERRORMessage: HTTP 404 Not Found
2024-10-04T02:20:38+00:00 ERROR Failed to ingest event: ResponseCode: 404 Code: CLIENT_ERRORMessage: HTTP 404 Not Found
2024-10-04T02:20:38+00:00 INFO enqueue script called etc
php error_log:-
[04-Oct-2024 20:15:03 UTC] id was called incorrectly. Order properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), do_action(‘template_redirect’), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::do_wc_ajax, do_action(‘wc_ajax_checkout’), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::checkout, WC_Checkout->process_checkout, WC_Checkout->process_order_payment, WC_PhonePe->process_payment, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong. This message was added in version 3.0.
[04-Oct-2024 20:15:03 UTC] order_key was called incorrectly. Order properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), do_action(‘template_redirect’), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::do_wc_ajax, do_action(‘wc_ajax_checkout’), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::checkout, WC_Checkout->process_checkout, WC_Checkout->process_order_payment, WC_PhonePe->process_payment, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong. This message was added in version 3.0.
]]>Hello Team,
Facing an issue with plugin it is showing only card option. Can you please check this on priority.
Hello, The plugin is causing massive error logs with error message as
PHP Warning: session_start(): Cannot start session when headers already sent in /home/site/public_html/wp-content/plugins
https://prnt.sc/8u3TmgQknkEb
And i noticed that its causing a delay in loading the page. Please fix the issue. Thank you
When I click on place order from the checkout page, an error message called ” Transaction could not be initiated because of INTERNAL_SECURITY_BLOCK_5. Please try again.”
]]>Hi,
We have a plugin that allows us to collect partial payment for the order but that is not working with your payment plugin and giving a error of “Amount Mismatch !”
we have identified the cause of the issue see if you can give us some solution for this by adding a filter function in your plugin
Say order total was 100 and we allowed them to make partial payment of 10 and checkout all this works file and the amount goes through your payment plugin well but after words your payment plugin reruns a check for amount match at 2 places that creates the issue
Inside this file of your
phonepe-payment-solutions\PPEX_WC_PG_Client.php
in function handle_callback_response and check_phonepe_response
you are running a check for the order total if you can add a filter function for the
function handle_callback_response
$amount = sanitize_text_field($order->get_total());
to
$amount = apply_filters(‘order_amount_filter’, sanitize_text_field($order->get_total()), $order);
function check_phonepe_response
$amount_in_rupees = sanitize_text_field($order->get_total());
to
$amount_in_rupees = apply_filters(‘order_amount_filter’, sanitize_text_field($order->get_total()), $order);
then we will be able to modify the partial amount that was paid for and let the order go through without error
]]>If an order is placed first it will be successful and then the order update will be processed and then the order will be filed with the code received from the script called payment filed but we will also receive the payment what to do for this
]]>PHP Warning: Undefined array key “payPageFlag” in ~phonepe-payment-solutions/index.php on line 106
Please fix this issue asap
Undefined array key “payPageFlag” in /…/…/xyz.com/wp-content/plugins/phonepe-payment-solutions/index.php on line 106
]]>Hi our site has phonepe plugin installed and all the details like merchant id, salt key are correct we checked it several times, upon check the plugin it has some issues. Kindly see why this “Transaction could not be initiated because of 404. Please try again.” is showing while doing the transection.
]]>i want to use Phone pe on EDD
]]>We are using Phone Pe Plugin version 2.06 for our website. This plugin overrides Woocommerce manual refund functionality with its own refund education framework. This is absolutely unhelpful. We are not able to update refund section on our website as a result. Phone Pe should either allow users to update manual refunds for orders, both full and partial refund, or they should not interfere with Woocommerce provided functionality of manual refunds, which works so well with UPI payment (the other payment mode we use). Can Phone Pe offer any solution?
]]>[20-Jul-2023 07:49:41 UTC] PHP Warning: session_start(): Session cannot be started after headers have already been sent in /home/pjbioxhj/mywebsite.com/wp-content/plugins/phonepe-payment-solutions/index.php on line 37
This error generated error_log file in last 2 months upto 60MB.
so humble request to resolve this otherwise i have to stop accept payment using this gateway on my client sites.
thank you
]]>Hi, I am getting issue with the payment pending by using the “PhonePe” payment gateway. As I received the payment in PhonePe app but in WooCommerce the channel does not update as it should.
]]>Please fix this PHP warning
PHP Warning: session_start(): Session cannot be started after headers have already been sent in /wp-content/plugins/phonepe-payment-solutions/index.php on line 37
Hello,
Please provide update logs when the plugin is updated. Also please check and declare the compatibility with Latest WooCommerce and WordPress Versions
Thanks
]]>Dear Support,
We are using your plugin. We have observed that all the Prepaid orders are marked as COD inside shiprocket. This is with PhonePe only. With Razorpay there are no issues.
Thanks,
Niraj