Find Jobs
Hire Freelancers

reply back transaction verification

$10-30 USD

Fechado
Publicado há quase 7 anos

$10-30 USD

Pago na entrega
Transaction verification received on my dashboard, code are here, this ia callback message , i want this call back message to reply back to payment gateway. , Please who want to start now pm me Auto-Verification of transaction successful. Cost of product is NRs. 1584 but user has paid only NRs. 1. Might be the fraud transaction! /** * Verify the transaction with eSewa * @param $url * @param $request * @return string */ protected function verifyTransaction($url, $request) { $curl = curl_init($url); curl_setopt($curl, CURLOPT_POST, true); curl_setopt($curl, CURLOPT_POSTFIELDS, $request); curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); curl_setopt($curl, CURLOPT_HEADER, false); curl_setopt($curl, CURLOPT_TIMEOUT, 30); curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false); $response = curl_exec($curl); curl_close($curl); if ($this->config->get('esewa_debug')) { $this->log->write('eSewa :: IPN REQUEST: ' . $request); $this->log->write('eSewa :: IPN RESPONSE: ' . $response); } $xmlParser = new SimpleXMLElement($response); $verificationResponse = strtoupper(trim($xmlParser->response_code)); return $verificationResponse; } /** * Checks if the transaction if fraud and returns the fraud message * @param $order_info * @param $paidAmount * @return string */ protected function checkFraud($order_info, $paidAmount) { $amountToBePaid = $this->currency->format($order_info['total'], 'NPR', false, false); $fraudMessage = ''; if ((int)$amountToBePaid !== (int)$paidAmount) { $fraudMessage = '<br/><span style="color:#F00">Cost of product is <strong> NRs. ' . $amountToBePaid . '</strong> but user has paid only <strong> NRs. ' . $paidAmount . '</strong>. Might be the fraud transaction!</span>'; } return $fraudMessage; } }
ID do Projeto: 14101598

Sobre o projeto

9 propostas
Projeto remoto
Ativo há 7 anos

Quer ganhar algum dinheiro?

Benefícios de ofertar no Freelancer

Defina seu orçamento e seu prazo
Seja pago pelo seu trabalho
Descreva sua proposta
É grátis para se inscrever e fazer ofertas em trabalhos
9 freelancers estão ofertando em média $39 USD for esse trabalho
Avatar do Usuário
I have been in the field of most creative ideas ( WEB ) for more than 5 years. Having a vast experience to design and developer web based applications using the latest and trending technologies. I have sound knowledge of web technologies like : Framework : codeigniter, cakephp CMS : wordpress, opencart. with fluent coordination of above with : MySql, jQuery, Javascript, ajax, curl , JSON, A great work is the best to get the worth of your efforts. Please be together to make your idea a reality and showcase the world :- the true path of your success . Regards Punit
$25 USD em 1 dia
5,0 (5 avaliações)
1,5
1,5
Avatar do Usuário
Hello Sir, We have gone through the details you have provided and we have already worked on a similar project before and can deliver as u have mentioned and would be pleased to work on this with you to deliver the results that you have expected and we have already worked on a similar project before and can deliver as u have mentioned We are sure you will not be disappointed if you give us this opportunity. Our team is experienced, creative & efficient enough to get your job done well. We have an impeccable record and all our clients enjoy working with us, we are sure that you will too, our prices are cheapest in market. [Removed for encouraging offsite communication which is against our Terms and Conditions.] for further discussion about the project I am ready to discuss with you with best Regards
$28 USD em 6 dias
0,0 (1 avaliação)
0,0
0,0

Sobre o cliente

Bandeira do(a) UNITED STATES
Falls Church, United States
5,0
1
Membro desde jul. 1, 2010

Verificação do Cliente

Obrigado! Te enviamos um link por e-mail para que você possa reivindicar seu crédito gratuito.
Algo deu errado ao enviar seu e-mail. Por favor, tente novamente.
Usuários Registrados Total de Trabalhos Publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Carregando pré-visualização
Permissão concedida para Geolocalização.
Sua sessão expirou e você foi desconectado. Por favor, faça login novamente.