GitBook: [master] 2 pages and 6 assets modified
Before Width: | Height: | Size: 69 KiB After Width: | Height: | Size: 49 KiB |
After Width: | Height: | Size: 34 KiB |
After Width: | Height: | Size: 31 KiB |
After Width: | Height: | Size: 69 KiB |
After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 157 KiB |
|
@ -4,7 +4,78 @@ Official Repository
|
||||||
|
|
||||||
{% embed data="{\"url\":\"https://github.com/BTCPrivate/btcp-widget/blob/master/plugins/btcp-pay-woocommerce.php\",\"type\":\"link\",\"title\":\"BTCPrivate/btcp-widget\",\"description\":\"btcp-widget - JS widget for online shop payments\",\"icon\":{\"type\":\"icon\",\"url\":\"https://github.com/fluidicon.png\",\"aspectRatio\":0},\"thumbnail\":{\"type\":\"thumbnail\",\"url\":\"https://avatars0.githubusercontent.com/u/34813369?s=400&v=4\",\"width\":400,\"height\":400,\"aspectRatio\":1}}" %}
|
{% embed data="{\"url\":\"https://github.com/BTCPrivate/btcp-widget/blob/master/plugins/btcp-pay-woocommerce.php\",\"type\":\"link\",\"title\":\"BTCPrivate/btcp-widget\",\"description\":\"btcp-widget - JS widget for online shop payments\",\"icon\":{\"type\":\"icon\",\"url\":\"https://github.com/fluidicon.png\",\"aspectRatio\":0},\"thumbnail\":{\"type\":\"thumbnail\",\"url\":\"https://avatars0.githubusercontent.com/u/34813369?s=400&v=4\",\"width\":400,\"height\":400,\"aspectRatio\":1}}" %}
|
||||||
|
|
||||||
## Downloading the plugin from GitHub
|
## Install form the WordPress plugin store
|
||||||
|
|
||||||
|
### Install & activate the plugin
|
||||||
|
|
||||||
|
Firstly login to your target WordPress site and click on `Plugins`
|
||||||
|
|
||||||
|
![](../.gitbook/assets/btcp4%20%281%29.png)
|
||||||
|
|
||||||
|
Next, click on `Add New`
|
||||||
|
|
||||||
|
![](../.gitbook/assets/imagen%20%285%29.png)
|
||||||
|
|
||||||
|
Now, on the search bar type `btcp-pay-woocommerce`
|
||||||
|
|
||||||
|
![](../.gitbook/assets/imagen.png)
|
||||||
|
|
||||||
|
And click on `Install Now`
|
||||||
|
|
||||||
|
![](../.gitbook/assets/imagen%20%282%29.png)
|
||||||
|
|
||||||
|
Wait until you get a message that says `Activate` and then click on it.
|
||||||
|
|
||||||
|
![](../.gitbook/assets/imagen%20%281%29.png)
|
||||||
|
|
||||||
|
{% hint style="success" %}
|
||||||
|
You have now activated the BTCP Pay for WooCommerce plugin!
|
||||||
|
{% endhint %}
|
||||||
|
|
||||||
|
### Configure the plugin
|
||||||
|
|
||||||
|
{% hint style="danger" %}
|
||||||
|
Create a BTCP Pay button now if you haven't already
|
||||||
|
{% endhint %}
|
||||||
|
|
||||||
|
{% page-ref page="../cloud-hosted-guide/create-a-btcp-pay-button.md" %}
|
||||||
|
|
||||||
|
To configure the plugin simply paste **btcpWidget.data from your widget.** It should look something like this:
|
||||||
|
|
||||||
|
```javascript
|
||||||
|
btcpWidget.data = {
|
||||||
|
"id" : "btcp_widget",
|
||||||
|
"buttonData" : "buy_A1_6",
|
||||||
|
"merchantid" : "414",
|
||||||
|
"walletid" : "2",
|
||||||
|
"amount" : 0.001,
|
||||||
|
"itemid" : "0",
|
||||||
|
"description" : "Pepperoni Pizza",
|
||||||
|
"transactiondetails" :
|
||||||
|
{
|
||||||
|
"size" : "12 inch",
|
||||||
|
"crust" : "stuffed",
|
||||||
|
"pan" : "thin base"
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
{% hint style="info" %}
|
||||||
|
If you want to make BTCP your store-wide currency you can do so by adding the line `"currency": "BTCP",` to your `btcpWidget.data`
|
||||||
|
{% endhint %}
|
||||||
|
|
||||||
|
Finally, click on save
|
||||||
|
|
||||||
|
![](../.gitbook/assets/btcp6.png)
|
||||||
|
|
||||||
|
{% hint style="success" %}
|
||||||
|
Your plugin should now be working and BTCP Pay activated succesfully!
|
||||||
|
{% endhint %}
|
||||||
|
|
||||||
|
![](../.gitbook/assets/btcp7.png)
|
||||||
|
|
||||||
|
## Install form GitHub
|
||||||
|
|
||||||
|
### Downloading the plugin from GitHub
|
||||||
|
|
||||||
{% hint style="info" %}
|
{% hint style="info" %}
|
||||||
You should have registered in [BTCP Pay](https://btcppay.com) before attemping to follow the steps.
|
You should have registered in [BTCP Pay](https://btcppay.com) before attemping to follow the steps.
|
||||||
|
@ -24,7 +95,7 @@ Then click on **'Save'.**
|
||||||
You have now downloaded the BTCP Pay WooCommerce plugin!
|
You have now downloaded the BTCP Pay WooCommerce plugin!
|
||||||
{% endhint %}
|
{% endhint %}
|
||||||
|
|
||||||
## Uploading the plugin to WordPress
|
### Uploading the plugin to WordPress
|
||||||
|
|
||||||
Next we will need to **upload** the plugin on WordPress.
|
Next we will need to **upload** the plugin on WordPress.
|
||||||
|
|
||||||
|
@ -50,7 +121,7 @@ Drag the .PHP file to the directory to upload it.
|
||||||
You have now uploaded the plugin to WordPress!
|
You have now uploaded the plugin to WordPress!
|
||||||
{% endhint %}
|
{% endhint %}
|
||||||
|
|
||||||
## Activate the plugin
|
### Activate the plugin
|
||||||
|
|
||||||
{% hint style="warning" %}
|
{% hint style="warning" %}
|
||||||
You must access to you administrator account on WordPress in order to activate the plugin.
|
You must access to you administrator account on WordPress in order to activate the plugin.
|
||||||
|
@ -70,7 +141,7 @@ Once you have clicked on activate the website will redirect you directly you the
|
||||||
You have now activated the BTCP Pay for WooCommerce plugin!
|
You have now activated the BTCP Pay for WooCommerce plugin!
|
||||||
{% endhint %}
|
{% endhint %}
|
||||||
|
|
||||||
## Configure the plugin
|
### Configure the plugin
|
||||||
|
|
||||||
{% hint style="danger" %}
|
{% hint style="danger" %}
|
||||||
Create a BTCP Pay button now if you haven't already
|
Create a BTCP Pay button now if you haven't already
|
||||||
|
|
|
@ -70,7 +70,7 @@ Firstly login to your target WordPress site and click on `Plugins`
|
||||||
|
|
||||||
Next, look for a plugin called `Bitcoin Private for WordPress` and click on `Acitavte`
|
Next, look for a plugin called `Bitcoin Private for WordPress` and click on `Acitavte`
|
||||||
|
|
||||||
![](../.gitbook/assets/imagen.png)
|
![](../.gitbook/assets/imagen%20%283%29.png)
|
||||||
|
|
||||||
{% hint style="success" %}
|
{% hint style="success" %}
|
||||||
You have now activated the BTCP Pay WordPress plugin.
|
You have now activated the BTCP Pay WordPress plugin.
|
||||||
|
@ -122,7 +122,7 @@ Once activated you will be directly taken to the configuation page. Please past
|
||||||
|
|
||||||
Once entered, click on **Save Changes.**
|
Once entered, click on **Save Changes.**
|
||||||
|
|
||||||
![](../.gitbook/assets/imagen%20%281%29.png)
|
![](../.gitbook/assets/imagen%20%284%29.png)
|
||||||
|
|
||||||
{% hint style="success" %}
|
{% hint style="success" %}
|
||||||
You have now configured the BTCP Pay for WordPress plugin.
|
You have now configured the BTCP Pay for WordPress plugin.
|
||||||
|
|