Correct amount calculation when creating payment events in dashboard

The final line price was calculated as qty * qty * unit price, as the
line price was multiplied with the quantity for a second time. That's no
good.

Reported in #1442. Fixes #1442.