From be7f213c5cf64cc838ec3a76de7ce731d090ff9b Mon Sep 17 00:00:00 2001 From: Daniele Servadei Date: Thu, 8 Dec 2022 23:25:36 +0100 Subject: [PATCH] fix custom fields, remove fraud shield --- modules/gateways/sellixpayment.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/gateways/sellixpayment.php b/modules/gateways/sellixpayment.php index 911aebd..3e417cf 100644 --- a/modules/gateways/sellixpayment.php +++ b/modules/gateways/sellixpayment.php @@ -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