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:
- 2.Copy the folder named 'paykun-donate' from the extracted zip into the directory location /wp-content/plugins/
- 3.Activate the plugin from the left side 'Plugins' menu in WordPress.
- 4.Now you will see new menu in your Wordpress admin called 'Paykun Donation'
- 5.Click on Paykun Donation > Settings
- 6.Enter all the required details provided by paykun. Follow step 9 to check which detail is required.
- 7.Add short code [paykuncheckout] either in page or post to display payment form
- 8.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
- 9.Your Wordpress Donation plug-in is now installed. You can accept payment through Paykun.
If you need it for testing purposes you can use our sandbox mode by sending “isLive” parameter to false.
If you need it for testing purposes you should login in Paykun dashboard using sandbox mode and get your testing merchant Id and Device API key(access token).
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.
- ‘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.