After the user completes the payment in PayPal, you can send them back to your site, and then put the boot message on the screen. Meanwhile, you will have the interval that your server will request if the transaction is completed.
Using PayPal IPN, PayPal will make an http call to the desired URL after the transaction, then you will need to receive POST data containing information about the transaction, send it back to PayPal to verify that they send it, and after that do what you want with information.
When you create a form for the PayPal button, use the "custom" hidden fields to identify the transaction (for example, it can be a user ID). PayPal we will send this data back using IPN, so when you select you can bind it to the correct user.
You need to determine your IPN address in PayPal settings
source share