fixed bugs on payment request