In the process of setting up the buy button, you need to indicate where you want to redirect your customers to pick up their product.
In short, you need a download page.
Create a simple page that thanks them for their purchase and give them the link to the PDF file.
If you’re using WordPress, you can easily create a page that doesn’t show up in the website menu (make sure it’s unchecked before you publish) and then upload the ebook file through your media section.
TIP: Use a plugin like “Easy Media Download” to help deliver your media.
Publish your page, add the link to it when you create your PayPal button, and you’re ready to test the process.
Unfortunately, you can’t buy your own product with the same PayPal account.
This would also be a great reason to use a different email address for your business: you can use your personal PayPal account to make the test purchase.
If that’s not possible, ask a friend or family member. If you’re able to, watch them go through the purchase process so you can make sure it runs the way you want it to.