To fully automate the payment collection you must go to your profile in your PayPal account and then go to Instant Payment Notification (IPN) and change the Notification URL to [[https://beds24.com/api/paypal/paypal.php]] and set IPN messages to enabled.