fix bugs in the payserve for woocommerce plugin