Documentation
  • Getting Started
  • PayKun Basic-Know-How
    • Registration Guide
    • Payment Life Cycle
    • Payments
    • PayKun Merchant Dashboard
    • PayKun Payment Links
  • PayKun Developer’s Hub
    • Getting Started
      • General Payment Flow with API
      • ‌Authentication
      • Types of Integration
    • Test Environment
    • API Encryption Key Guide
    • Web Integration
      • Understanding Integration
        • Request
        • Encryption
        • Response
        • Error Codes
      • PHP
      • Python
      • .Net
      • JS Checkout
    • Mobile Integration
      • Android SDK
      • iOS SDK
    • eCommerce Integration
      • OpenCart
      • PrestaShop Modules
      • Paykun WHMCS Kit
      • Wordpress_v4.x_Donation
      • WooCommerce
      • Magento
    • Webhooks
    • API Reference Guide
    • Signature Generation and Verification
    • Test Card Information
Powered by GitBook
On this page
  • Prerequisite
  • Installation
  • Test your Integration (sandbox)
  • For Live environment
  • License
  • For any Assistance

Was this helpful?

  1. PayKun Developer’s Hub
  2. eCommerce Integration

Wordpress_v4.x_Donation

PreviousPaykun WHMCS KitNextWooCommerce

Last updated 4 years ago

Was this helpful?

This Wordpress 4.x Paykun Donation version enable merchants to get donations from the different donors. No need to install Woocommerce.

Prerequisite

Following things will be required before you can begin integration:

  • Merchant ID

  • Access Token & API Secret ()

Installation

  1. Download the zip from and extract it to some temporary location

  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.

Test your Integration (sandbox)

If you need it for testing purposes you can use our sandbox mode by sending “isLive” parameter to false.

  • ‘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.

For Live environment

If you want to do real transaction than set "isLive" parameter to true and use your Live MerchantId and AccessToken from Paykun dashboard.

License

The Wordpress 4.x Paykun Donation is released under the MIT License.

For any Assistance

If you need it for testing purposes you should login in Paykun dashboard using sandbox mode and get your testing and

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 for testing purpose.

to your PayKun Dashboard

In case of any query, please contact to

See how to generate
here
merchant Id
Device API key(access token).
here
Log In
tech@paykun.com