Skip to content

Releases: CaptainUnknown/DERO-Pay-WordPress

2.0

Choose a tag to compare

@CaptainUnknown CaptainUnknown released this 29 Sep 13:58

Powered by DERO

DERO Payment Gateway | WordPress 🔌DERO Payment Gateway

WordPress Plugin for an Interface to connect with DERO RPC Chrome Extension.

Plugin connects & Communicates with DERO Wallet through the DERO RPC Extension API. After Connecting to the wallet webapp can invoke any Smart Contract or perform a transaction with provided parameters.

🎁 If you want to support the continuous effort to further develop this plugin, please consider donating DERO at:
Captain_Unknown or dero1qyq7zg0aa06vsh9z46w0ypms70haz55ff2vv60aph65j9dfn5mjv6qqfsf2k7.

After placing one of the folders in your WordPress plugins folder (that can be found under wp-content), you can then:

  1. Point your terminal towards the DERO-RPC-Bridge folder (with admin rights).
  2. Run npm install or npm i.
  3. Then run npm run start to build the files.
  4. In WordPress Editor, Drag & Drop plugin Block. Change the fields to desired parameters.
  5. Click Update & Preview.

Parameters 🔧

Store Admin ServerURI:

string - Store Admin ServerURI (Should not contain protocol). Host a server that manages & generates single use Discount Coupons for selected product & user.

Product ID:

integer - Shopify Product ID.

Course ID:

integer - ID of the current course. Course ID can be checked by following LearnDashs' this FAQ Guide.

Course Domain:

string - Domain where courses are hosted at. Required for API call to LearnDash.

URL (Custom Endpoint):

string - URL of the EndPoint.

Header (Custom Endpoint):

string - Add a non-stringified header (if required)(Should be an object).

Body (Custom Endpoint):

string - Add a non-stringified body (Should be an object).

DERO SCID:

string - Smart Contract ID to be invoked for custom payment contract with DERO, (To check if the SCID is valid, visit: DERO Explorer).

Token SCID:

string - Smart Contract ID to be invoked for custom payment contract with your own Token, (To check if the SCID is valid, visit: DERO Explorer).

Token Price:

integer - The amount of tokens to be transferred when Token SCID is invoked.

Smart Contract RPC:

string - Smart Contract Required RPC arguments (should be an array of object(s)).

Ring Size:

integer - (Optional) Ring size refers to the total number of signers in a ring signature. (Level of anonymity).

USD Price:

integer - The amount to be transferred (in USD), Plugin automatically interprets the amount in DERO with fixed precision to 5 atomic units.

LiveCoinWatch API Key:

string - To get your own API key go to LiveCoinWatch API tools. This field is optional. So, if left empty will fall back to the default key.

Destination Wallet Address:

string - Destination Wallet Address for the transfer. Required if Is Direct Transfer is checked otherwise can be left empty.

Customization 🎛️

Edit index.php - To add any custom script/styles to the plugin, just enqueue the scripts/styles in index.php. onInit Scripts are loaded in the editor while onRender is called on preview & final page.
Syntax Guide to enqueue scripts.
Syntax Guide to enqueue styles.

Screenshots 🖼️

Basic Configuration Block:
Basic Configuration Block

Expanded Configuration Block:
Expanded Configuration Block

Payment Block:
Payment Block

LoggedOut Block:
LoggedOut Block

0.9.8

0.9.8 Pre-release
Pre-release

Choose a tag to compare

@CaptainUnknown CaptainUnknown released this 27 Jul 18:50

Powered by DERO

DERO-RPC-Bridge 🔌

WordPress Plugin for an Interface to connect with DERO RPC Chrome Extension.

Plugin connects & Communicates with DERO Wallet through the DERO RPC Extension API. After Connecting to the wallet webapp can invoke any Smart Contract or perform a transaction with provided parameters.

🎁 If you want to support the continuous effort to further develop this plugin, please consider donating DERO at:
Captain_Unknown or dero1qyq7zg0aa06vsh9z46w0ypms70haz55ff2vv60aph65j9dfn5mjv6qqfsf2k7.

  1. Place the Plugin Binaries, DERO-RPC-Bridge folder in wp-content/plugins. OR you can directly upload the plugin through the install plugin page in WordPress Panel.
  2. In WordPress Editor, Drag & Drop plugin Block. Change the fields to desired parameters.
  3. Click Update & Preview.

Parameters 🔧

(⚠️ Token SCID, Token Price & DERO SCID have now been temporarily disabled. Because they are currently WIP.)
Token SCID:

string - Smart Contract ID to be invoked for custom payment contract with your own Token, (To check if the SCID is valid, visit: DERO Explorer).

Token Price:

integer - The amount to be transferred when Token SCID is invoked.

DERO SCID:

string - Smart Contract ID to be invoked for custom payment contract with DERO, (To check if the SCID is valid, visit: DERO Explorer).

Is Direct Transfer:

boolean - Directly Transfers to the provided Wallet Address, If checked destination wallet address must be provided. However, DERO SCID & Token SCID can be left empty.

USD Price:

integer - The amount to be transferred (in USD), Plugin automatically interprets the amount in DERO with fixed precision to 5 atomic units.

Course ID:

integer - ID of the current course. Course ID can be checked by following LearnDashs' this FAQ Guide.

LiveCoinWatch API Key:

string - To get your own API key go to LiveCoinWatch API tools. This field is optional. So, if left empty will fall back to the default key.

Destination Wallet Address:

string - Destination Wallet Address for the transfer. Required if Is Direct Transfer is checked otherwise can be left empty.

Screenshots 🖼️

Configuration Block:
Configuration Block

Payment Block:
Payment Block

LoggedOut Block:
LoggedOut Block

0.9.7

0.9.7 Pre-release
Pre-release

Choose a tag to compare

@CaptainUnknown CaptainUnknown released this 26 Jul 15:23

(⚠️ Still requires production testing with LearnDash LMS).

Powered by DERO

DERO-RPC-Bridge 🔌

WordPress Plugin for an Interface to connect with DERO RPC Chrome Extension.

The plugin connects & Communicates with DERO Wallet through the [DERO RPC Extension API. After Connecting to the wallet web app can invoke any Smart Contract or perform a transaction with provided parameters.

  1. Place the Plugin Binaries, DERO-RPC-Bridge folder in wp-content/plugins. OR you can directly upload the plugin through the install plugin page in WordPress Panel.
  2. In WordPress Editor, Drag & Drop plugin Block. Change the fields to desired parameters.
  3. Click Update & Preview.

Parameters 🔧

Token SCID:
Smart Contract ID to be invoked for custom payment contract with your Token, (To check if the SCID is valid, visit: DERO Explorer).

Token Price:
The amount to be transferred when Token SCID is invoked.

DERO SCID:
Smart Contract ID to be invoked for custom payment contract with DERO, (To check if the SCID is valid, visit: DERO Explorer).

Is Direct Transfer:
Directly Transfers to the provided Wallet Address, If checked destination wallet address must be provided. However, DERO SCID & Token SCID can be left empty.

USD Price:
The amount to be transferred (in USD), Plugin automatically interprets the amount in DERO with fixed precision to 5 atomic units.

Course ID:
The ID of the current course. Course ID can be checked by following LearnDashs' this FAQ Guide.

LiveCoinWatch API Key:
To get your own API key go to LiveCoinWatch API tools. This field is optional. So, if left empty will fall back to the default key.

Destination Wallet Address:
Destination Wallet Address for the transfer. Required if Is Direct Transfer is checked otherwise can be left empty.

Screenshots 🖼️

Configuration Block:
Configuration Block

Payment Block:
Payment Block

LoggedOut Block:
LoggedOut Block

0.9.0

0.9.0 Pre-release
Pre-release

Choose a tag to compare

@CaptainUnknown CaptainUnknown released this 25 Jul 10:52

(⚠️ Still requires production testing with LearnDash LMS).

Powered by DERO

DERO-RPC-Bridge 🔌

WordPress Plugin for an Interface to connect with DERO RPC Chrome Extension.

The plugin connects & Communicates with DERO Wallet through the [DERO RPC Extension API. After Connecting to the wallet web app can invoke any Smart Contract or perform a transaction with provided parameters.

After placing one of the folders in your WordPress plugins folder (that can be found under wp-content), you can then:

  1. Place the Plugin Binaries, DERO-RPC-Bridge folder in wp-content/plugins. OR you can directly upload the plugin through the install plugin page in WordPress Panel.
  2. In WordPress Editor, Drag & Drop plugin Block. Change the fields to desired parameters.
  3. Click Update & Preview.

Parameters 🔧

Token SCID:
Smart Contract ID to be invoked for custom payment contract with your Token, (To check if the SCID is valid, visit: DERO Explorer).

Token Price:
The amount to be transferred when Token SCID is invoked.

DERO SCID:
Smart Contract ID to be invoked for custom payment contract with DERO, (To check if the SCID is valid, visit: DERO Explorer).

Is Direct Transfer:
Directly Transfers to the provided Wallet Address, If checked destination wallet address must be provided. However, DERO SCID & Token SCID can be left empty.

USD Price:
The amount to be transferred (in USD), Plugin automatically interprets the amount in DERO with fixed precision to 5 atomic units.

Course ID:
The ID of the current course. Course ID can be checked by following LearnDashs' this FAQ Guide.

LiveCoinWatch API Key:
To get your own API key go to LiveCoinWatch API tools. This field is optional. So, if left empty will fall back to the default key.

Destination Wallet Address:
Destination Wallet Address for the transfer. Required if Is Direct Transfer is checked otherwise can be left empty.

Screenshots 🖼️

Configuration Block:
Configuration Block

Payment Block:
Payment Block

LoggedOut Block:
LoggedOut Block