Wordpress text editor adds additional html elements on space and new line characters. You have to minify the embed payment form code first to remove space and new line characters before you paste it to your wordpress text editor. You can minify the code here http://www.willpeavy.com/minifier/. Then you can paste the result on your wordpress text editor.

Did this answer your question?