PayPal no me regreso mi información
-
28-09-2019 - |
Pregunta
Estoy utilizando el siguiente valor de retorno paypal
http: // localhost:? 8080 / projectName / sucess id = 1
pero cuando se complete la transacción no me devuelven valor de id
http: // localhost: 8080 / projectName / éxito
tenemos llamar servlet éxito después de la transacción se complete paypal
Por favor, ayúdame
Solución
Trate de usar pathinfo lugar.
http: // localhost: 8080 / projectName / éxito / 1 en lugar de < a href = "http: // localhost: 8080 / projectName / sucess id = 1?" rel = "noreferrer nofollow"> http: // localhost:? 8080 / projectName / sucess id = 1
Se puede agarrar el 1
en servlet request.getPathInfo().substring(1)
.
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow