Fix gateway paypal check