Skip to content

Commit

Permalink
fix custom fields, remove fraud shield
Browse files Browse the repository at this point in the history
  • Loading branch information
danieleServadei committed Dec 8, 2022
1 parent 9b676d5 commit be7f213
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions modules/gateways/sellixpayment.php
Original file line number Diff line number Diff line change
Expand Up @@ -216,12 +216,10 @@ function sellixpayment_link($params)
'title' => $description,
'quantity' => '1',
'currency' => $currencyCode,
'gateway' => ($sellixPaymentMethod=='all'?'':$sellixPaymentMethod),
'gateway' => ($sellixPaymentMethod == 'all' ? '' : $sellixPaymentMethod),
'value' => $amount,
'confirmations' => $confirmation,
'email' => $email,
'custom_fields'=>array('Discord Username'=>$firstname),
'fraud_shield'=>array('ip'=>$remote_ip,'user_agent'=>$_SERVER['HTTP_USER_AGENT'],'user_language'=>$_SERVER['HTTP_ACCEPT_LANGUAGE']),
'webhook'=>$CONFIG['SystemURL'].'/modules/gateways/callback/sellixpayment.php',
'white_label'=>true,
'return_url' => $returnUrl
Expand Down

0 comments on commit be7f213

Please sign in to comment.