WordPress Plugin

Use the WordPress Plugin to integrate your customer experience in WordPress with Digital River Global Commerce.

Digital River’s WordPress plugin allows you to activate a powerful global solution that performs all of the complex back-end requirements of eCommerce so you can focus on creating beautiful customer experiences. It plugs directly into WordPress, enabling flawless, hyper-localized customer experiences from checkout to fulfillment. Expand quickly into new countries while we manage local regulatory compliance, taxes, payments, PCI compliance, fraud, charge-backs, customer support, and more.

How the integration works

Features

‌Worry-free global expansion

‌Reach new markets faster with localized shopper experiences. A team of local experts will manage customer service, regulatory compliance, taxes, and fraud.‌

Seamless integration

‌Easily connect your WordPress technology to our back-end platform for a fully-integrated and agile global eCommerce machine.‌

  • Product Import: retrieves category, locale, currency, and product data from a Global Commerce site catalog and imports it into WordPress local database

  • Auto-generated commerce pages for the WordPress site

  • Admin settings for quick integration between Digital River and WordPress

  • Mini-cart utilizing Commerce API

  • DigitalRiver.js powered payments and checkout

  • Merchandising offers automatically flow into your cart

Configure and control your offerings

Developer-friendly tools cut hours of customization work down to a simple configuration that takes just minutes.‌

New features for v1.3

We added the following features:

  • Added Subscriptions feature with support for manual/recurring billing.

  • Added Profile management for registered shoppers to manage and view orders, addresses and subscriptions.

  • Added Business Checkout via EIN (US only).

  • Enhanced Upsell promotion feature.

  • Minor Bug fixes.

Note: The guest checkout flow will require registration for the purchase of a subscription Product.

If you want to continue using the original guest checkout flow, the following javascript code is required:

JavaScript
JavaScript
<script>
document.cookie = 'drgc_guest_flag=true; path=/';
</script>

You can update your WordPress Plugin to v1.1.0 directly from the WordPress Plugins section.

Install the Digital River plugin

Plug Digital River into your WordPress store, and we’ll work behind the scenes to process payments, fight fraud, fulfill orders, and shield your business from a global tax and regulatory risk.‌

Installation is easy, just follow these steps!

Plug-in Setup steps

Step 1: Install WordPress

  1. Download the latest WordPress release, unzip it, and move it to the desired directory of your local server.

  2. Follow How to install WordPress to get started with your new site.

  3. Sign in to WordPress with the credentials you created.

Step 2: Install plugin and theme

Important: The WordPress Plugin does not include the Digital River theme. Contact your Account Manager for availability and pricing of integrating this theme into your WordPress storefront.

Install the Digital River WordPress plugin and theme

  1. In WordPress, click Plugins and select Add New.

  2. Locate the Digital River Global Commerce plugin and click Install Now.

Step 3: Activate the plugin and theme

  1. In WordPress, click Plugins, and select Installed Plugins.

  2. Click Activate under the Digital River Global Commerce plugin. Once activated, the Activate toggles to Deactivate.

  3. Click Appearance and select Themes.

  4. Hover over the Digital River theme and click the Activate button.

Step 4: Configure the plugin

  1. Click Digital River and select Settings.

  2. Enter your Site ID, API Key, API Secret, Domain, Payment Services API Plugin Key, Username, Password, and choose whether you want to run a scheduled product import or import your products manually, as well as whether to enable a test order.

  3. Optional. Select the payment methods you want to enable under Payments, including choosing button types and button colors. When you are finished, click the Save button to save your settings. Note that the credit card and PayPal payment methods are always enabled by default. Important: Apple Pay requires a merchant domain registration from Apple and you need to put the payment processing certificate on your sites. See Setting Up Apple Pay Requirements for more information.

  4. Click Digital River and select Products.

  5. To import products manually, click the Import Products button and wait for the products to display. Once imported, you can see your whole product catalog, including details like currencies, locales, and categories.

Important: You can only update products in Global Commerce. Once updated, you must manually sync them with WordPress. See Edit your product for instructions on updating the product.

To import updated products, you must click the Import Products button on the Digital River Products page to manually sync the product updates you made in Global Commerce.

Step 5: Add the menu to the header

  1. Click Appearance and select Menus.

  2. Click the Screen Options tab, and select the Product Categories check box if it is not already selected.

  3. Select the categories and subcategories you want to display on the current Menu and click the Add to Menu button.

  4. Use drag and drop to arrange your menu items in the order you want them to appear.

  5. Optional. Select the Primary Menu check box if you want to add this menu to the "Main Menu.". Depending on your theme, you may want to add this menu to a different menu.

  6. When you are finished, click the Save Menu button to save your changes.

  7. Verify the menu appears on the home page.

Tip: If you get a 404 error for the Category or Product Detail page, refresh your permalinks by clicking Settings, selecting Permalinks, and clicking Save Changes. Note that you don't need to make any changes. (Please refer https://wordpress.stackexchange.com/questions/156978/custom-post-type-single-page-returns-404-error#answer-261763 for additional details.)

Edit your product

Important: We disabled all the functions of editing products and categories in WordPress. You need to access Global Commerce to edit your product or category first, then return to the Digital River Products page in WordPress and click the Import Products button to sync the data.

Note that WordPress only syncs products assigned to the category.

  1. Click Digital River and select Products.

  2. To locate the product you want to edit, enter the product title in the search field, and click Search Products.

  3. Click the title of the product you want to edit.

  4. Scroll to and then click the Manage Products link to go to Global Commerce.

  5. Sign in to Global Commerce.

  6. Select Catalog, select Products, and then click Manage Products.

  7. Complete the search fields under the Search and Filters tab and then click Search Search to locate the specific products. The results appear in the Products list.

  8. Click the internal name of the product you want to edit in the search results list.

  9. Edit the product.

  10. When you are done editing the product, select Catalog, Products, and then click Deploy Products.

  11. Select the check box next to the product you want to deploy and click Deploy.

  12. Return to the Digital River Products section in WordPress, and click Import Products to sync data.

Edit your theme

Important: Only authorized Digital River users can edit the Digital River theme. If you need a customized theme, you can create a child theme under the Digital River theme.

The following table lists the file name associated with each section or page.

Section/Page

File Name

Header

header.php

Footer

footer.php

Homepage

page-home.php

CategoryProductList

taxonomy.php

ProductList

archive.php

ProductDetail

single.php parts\content-single.php

Search

search.php

CSS

style.css → style.min.css