fix paypal button and payment saving