Check and avoid duplicated payments

* Add PaymentDuplicatedException, must be thrown when the order was already paid.
* Add function isOrderPaid to PaymentBridgeInterface, returns true if order was already paid.