| Total Complexity | 1 |
| Total Lines | 17 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 21 | class HeidelpayPostSavePlugin extends AbstractPlugin implements CheckoutPostSaveHookInterface |
||
| 22 | { |
||
| 23 | /** |
||
| 24 | * Specification: |
||
| 25 | * - This plugin is called after the order is placed. |
||
| 26 | * - Set the success flag to false, if redirect should be headed to an error page afterwords |
||
| 27 | * |
||
| 28 | * @api |
||
| 29 | * |
||
| 30 | * @param \Generated\Shared\Transfer\QuoteTransfer $quoteTransfer |
||
| 31 | * @param \Generated\Shared\Transfer\CheckoutResponseTransfer $checkoutResponse |
||
| 32 | * |
||
| 33 | * @return void |
||
| 34 | */ |
||
| 35 | public function executeHook(QuoteTransfer $quoteTransfer, CheckoutResponseTransfer $checkoutResponse) |
||
| 40 |