Find Jobs
Hire Freelancers

Adding Online Payment to a Website

$10-30 USD

已关闭
已发布超过 5 年前

$10-30 USD

货到付款
Hello, I have a website ([login to view URL] it is smm panel probably you have seen such scripts it is written in php. and in my country there is a payment service [login to view URL] they gave me APIs and payment service IDs So I need to integrate these payment to my site. The website should check whether the payment succesful if it is it should be added to user balance. Payment companys APIs <?php class Checkout { private $p_id; // Partner ID private $s_id; // Service ID private $key; // Service key private $o_id; // Order ID private $tr_id; // Transaction ID private $method; // Metod (account or code) private $amount; // Amount private $test; // Service regime status private $hash; // Encrypted info name public function __construct() { $this->p_id = xxxxx; //write your partner id here $this->s_id = xxxxx; //write your service id here $this->key = 'xxxxxxxxx'; //write your service key here $this->o_id = $_POST['o_id']; $this->tr_id= $_POST['transaction']; $this->method = $_POST['method']; $this->amount = $_POST['amount']; $this->test = $_POST['test']; $this->hash = $_POST['hash']; } public function result() { $hash = strtoupper(md5($this->p_id.$this->s_id.$this->o_id. $this->tr_id.$this->key)); if($hash == $this->hash) //if it is true 1, or 0 callback { if($this->test == '0')//If test regime off { //Write you base operation here //(For example: Add balance, add bonus) } echo '1'; } else { echo '0'; } } } if(!empty($_POST)) { $portmanat = new Checkout; $portmanat->result(); } ?> AND my Partner ID: 16235 Service ID: 12671 Service Key: burcu1
项目 ID: 18488647

关于此项目

16提案
远程项目
活跃5 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
16威客以平均价$38 USD来参与此工作竞价
用户头像
Hello, After reading your project details I believe I'm suitable for this project. As I'm expert on with more than 5 years experience. Please feel free to contact me. I am looking forward to hear from you. Best regards Feroz
$30 USD 在2天之内
4.9 (114条评论)
6.5
6.5
用户头像
Hello Sir/Ma'am Have a wonderful day!! Me and my well qualified developers are capable to do your task, we have more than 7 years of experience in this field. we are expert in Graphic Design, HTML, Logo Design, PHP, Website Design we will work till my client full satisfaction, please contact us so we can discuss i more detail, thank you in advance Vikas Singh.
$50 USD 在1天之内
5.0 (8条评论)
5.0
5.0
用户头像
Sure I can do the project very well. I am also expert in PHP, JAVASCRIPT, CODEIGNITOR ,AJAX, LARAVEL, ANGULAR JS, n all.I assure to allow you a top quality and glorious work completion at the earliest with the minimum value concerned.
$111 USD 在1天之内
4.6 (29条评论)
4.3
4.3
用户头像
hi My name is Naresh Jangir and I am from India. I have good knowledge in web development and I am an experienced software engineer, graduated from IIT Patna. I am
$11 USD 在1天之内
0.0 (0条评论)
0.0
0.0

关于客户

ROMANIA的国旗
Romania
0.0
0
会员自10月 8, 2018起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。