Add paypal function in registryPayment