How to embed PayPal button code or any other code into a WordPress Post or Page
When you embed PayPal code into WordPress in the post or page body area, WordPress strips parts of the code out rendering it useless.
A simple solution to workaround this behavior is to install a short-code plugin where you define a short-code for a piece of large code and then just embed the short-code into your page or post.
A short-code is just a short name for a larger code.
A plugin that I recently used is “Hana Code Insert”.