TurinLabs
Search
K

TurinPay Woocommerce plugin and test shop

Learn to install and use the Woocommerce plugin in your ecommerce and start to receive payments in Bitcoin!
Download the zip file woocommerce-turinpay-main.zip
.
Image 1. Download the zip file
Install and activate the plugin on your WordPress site.
From the WordPress Dashboard, go to Plugins>Add New and on the top left click ‘Upload Plugin’ then the ‘Choose File’ button will appear and select the downloaded zip file woocommerce-turinpay-main.zip and click ‘Install Now’.
Image 2. Install the zip file in your Wordpress
Once the installation is complete, click activate button to activate the plugin.
Image 3. Activate the plugin
After activating the plugin, proceed on creating a turinpay account to get the API keys for woocommerce turinpay API settings.
Sign up for an account here: https://app.turinpay.com/signup or if you already have an account please look in your dashboard > API Keys and it will display a popup.
Image 4. Create your account in TurinPay and test your Development API key.
Copy the API keys to your woocommerce. From the WordPress Dashboard, go to Woocommerce > Settings > Payments > Turinpay Processing:
Image 5. Locate your API keys in the plugin
Enable the Turinpay Gateway then click the “Manage” button so it will be redirected to Turinpay API Settings. From there you can now paste the copied API keys in their respective box.
Disclaimer: you receive a Development API key with your TurinPay account. Once you test the product ask for the Production API key to Turin Labs filling the form in app.turinpay.com.
Image 6. Text your API keys in the plugin
Also, the plugin have 2 modes (Test and Live) for this documentation we have used the test mode, so we can freely demonstrate how the plugin works. Note that you can switch it anytime.
Lastly, it is required to tick the “Debug Log” option to record any bugs that you might experience. Easy to track and easy to solve.
After installing and setting up the plugin on Wordpress, it is also necessary to install the TurinWallet on Android or iOS APP (to test the payments from the user side). Note: the same account will be used to login on TurinWallet.
Links to install TurinWallet in GooglePlay and AppleStore here.
TurinWallet plays a big role for easy payments method to your woocommerce products.
Image 7. Downloading TurinWallet from a store
After installing the TurinWallet APP, login using your Turinpay Email & Mobile number.
Image 8. Signing up in TurinWallet
Please take note of the Mobile Number prefix to match your country’s phone number.
After filling up your login details the APP will request for a 2FA 6-digit code from both your email and mobile number. This is to secure your account from being breached.
Image 9. Signing up in TurinWallet

1. Using Developer mode.

TurinWallet is the only Bitcoin wallet that incorporates a Developer mode to test payments with faucet Bitcoin (not real BTC). And you don't need to have faucet BTC in your wallet, the APP generates itself in the payment moment.
To start testing on your mobile click on the account icon on the top right-hand side of the app and turn on the ‘Developer Mode’.
Image 10. Testing in Developer mode
Image 11. Activate the developer mode
You notice the bottle icon appearing when you switch the mode to ‘Developer mode’. We will use this icon to make test payments.
Image 12. Button used to pay in Developer mode
Once the process is complete, you can pay using your Turinwallet. There are 2 ways to make a payment with Turinpay. Here’s an example:
1.1. If you’re on PC or laptop you can scan the QR code using your mobile app to pay instantly. Go to the test shop you have in the website clicking here.
The test shop is also available on https://yenze.io/turinlabs/.
Image 13. Clicking in "Add to cart"
1.2. Go to shop page the click add to cart > Proceed to checkout.
Image 14. Click on "Proceed to checkout"
1.3. Fill out the required billing details then tick the “Checkout with Turinpay” option under "Your order". Proceed clicking the “Pay via Turinpay” button.
Image 15. Clicking on "Pay via Turinpay"
1.4. After clicking this will display a pop-up indicating to pay with your TurinWallet. Click the turinpay logo and you will notice the QR code display. You can scan it using your mobile app.
Image 16. Generating the invoice to be paid
If you are using mobile phone, you need to copy the invoice code:
Image 16. Generating the invoice to be paid from a mobile phone
1.5. Click the bottle icon on the upper part of your mobile screen then it will display a popup and click the “copy from clipboard” button to proceed with payment.
Image 17. Paying the invoice from TurinWallet Developer mode
Scan the invoice and "Slide to confirm"... it's done! TurinPay Wocommerce plugin in testnet is working!
Image 18. "Slide to confirm" and... it's working

2. Using Normal mode.

In normal mode you will receive "real BTC" in each payment. All you have to do is to process the payment there are 2 ways to make a payment with Turinpay. Here’s an example:
2.1. If you’re on PC or laptop you can scan the QR code using your mobile app to pay instantly.
2.2. Go to the shop page the click add to cart > Proceed to checkout.
2.3. Fill out the required billing details then tick the “Checkout with Turinpay” option under order summary. Proceed clicking the “Pay via Turinpay” button.
2.4. After clicking this will display a pop-up indicating to pay with your Turinwallet. Click the turinpay logo and you will notice the QR code display. You can scan it using your mobile app.
2.5. If you are using mobile phone, you need to copy the invoice code.
2.6. Click the pay icon on your mobile screen then it will display a popup and click the “copy from clipboard” button to proceed with payment.
Scan the invoice and "Slide to confirm"... it's done! TurinPay Wocommerce plugin in production is working!