@@ -22,8 +22,9 @@ |
||
22 | 22 | $api_headers = $payment_cfg['mun']['api_headers']; |
23 | 23 | $purpose = $payment_cfg['mun']['purpose']; |
24 | 24 | $amount = $payment_cfg['mun']['amount'] * $team_size; |
25 | - if ($needs_accomodation) |
|
26 | - $amount = $amount + $payment_cfg['mun']['accomodation_amount'] * $team_size; |
|
25 | + if ($needs_accomodation) { |
|
26 | + $amount = $amount + $payment_cfg['mun']['accomodation_amount'] * $team_size; |
|
27 | + } |
|
27 | 28 | $redirect_url = $payment_cfg['mun']['redirect_url']; |
28 | 29 | $webhook = $payment_cfg['mun']['webhook']; |
29 | 30 |