Can I cancel a payment that I have made with SOFORT?

No.
Cancellation of a transfer is no longer possible once the bank has taken receipt of the transfer order.
If goods are returned properly, the merchant will refund your money.

https://www.sofort.com/eng-GB/buyer/sb/how-sofort-banking-works/

See also: