定制 toriverkosto/woocommerce-aws-integration 二次开发

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

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

toriverkosto/woocommerce-aws-integration

Composer 安装命令:

composer require toriverkosto/woocommerce-aws-integration

包简介

AWS Integration for WooCommerce

README 文档

README

CI Release Packagist License

WooCommerce extension to publish events to AWS services from WooCommerce hooks.

You can configure this plugin to publish your WooCommerce business events to any of the following AWS target resources using their ARN:

  • SNS Topic
  • SQS Queue
  • Kinesis Data Stream
  • Firehose Delivery Stream
  • S3 Bucket

The following events are currently supported out-of-the-box:

  • Order Paid
  • Order Shipped
  • Order Refunded
  • Product Published
  • Product Sold
  • Product Shipped
  • Product Refunded

Why

This extension unlocks the power of the AWS ecosystem for your WooCommerce store by pushing your important business events to AWS services.

Some example use cases:

  • Send a notification with SNS for new orders
  • Run custom Lambda functions for order events
  • Query your order data using Athena and S3
  • Analyze and visualize your store data using QuickSight
  • Create a delivery queue for digital products using SQS
  • Synchronize orders and product inventory to backend systems
  • Archive your store order history to S3

Installation

Requirements:

  • WooCommerce >= 3.1
  • WordPress >= 4.7
  • PHP >= 7.1
composer require toriverkosto/woocommerce-aws-integration
  1. Download and install the latest release of this plugin.

  2. Navigate to WooCommerce > Settings > Integration > AWS Integration

  3. Input the ARNs for the AWS resources you want to publish events to

  4. If running outside of a native AWS environment, you'll also need to configure IAM Access keys to be able to access AWS services.

Settings page

Configuration

Each of the settings provided by this plugin can also be hard-coded by using PHP constants matching their label.

Example wp-config.php:

define( 'ARN_ORDER_PAID',        'arn:aws:sns:us-east-1:1234:MyTopic' );
define( 'ARN_ORDER_SHIPPED',     'arn:aws:sqs:eu-west-1:1234:MyQueue' );
define( 'ARN_ORDER_REFUNDED',    'arn:aws:firehose:eu-west-1:1234:deliverystream/MyStream' );
define( 'ARN_PRODUCT_PUBLISHED', 'arn:aws:s3:::my-s3-bucket-1234' );

define( 'AWS_ACCESS_KEY_ID',     'XXXX' );
define( 'AWS_SECRET_ACCESS_KEY', 'XXXX' );
define( 'AWS_REGION',            'eu-west-1' );

Development

Requirements:

  • PHP 7.1+
  • Composer
  • Docker
composer install
composer run dev

To run tests:

composer run test

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2020-05-02

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固