定制 maverickslab/ebay-legacy 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

maverickslab/ebay-legacy

Composer 安装命令:

composer require maverickslab/ebay-legacy

包简介

This package is a layer over eBay's trading api to make interaction with eBay easier

README 文档

README

###Requirements ####Cloudinary In order to use this package for listing products to eBay, you need to create a cloudinary account.

Dependencies

  1. Php ^5.3.3 || ^7.0
  2. guzzlehttp/guzzle ^6.2
  3. cloudinary/cloudinary_php ^1.7

Set up

  1. run composer require maverickslab/ebay-legacy
  2. run php artisan vendor:publish
  3. edit your configuration files "config/ebay.php"

Authenticating

To authorize your app to make requests to eBay on behalf of the merchant, you need to go though the authentication flow. Set up an app on the eBay developer portal.

  1. Set your accepted url to an endpoint on your app to receive the token. The default route on the package is ..yourdomain/ebay/authorized. You can extend the EbayController and override the authorized method to handle the token response.
  2. Set your declined/rejected url to an endpoint on your app to receive the token. The default route on the package is ..yourdomain/ebay/declined. You can extend the EbayController and override the declined method to handle the token response.

Make a request to ...yourdomain/ebay/install to test installation flow.

Making requests

In order to make requests, you have to make sure you have provided the required params in the ebay.php file in your config directory. To do this, copy and paste this in your .env file and make the necessary changes

EBAY_COMPATIBILITY_LEVEL=951 EBAY_RUNAME=XXXXXXXXX EBAY_API_APP_NAME=XXXXXXXXX EBAY_API_CERT_NAME=XXXXXXXXX EBAY_API_DEV_NAME=XXXXXXXXX EBAY_SIGN_IN_URL=https://signin.sandbox.ebay EBAY_BASE_URL=https://api.sandbox.ebay.com/ws/api.dll EBAY_WARNING_LEVEL=High EBAY_ERROR_LANGUAGE=en_US EBAY_USER_TOKEN=XXXXXXXXX

Request methods

Features

  1. Authenticating with eBay
  2. Import products from eBay
  3. Create listings on eBay
  4. Import orders on eBay
  5. Update orders on eBay

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-05-02

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固