I think an in-app purchase would be your best route. Here's the MSDN article describing the in-app mechanism.
http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj206949(v=vs.105).aspx
Frage
I have an application for windows phone and its free. I want it to stay free and without ads. But sometimes i need motivation. What i need to do is to add some "buy a pint of beer to the author" button in my application (something like donation button). Sure i can create 2 versions: paid and free that are completely identical in functions just the paid with some "thanks" words, but that will be 2 completely different applications and i'll need to support them both. So..Is it possible to implement some donation payment in the application?
Lösung
I think an in-app purchase would be your best route. Here's the MSDN article describing the in-app mechanism.
http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj206949(v=vs.105).aspx
Andere Tipps
Another option is use trial API.
Trial licenses don't expire. It's up to you to define the differences between trial and non-trial modes.
In the marketplace description, you can write that trial and full modes are identical. And, in the about page inside your app, place either "if you like it buy it" button that opens a marketplace task, or big "thanks for your support!" textblock.