Reprogram PHP script into VB Script or Classic ASP

已完成 已发布的 2 年前 货到付款
已完成 货到付款

The project is straightforward, I need someone who can rewrite and test this script from PHP into Classic ASP. This script is needed on my website to create a payment with this 3rd party payment service provider. They don't have this pluging-code script available in classic ASP so I need someone who can write this for me. The rest of the project I can do myself. This PHP script is a 100% working script (I have tested myself), but because of security reasons I have hidden the API key and email address in this stage. When accepting this project please let me know that you have read this by using the word `apple` in your response. Thank you.

<?php

$api = new PayProApi('YOU-GET-THIS-KEY-AFTER-ACCEPTING-PROJECT'); // The real API key you will get after we agreed about the project

$api->command = 'create_product_payment';

$api->set_param('product_id', '88340');

$api->set_param('consumer_email', 'type-here-a-real-email-address');

$api->set_param('psp_code', '0021');

$api->set_param('test_mode', 'true'); // Remove this when testing is done!

$returned = $api->execute();

echo $returned['return']['payment_url'];

header('Location: ' . $returned['return']['payment_url']);

class PayProApi {

var $command;

var $params = array();

var $apikey;

function __construct($apikey, $command=null, $params=null) {

$this->apikey = $apikey;

$this->command = $command;

if (is_array($params)) {

$this->params = $params;

}

}

function execute() {

$data_to_post = array(

"apikey" => $this->apikey,

"command" => $this->command,

"params" => json_encode($this->params)

);

$url = '[login to view URL]';

$ch = curl_init();

curl_setopt($ch, CURLOPT_URL, $url);

curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

curl_setopt($ch, CURLOPT_POSTFIELDS, $data_to_post);

$response = json_decode(curl_exec($ch), true);

curl_close($ch);

$params = array();

return $response;

}

function set_param($param, $value) {

$this->params[$param] = $value;

}

?>

PHP ASP VBScript 电子商务

项目ID: #32616775

关于项目

12个方案 远程项目 活跃的2 年前

授予:

WebInfoSolutions

Do you want to convert CURL into classic ASP or the upper part which is ensapsulating the curl part?

$30 USD 在1天内
(232条评论)
7.9

有12名威客正在参与此工作的竞标,均价$133/小时

alihassan321

Hi, I have read description of your project and understand it. I can write this php script into classic ASP with full functionality. I am full stack developer having 8+yrs of experience. I am available to start work no 更多

$250 USD 在3天内
(71条评论)
6.2
gtnt20905baroli

start immediately Hope you doing well I am software developer having 10+years experience in web development more then 100+ website I have made. I enjoy being challenged and engaging with projects that require me to wor 更多

$100 USD 在3天内
(37条评论)
5.2
vovakovalkov80

Hi, I am interested in your offer as a developer with 10 years of experience. I wanna do my best for you with my experience and diligent efforts. For a cheap price, you'll get more than you want in a short period of 更多

$200 USD 在7天内
(12条评论)
5.3
lazarpetrovic111

Hello, I am very interested in your project. I am an expert who have 8 years of experience in software development. I have solid skills and experiences in ASP.NET, .NET, C++. So I could absolutely help you to build mod 更多

$140 USD 在7天内
(3条评论)
5.0
ayazkhanfiaz

------- Website Expert is Here ------- I have read your project Reprogram PHP script into VB Script or Classic ASP description. I have done similar projects in past. Let's have a quick discussion so I can show you some 更多

$120 USD 在2天内
(8条评论)
3.7
rahildevelopment

Hi, I'm a full-stack web developer with over 9 years of experience. I saw your article and have a few concerns about your project. I'd be happy to talk more about it. Gratitude!

$140USD 在1天里
(1条评论)
2.9
VRTECHSOL

Hi There, I read out your project details and I am willing to work with you. Will easily work on your given code with PHP into ASP and clear the issue of PayPal pro Regards, Ali Khan

$140 USD 在7天内
(6条评论)
2.3
mkastukevich

Hey there, I have 4 years of working experience in web technologies and I have a strong working knowledge of every possible framework which is in the market. In terms of client-end I know: WordPress, JavaScript, HTML, 更多

$100 USD 在5天内
(1条评论)
2.0
trostnickovo

Hello, I am very experienced vb/asp developer. I can complete your project in short time and small budget. please message me, I will show you my ability to satisfy you. I am ready to start now, thanks

$80USD 在1天里
(0条评论)
0.0