Download the PHP package brave-experiments/sku-php without Composer
On this page you can find all versions of the php package brave-experiments/sku-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download brave-experiments/sku-php
More information about brave-experiments/sku-php
Files in brave-experiments/sku-php
Download brave-experiments/sku-php
More information about brave-experiments/sku-php
Files in brave-experiments/sku-php
Vendor brave-experiments
Package sku-php
Short Description Composer plugin for using sku workflow in Brave
License MPL-2.0
Package sku-php
Short Description Composer plugin for using sku workflow in Brave
License MPL-2.0
Please rate this library. Is it a good library?
Informations about the package sku-php
Composer plugin to use SKU workflows in Brave
The PHP library consists of:
-
generateSKUToken() - You need to generate a SKU token for any item that is being displayed to the user. This function needs to be invoked on every page load for an item. See code here
Parameters:
- sku: String
- amount: String
- currency: String, should only be “BAT” for now.
- description: String
- expiry: String in RFC3339 format
-
validateOrderStatus - Once the order id is returned by the rewards service, this wrapper can be used to check if the transaction was completed. See code here
Parameters:
- host: String,
- orderId: String
All versions of sku-php with dependencies
PHP Build Version
Package Version
The package brave-experiments/sku-php contains the following files
Loading the files please wait ....