Skip to main content

WordPress Plugin

This will guide you through installing, configuring, and using the Credo Payment Gateway on your WordPress site.

Our WordPress Plugin allows you to accept payments securely on your WordPress site. This plugin integrates seamlessly with WooCommerce, providing a smooth checkout experience for your customers.

Requirements

Before you begin, check that you have the following:

  • A WordPress site running version 5.0 or higher
  • WooCommerce plugin installed and activated
  • PHP version 7.2 or higher
  • A Credo account with API credentials

Installation

  1. Log in to your WordPress admin dashboard.
  2. Navigate to Plugins > Add New.
  3. In the search box type Credo WooCommerce Payment Gateway
  4. Click Install now when you see Credo WooCommerce Payment Gateway to install the plugin
  5. Once installed, click Activate Plugin.

Configuration

Step 1: Obtain your API Credentials

  1. Log in to your Credo account.
  2. Navigate to the Developers Settings section.
  3. Generate and copy your API credentials.

Step 2: Configure the Plugin

  1. In your WordPress admin dashboard, go to WooCommerce > Settings.
  2. Click on the Payments tab.
  3. Find Credo Payment Gateway in the list and click Manage / Set up.
  4. Enter your API key and secret.
  5. Configure other settings as needed: There is a selection of options on the screen. Read what each one does below.
  • Enable/Disable: Enable Credo Payment Gateway
  • Title: This will represent Credo on your list of Payment options during checkout. It guides users to know which option to select to pay with Credo. Title is set to “Debit/Credit Cards” by default, but you can change it to suit your needs.
  • Description: This controls the message that appears under the payment fields on the checkout page. Use this space to give more details to customers about what Credo is and what payment methods they can use with it.
  • Transaction Mode: Choose between Test Mode and Live Mode. Test mode enables you to test payments before going live. The orders process with test payment methods, no money is involved so there is no risk. You can uncheck this when your store is ready to accept real payments.
  • Payment Option: Select how Credo gateway displays to your customers. A popup displays Credo Gateway on the same page, while Redirect will redirect your customer to Credo Gateway page for payment.
  • API Keys: The next two text boxes are for your Credo API keys, which you can get from your Credo Dashboard. If you enabled Test Mode in step four, then you’ll need to use your test API keys here. Otherwise, you can enter your live keys.
  • Additional Settings: While not necessary for the plugin to function, there are some extra configuration options you have here. You can do things like add custom metadata to your transactions (the data will show up on your Credo dashboard) or use Credo’s Dynamic settlement feature. The tooltips next to the options provide more information on what they do.
  1. Click Save Changes.

Once the plugin is installed and configured, customers can choose Credo as a payment method during checkout. The payment process will be handled securely via Credo's gateway.

Testing

Step 1: Enable Test Mode

  1. In your WordPress admin dashboard, go to WooCommerce > Settings > Payments > Credo.
  2. Set Transaction Mode to Test Mode.
  3. Save changes.

Step 2: Initiate a Test Transaction

  1. Add products to your cart and proceed to checkout.
  2. Select Credo as the payment method.
  3. Complete the checkout process using test card details provided by Credo.

Step 3: Switch to Live Mode

  1. Once testing is complete, go to WooCommerce > Settings > Payments > Credo.
  2. Set Transaction Mode to Live Mode.
  3. Save changes.

To account for poor network connections, which can sometimes affect order status updates after a transaction, we strongly recommend that you set a Webhook URL on your Credo dashboard. This way, whenever a transaction is complete on your store, we’ll send a notification to the Webhook URL, which will update the order and mark it as paid.

You can set this up by using the URL in red at the top of the Settings page.

Just copy the URL and save it as your webhook URL on your Credo dashboard under Settings > webhook tab.

If you do not find Credo on the Payment method options, please go through the settings again and ensure that:

You’ve checked the “Enable/Disable” checkbox You’ve entered your API Keys in the appropriate field You’ve clicked on Save Changes during setup