The PayButton is showing error respresenting needed a context to use it. If someone knows how to correct it please reply.