This Wordpress 4.x Paykun Donation version enable merchants to get donations from the different donors. No need to install Woocommerce.
Following things will be required before you can begin integration:
Access Token & API Secret (See how to generate)
Download the zip from here and extract it to some temporary location
Copy the folder named 'paykun-donate' from the extracted zip into the directory location /wp-content/plugins/
Activate the plugin from the left side 'Plugins' menu in WordPress.
Now you will see new menu in your Wordpress admin called 'Paykun Donation'
Click on Paykun Donation > Settings
Enter all the required details provided by paykun. Follow step 9 to check which detail is required.
Add short code [paykuncheckout] either in page or post to display payment form
Save the below configuration.
Merchant Id - Staging/Production Merchant Id provided by Paykun
Access Token - Staging/Production Access Token provided by Paykun
Encryption Key - Staging/Production Encryption Key provided by Paykun
Default Amount - Enable check box
Amount editable by user? - Paykun
Default Payment Button caption - Default
Log (yes/no) - For troubleshooting
Your Wordpress Donation plug-in is now installed. You can accept payment through Paykun.
To test your integration in sandbox environment before going like, you can use our test environment (See how to create one) and use your test credentials, You just have to use isLive=false in your integration, You can use test card details provided here for testing purpose.
Log In to your PayKun Dashboard
‘Go to’ the Merchant Account under the ‘Payment Gateway’ section (If you are first-time-login then you will see the ‘Become a Merchant’ option.)
After the merchant account login, click on your profile picture.
Select ‘Test mode’.
Select "Generate Sandbox Account" to activate your sandbox account
After activating sandbox account,you can click on "Sandbox Login" button to go to sandbox dashboard and use generated username and password login.
Now you have to generate your Device API key from sandbox account from Setting-Security tab.
You can get you Merchant Id clicking on profile icon from top right corner.
Now you have to use this API key and Merchant ID in your Demo project for testing purposes. Note: Remember that you can login in Sandbox account from your Live account.
If you want to do real transaction than set "isLive" parameter to true and use your Live MerchantId and AccessToken from Paykun dashboard.
The Wordpress 4.x Paykun Donation is released under the MIT License.
In case of any query, please contact to firstname.lastname@example.org