0

Dear all,

I had set the 17- character long transaction id, that i got from the
paypal in the successful completion of the order transaction, in the
DoAuthorization request to paypal..

But i am getting an invalid_transaction_id response from the paypal.
What will i do..

Please help anyone..
Thanks

2
Contributors
3
Replies
4
Views
8 Years
Discussion Span
Last Post by cwarn23
0

For starters it means your transaction id is invalid or corrupted. If you are using $_POST then you may want to use something like the following to unescape the characters:

$id=stripslashes($_POST['transaction_id']);

Also, try to echo the transaction id directly before processing it to make sure the transaction id processed correctly.
Just let me know if you need more detailed info.

0

Thks for ur reply,,

i had encoded the transaction id with the function

urlencoded();

and i had submit the transaction id after that..
I am getting the refund trasaction successfully but getting error
in DoAuthorization and DoVoid section

0

Try to echo the transaction id before the url encode. See if that matches what it should be. Other than that I would suggest checking the paypal manual.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.