DriveWorks Pro 16: eCommerce PowerPack [send feedback...]

eCommerce PowerPower

The eCommerce PowerPack allows you to implement PayPal into your DriveWorks Project. See eCommerce PowerPack Deployment Guide for more information on how to implement the eCommerce PowerPack into your DriveWorks Projects.

The eCommerce PowerPack contains these Specification Functions and Tasks:

Functions
Get Recipient Email Address
Get Shipping Address
Specification Tasks
Create Express Check Out Payment
Execute Express Check Out Payment

We strongly recommend that you register for a PayPal development account. This will allow you to test your implementation with sandbox accounts and without having to use real money before moving to implementing it into your production environment.

How To Set Up A PayPal Account

To be able to use this functionality you have to create a PayPal account. To create a PayPal account:

  1. Visit PayPal.
  2. Click the Sign Up button.
  3. Follow the instructions to make your PayPal account.

How To Set Up A SandBox Account

Once you have set up a PayPal account you need to then register for a Sandbox account. To do this:

  1. Visit https://developer.paypal.com/developer/accounts/.
  2. Click on Log Into Dashboard button.
  3. Log in to PayPal using the credentials you just used to create the account.

This then launches the PayPal Developer Dashboard which allows you to create and manage your Sandbox accounts and Apps.

How To Register A REST API App

To allow DriveWorks to interact with PayPal you have to create and register a REST API App. You only require a name to create an App. To do this:

  1. Click My Apps & Credentials in the menu on the left side of the screen.
  2. Once on this page scroll down to the section titled REST API Apps.
  3. Click Create App.

    If you have not confirmed your email address this button will be grayed out.

    If you have confirmed your email but this is still grayed out you may have to log out and log back in for it to update your account.

  4. Give the App a meaningful name.
  5. To finish click Create App. This App will now be showed just below the Create App button on the My Apps & Credentials page. To view the details of the App click on the name of App.

Installing The eCommerce PowerPack In DriveWorks

To allow you to use the eCommerce PowerPack you must install the Plugin. This can be downloaded from the DriveWorks Community. To install the eCommerce PowerPack:

  1. Download and run the eCommerce PowerPack Installer.
  2. Within the Settings click on the Plugin Settings Tab.
  3. Here you should see the installed eCommerce PowerPack.

For more information on installing Plugins and the Plugin Settings within DriveWorks see Plugin Settings

Setting Up The eCommerce PowerPack

Once you have installed the eCommerce PowerPack you have to set up your REST API Account with DriveWorks. To do this:

  1. Within Plugin Settings in DriveWorks select the eCommerce PowerPack and select settings. This opens a Window for you to enter your Client ID and Client Secret.
  2. With the PayPal Developers Dashboard open navigate to My Apps & Credentials and click on the name of the App to view its details.
  3. Copy the Client ID from the PayPal Dashboard and paste it into the Client ID Setting in the E-Commerce PowerPack Settings Window.
  4. Click Show under the heading Secret to show your Client Secret.
  5. Copy the Client Secret from the PayPal Dashboard and paste it into the Client Secret Setting in the E-Commerce PowerPack Settings Window.
  6. Now set whether you would like to set up the PowerPack to be in Sandbox mode or Production (Real money transactions). For Sandbox mode check the Sandbox Mode Checkbox.
    To see if you have successfully linked your PayPal SandBox to DriveWorks click the Test Connection button
  7. To finish and close the E-Commerce Settings window click Save found in the right hand corner of the Settings window.

    Clicking Cancel will not save the Client ID or client Secret you have entered.

Table of Contents