-
Notifications
You must be signed in to change notification settings - Fork 43
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
Undefined index: TXNID #32
Comments
You need to describe more about the issue. How to raise an issue :
|
You are trying to fetch transaction id when the transaction was not successful. |
same issues |
It is because your are sending same order id again and again to paytm.. try changing some unique order id series |
Actually this is a real issue. This happens when there is a transaction failure. Issue_1: Anand\LaravelPaytmWallet\Providers\PaytmWalletProvider->response() checks for $this->request->all() which is wrong because all() picks GET and POST both. If its a valid response with failure, response will now be validated with checksum and all the variables will be accessible even though its a failure. Issue_2: Anand\LaravelPaytmWallet\Traits\HasTransactionStatus reads $this->response['STATUS'] everywhere. These 2 solution should fix every callback error received. |
Every Thing Is Fine In Laravel 7 and yet we can see the errors |
Also The status is Fail and TXNID is null when we do dd($transaction); |
i am getting this error sometimes, any solution for above error ? |
@SandeepRana1001 SandeepRana1001 any solution? |
May be It is because you are sending the same order id again to Paytm, try changing some unique order id series which might help you |
Try Using Instamojo or any other payment gateway. |
Paytm payment gateway works fine |
everytime i am getting txnid error
…On Fri, Nov 20, 2020 at 1:31 PM Athar ***@***.***> wrote:
Try Using Instamojo or any other payment gateway.
Paytm payment gateway works fine
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#32 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APHWVIQGZITW4K4HAF7Z4JLSQYO6NANCNFSM4HCOW2KQ>
.
|
It is because you are sending the same order id, again and again, to Paytm.. try changing some unique order id series in your code |
For demo api its working fine, but after using production api its throwing error.. and i have checked i am passing unique id ..is ther anything else can be checked |
please read carefully the Paytm developer documentation payment-gateway. and also activate your business account |
I also received this error. In my case the order Id was not unique, as mentioned by @kanu786 . If anyone else has the same case as me, just create a unique Id by concatenating userId & timestamp
|
Order Id as well User id should be unique |
@Rohit599 User id need not required to be unique, only the order id should have to be |
@anandsiddharth Shouldn't this issue be marked as Close now? As the solution of this issue to pass a unique |
Could you help me out of this issue
Undefined index: TXNID
The text was updated successfully, but these errors were encountered: