码迷,mamicode.com
首页 > 其他好文 > 详细

compropago在ecshop,OpenCart,Magento,shopnc在线支付接口,支付插件(含源码)payment plugin

时间:2017-06-21 11:48:56      阅读:227      评论:0      收藏:0      [点我收藏+]

标签:http   支持   pre   ceo   com   opencart   this   turn   params   

Recently I developed a payment plugin(compropago) for echsop platform.Of course,It can be used for other E-Commerce Platform
(OpenCart,Magento,WooCommerce,PrestaShop,WHMOS,ShopNC,Etc..).
you can integrate this payment plugin into your E-Commerce Platform.
If you need my help,contact me with E-mail:alaimaro@163.com or QQ:804752009

最近应一个客户的要求,给他的一个ecshop商城开发compropago支付在线支付接口。
这个接口是国外一个公司开发的,在国外有一些市场占有率。本身支持OpenCart,Magento,WooCommerce,PrestaShop,WHMOS等多种电商平台。
应该是比较成熟的支付插件了。

 


public function placeOrder(PlaceOrderInfo $neworder)
{
$params = [
‘order_id‘ => $neworder->order_id,
‘order_name‘ => $neworder->order_name,
‘order_price‘ => $neworder->order_price,
‘customer_name‘ => $neworder->customer_name,
‘customer_email‘ => $neworder->customer_email,
‘payment_type‘ => $neworder->payment_type,
‘currency‘ => $neworder->currency,
‘image_url‘ => $neworder->image_url,
‘app_client_name‘ => $neworder->app_client_name,
‘app_client_version‘ => $neworder->app_client_version
];

$response = Request::post(
$this->client->deployUri.‘charges/‘,
$params,
[‘user‘ => $this->client->getUser(), ‘pass‘ => $this->client->getPass()]
);

return Factory::getInstanceOf(‘NewOrderInfo‘, $response);
}

以上是部分代码。

 

 

还有其他接口:
银盛支付接口:
http://www.0475seo.com/tech/2dev/287.html
彩虹支付接口
http://www.0475seo.com/tech/cms/285.html
国付宝支付接口:
http://www.0475seo.com/tech/cms/289.html

更多接口来自:
http://www.0475seo.com/s/onlinepay/

大家如果有需要开发这个接口的可以用QQ跟我交流:捌零肆柒伍贰零零玖(804752009) 注明支付接口。

 

compropago在ecshop,OpenCart,Magento,shopnc在线支付接口,支付插件(含源码)payment plugin

标签:http   支持   pre   ceo   com   opencart   this   turn   params   

原文地址:http://www.cnblogs.com/alaimaro/p/7057940.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!