The straightest and most accurate road to PayPal payments in PHP is this: PayPal Orders v2 REST API, order creation on the server, redirect the buyer to the PayPal approval link, capture the order after it's been approved, and then use webhooks to process asynch payments. That's ...