Paypal – donate button and error message 5302 solved

The Paypal button I created using the code off their site didn’t work – I was getting this Message 5302 that the world was falling apart or something. Whatever it was, the result was I couldn’t be paid and my goldfish would starve and we can’t have that. So here’s how to fix it.

To create button in the first place, log in to your account, click on the “Merchant Tools” tab and then click on Donations in the “Key Features” box down on the right. Click the “Create Button Now” button down the bottom and you’ll see a page something like this:

Screenshot from paypal site showing your button code

The idea is that you copy and paste this code into a webpage to produce your unique Donate button. Great! But the problem is that if you copy and paste the code exactly as above then more than likely you’ll get a “Message 5302: the kettle is unplugged” error, which is bad. Thankfully, it’s a simple fix.

Change the bit that says


to say:


or in order words, remove the linebreak. Done!

It’s kinda irritating that it’s such a simple thing. I have emailed PayPal tech support many times now about this error message and got the usual brush-off, d’oh!

If you found this post useful in fixing your 5302 error please leave a comment or even link here with the code <a href="">amd on software</a> which I’d really appreciate :)

Thanks and good luck!

5 Responses

  1. Grassie
    Grassie at |

    Thanks for the help with the paypal error you saved my ass. It was driving me insane.

  2. amd
    amd at |

    Good stuff Grassie, glad to be of help!

  3. Ariel
    Ariel at |

    SO HELPFUL!!! Seriously, this was about to push me over the edge.

  4. amd
    amd at |

    Hey Ariel, glad to prevent that occurring :) Good luck with the off-beat brides, nice site!

  5. sally
    sally at |

    great! Worked first time!

Comments are closed.