For a single-page solution that offers both credit card and PayPal payments, consider using the WooCommerce plugin with the WooCommerce PayPal Payments extension. Both are free and allow users to select their preferred payment method on the same page.
If you prefer a custom solution, you can integrate both PayPal and Stripe (for credit cards) using custom code. You’ll need to handle payment gateway APIs and ensure PCI compliance for security.