-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHP Notice Error #23
Comments
Can you please confirm how you are using this plugin and if there are any steps to reproduce it. To avoid this notice for now you can update the |
Thanks a ton, It worked as a charm.
…On Tue, 23 Mar 2021 at 07:19, Ram Prakash Singh ***@***.***> wrote:
@tabkad12 <https://github.com/tabkad12>,
Can you please confirm how you are using this plugin and if there are any
steps to reproduce it.
To avoid this notice for now you can update the /var/www/html/
dev05.bigstorez.com/app/payments/razorpay/RazorpayPayment.php on line 36
with this line
if((isset($fields['is_hosted']) === true) and ($fields['is_hosted']))
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#23 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGUEFQYSFLFSW3OXZSQRDKDTFAJD7ANCNFSM4ZPNRRHQ>
.
|
@tabkad12 , I am not sure but don't see this could be the reason for the payments failing on mobile devices. I just tried and it's working fine. |
Hi ramth05; It is really strange, something which was working earlier now it is not working. I reverted the two changes which I had done in the Razorpay plugin, but still the same issue. The two changes are as follows;
Second change was the one which we are discussing; changes in var/www/dev05../payments/razorpay/RazorPay.php in line 36; Please your kind support will be really appreciated as we have a launch date nearing by. I am attaching my plugins files in this thread for your kind reference... |
@tabkad12 , Please confirm if currently it's giving error ? Because morning I had placed one order without any issue from mobile. |
There are certain incomplete transactions which comes when we face the same error message. i have attached the screenshot for incomplete orders and screen recording from mobile facing that error. Video Link: |
Hi Ramth05, please any luck going through our files why it is not working. It is still the same. Just FYKI, it is not working only on Iphones. Android mobiles are working perfectly. IPads, iMacs, desktop everything is working fine. please your kind support and co-operation will be highly appreciated. thanks.. |
We are getting the following error when we are doing transaction through iPhone, but we don't get this error when we try to do the same with other devices.2021/04/04 13:33:05 [error] 28189#28189: *12764 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: razorpay_order_id in /var/www/html/abcd.com/app/payments/razorpay/RazorpayPayment.php on line 122 ================================================================================== |
@tabkad12, I tried replicating the issue with the ios emulator but I didn't encounter this after trying multiple times. Is this issue specific to a device? did we check with other ios devices? |
Hi Ayush,
I have shared the video directly from an IOS iPhone. Also I mentioned that
it works perfectly fine with iPads or iMacs, Desktop and Android. The issue
is on iPhones, We have tests on iPhone X, iPhone XS, iPhone 12 and iPhone
8. Please share with me the working video from either of these iPhone
models.
…On Tue, 13 Apr 2021 at 07:12, Ayush Vipul ***@***.***> wrote:
@tabkad12 <https://github.com/tabkad12>, I tried replicating the issue
with the ios emulator but I didn't encounter this after trying multiple
times.
[image: Simulator Screen Shot - iPod touch (7th generation) - 2021-04-13
at 09 37 17]
<https://user-images.githubusercontent.com/78246948/114495848-72a02200-9c3c-11eb-85ce-975da4c8482f.png>
[image: Simulator Screen Shot - iPod touch (7th generation) - 2021-04-13
at 09 37 17]
<https://user-images.githubusercontent.com/78246948/114495854-7469e580-9c3c-11eb-933d-a51b37c92cca.png>
Is this issue specific to a device? did we check with other ios devices?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#23 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGUEFQ2VAVHYIPX6WUJNOGLTIPADLANCNFSM4ZPNRRHQ>
.
|
Hi Ayush, A kind and humble reminder. |
@tabkad12, we respect and appreciate your patience. Was able to replicate the issue on iPhone 12. Please rest assured, we are getting this checked on priority and will keep you updated. |
@ayush-razorpay : Looking forward to your swift response. |
@tabkad12, can you please confirm if we using 3rd party theme here? |
We are using Unitheme.
…On Mon, 19 Apr 2021 at 19:01, Ayush Vipul ***@***.***> wrote:
@tabkad12 <https://github.com/tabkad12>, can you please confirm if we
using 3rd party theme here?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#23 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGUEFQ44SFA6OQRLTELWQTLTJRHT3ANCNFSM4ZPNRRHQ>
.
|
hi @tabkad12, upon further investigation of the issue we found that PHP sessions are not working with the above-stated devices with respect to Razorpay Checkout. We respect your patience and please rest assured we will get this resolved. There is an anticipated delay here, due to the nature of this issue. |
Thanks Ayush for your response. Hope that the fix comes soon, before our store launch date. Keeping fingers crossed. I tried the same with the basic theme also, but still the same issue. |
@tabkad12 , This is fixed . |
@tabkad12 , apologies here. We had identified an issue with the beta release. The same is rolled back for now. |
@tabkad12 , we have just released a new version with the required fix. https://github.com/razorpay/razorpay-cscart/releases/tag/1.3.2 Please update to the latest release . |
`<!-- Twig\Error\SyntaxError Message Error at Backtrace File:app/lib/vendor/twig/twig/src/ExpressionParser.php File:app/lib/vendor/twig/twig/src/ExpressionParser.php File:app/lib/vendor/twig/twig/src/ExpressionParser.php File:app/lib/vendor/twig/twig/src/ExpressionParser.php File:app/lib/vendor/twig/twig/src/ExpressionParser.php File:app/lib/vendor/twig/twig/src/Parser.php File:app/lib/vendor/twig/twig/src/Parser.php File:app/lib/vendor/twig/twig/src/Environment.php File:app/lib/vendor/twig/twig/src/Environment.php File:app/lib/vendor/twig/twig/src/Environment.php File:app/lib/vendor/twig/twig/src/Environment.php File:app/lib/vendor/twig/twig/src/Environment.php File:app/Tygh/Twig/TwigEnvironment.php File:app/Tygh/Template/Renderer.php File:app/Tygh/Template/Renderer.php File:app/Tygh/Template/Document/Order/Type.php File:app/Tygh/Template/Document/Order/Type.php File:app/functions/fn.cart.php File:app/functions/fn.common.php File:app/functions/fn.control.php File:app/Tygh/Mailer/Mailer.php File:app/Tygh/Notifications/Transports/Mail/MailTransport.php File:app/Tygh/Notifications/EventDispatcher.php File:app/functions/fn.cart.php File:app/functions/fn.cart.php File:app/payments/razorpay/RazorpayPayment.php File:app/payments/razorpay.php File:app/controllers/common/payment_notification.php File:app/functions/fn.control.php File:app/functions/fn.control.php File:index.php -->` |
CS-Cart.session.issue.on.web.mp4@tabkad12 we tried this on local setup, and it's working at our end. Can you please check if some other plugin is causing this at your end? |
Hi Ayush, Yes, there was an issue with a Twig Template which was giving that error. Not related with the plugins provided by you. Now it is working fine with the new plugin files. Thanks for your kind efforts. |
Thanks for the update @tabkad12 |
2021/03/20 01:34:05 [error] 28189#28189: *179 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: is_hosted in /var/www/html/dev05.bigstorez.com/app/payments/razorpay/RazorpayPayment.php on line 36" while reading response header from upstream, client: 188.51.230.8, server: dev05.bigstorez.com, request: "GET /index.php?dispatch=checkout.process_payment HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "dev05.bigstorez.com", referrer: "https://dev05.bigstorez.com/checkout/"
We are receiving PHP notice under the web server error logs. Any help or guidance in this will be really appreciated.
CS-Cart Version: 4.12.2
Razorpay Version - 1.3-2.0
The text was updated successfully, but these errors were encountered: