Question

I am using following paypal return value

http://localhost:8080/projectName/sucess?id=1

but when transaction completes it does not return me value of id

it return only http://localhost:8080/projectName/sucess

we have call sucess servlet after paypal transaction completes

Please help me

Was it helpful?

Solution

Try using pathinfo instead.

So http://localhost:8080/projectName/sucess/1 instead of http://localhost:8080/projectName/sucess?id=1

You can grab the 1 in servlet by request.getPathInfo().substring(1).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top