← back

Getting Started : WordPress + GiveWP

A. Important Notes

1. Please take note that this tutorial is for:

  • Merchants with WordPress site.
  • Merchants with GiveWP already installed with the WordPress site.

2. Before you proceed with the tutorial, please take note of the steps that you will need to complete for the integration:

  • Read more about GiveWP here.
  • Install the plugin to WordPress.
  • Get your Merchant ID & Secret Key for the integration from senangPay.
  • Insert your Merchant ID & Secret Key to your WooCommerce setting in WordPress.
  • Finally, test your shopping cart

B. Download the senangPay Plugin

1. Please download the plugin below.

C. GiveWP Configuration

  1. Login to WordPress Dashboard
  2. Navigate to Donations >> Settings >> Payment Gateways
  3. Enable senangPay
  4. Navigate to senangPay Settings
  5. Set Secret Key, Merchant ID and Billing Description
    Extra: To use senangPay sandbox account, enable GiveWP’s payment gateway test mode
    Extra: You can override senangPay’s details in GiveWP’s form, at senangPay’s section

D. senangPay Configuration

  1. Login to senangPay Dashboard
  2. Navigate to Settings >> Profile >> Shopping Cart Integration Link
  3. Choose SHA256 for the Hash Type Preference
  4. Fill in the Return URL with
     [your-website]/?senangpay_givewp_return=yes, ex: https://yourdonationsite/?senangpay_givewp_return=yes
  5. Fill in the Callback URL with
    [your-website]/?senangpay_givewp_return=yes, ex: https://yourdonationsite/?senangpay_givewp_return=yes

E. Testing your integration

Now, this is the last part. You need to test whether your integration is working or not.

1. Go to your Online Cart page.

2. Select any product, and add to cart.

3. Then, proceed to Checkout.

4. You should see that the payment option to pay with senangPay is visible.

5. Congratulations, your Online Business is now on another triumph level!

Please take note that :

  •  You must make sure that you have installed GiveWP plugin before you install the senangPay plugin, otherwise, your WordPress site will be a blank screen.
  • If you want to uninstall your GiveWP plugin, please uninstall the senangPay plugin first, then GiveWP plugin otherwise, your WordPress site will be a blank screen.