Hi guys, hope all is well!

I have been struggling to put in a paypal code for sometime now with no help!
I have tried several times, basically I was told that paypal codes do not work on wordpress , however I have seen that they do, perhaps certain ones do not? I’m looking for the easiest way to do this if anyone can help, I’d appreciate it!!