Skip to content

Commit

Permalink
MAG-372: Base the paiement fonction on parent
Browse files Browse the repository at this point in the history
Changelog: fixed
  • Loading branch information
TristanBouchierAgenceDnD committed Sep 4, 2024
1 parent 6b3f943 commit 122fea9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Gateway/Config/PayplugPayment.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,13 @@ public function __construct(

/**
* Retrieve information from payment configuration
*
* @param string $field
* @param int|null $storeId
*
* @return mixed
*/
public function getValue($field, ?int $storeId = null): mixed
public function getValue($field, $storeId = null)
{
if ($field === 'order_place_redirect_url') {
// Prevent order email sending when placing the order
Expand Down

0 comments on commit 122fea9

Please sign in to comment.