How can I take the full url without affecting the "&" if i redirect to this page: https://XXX.XXX.force.com?pay=BXXXB&PA83747474&TOKEN=23444848 for example. I catch the url using:
String url = ApexPages.currentPage().getParameters().get('pay');
but if i print url only got: BXXXB
i cannot be able to get the full url even with the &.
I would like to get the full url : "BXXXB&PA83747474&TOKEN=23444848"