承接 parsidev/novinways 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

parsidev/novinways

最新稳定版本:v2.0.2

Composer 安装命令:

composer require parsidev/novinways

包简介

package for NovinWays WebService (published for www.novinways.com)

README 文档

README

package for NovinWays WebService - Laravel5.6 (published for www.novinways.com) this package only work for Iranian Users

installation

For install this package, run this command

composer require parsidev/novinways

Publish config files:

php artisan vendor:publish

for change webServiceID and webServicePassword change config/novinways.php

Usage

for use this package, please register on novinways.com

Get functions list

This function return a String result with list of NovinWays WebService Function

Novinways::getFunctions();

Get credit

This function return a JSON String result with Status and Credit of your panel

Novinways::CheckCredit();

Get operator status for topup

This function return a ArrayOfString result with Status and OperatorStatus

Novinways::TopUpOperatorStatus($operator);

check billId and paymentId is valid

This function return a ArrayOfString result with Status, BillType and BillAmount

Novinways::CheckBill($billId, $paymentId);

Pay a Bill

This function return a ArrayOfString result with Status, TranId, BillType and BillAmount

Novinways::PayBill($billId, $paymentId, $reqId);

$reqId must be unique ID;

Get list of products

This function return a JSON String result

Novinways::ProductsInfo();

Buy a product

This function return a JSON String result

Novinways::BuyProduct($productId, $reqId, $count);

$reqId must be unique ID;
$productId equal plan_name from previous function

Request for Pin code

This function return a JSON String result

Novinways::PinRequest($price, $type, $reqId);

$price: for MCI and MTN operators equal: 1000, 2000, 5000, 10000, 20000, and for RTL and TAL operators equal: 2000, 5000, 10000, 20000
$type: MTN or MCI or RTL or TAL is valid
$reqId must be unique ID;

Request TopUp

This function return a JSON String result

Novinways::ReCharge($price, $type, $phone, $reqId);

$price: for MTN operator from 500 to 50000 and for MCI operator equal: 1000, 2000, 5000, 10000, 20000
$type: 
MTN: Noraml TopUp. 
MTN!: Amazing charge. 
MTN#: Charge permanent line. 
WiMax
MCI
$reqId must be unique ID;

Check TopUp is OK

This function return a JSON String result

Novinways::CheckCharge($transId);

you will get $transId from previous function

统计信息

  • 总下载量: 131
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-05-03