integration with paypal and db