test paypal function