PHP code example of toriverkosto / woocommerce-aws-integration
1. Go to this page and download the library: Download toriverkosto/woocommerce-aws-integration library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
toriverkosto / woocommerce-aws-integration example snippets
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' );