Table of Contents

Paypal Express

Implementing Paypal Express as payment provider

PayPal Express Checkout is PayPal’s standard way of transferring money from a sender to a receiver.

A customer selecting PayPal Express Checkout is redirected to the PayPal login page. After they log in, they are taken to the checkout page where they can confirm their billing Information and then complete their orders.

Here is how to configure the PayPal Express checkout handler.

PayPal has a dedicated test environment, called Sandbox, which mirrors all the functionality from the live version.

In order to get access to Sandbox you first need to create a PayPal account on www.paypal.com. You can then log in to the developer administration at developer.paypal.com to start creating test accounts. You can create business (merchant) accounts or personal (buyer) accounts - you must create a business account. Read more about test accounts here.

Within your Paypal business account, you have access to API credentials, which you will need in order to configure the payment method.

Here is how to configure the payment method in DW:

  • Go to Settings > Ecommerce > Order Management > Payment and click the '+ new payment' in the upper right corner
  • Go to the Provider tab and select 'PayPal Express Checkout' as the payment provider
  • Fill in the associated parameters. An example of this can be seen below:

Paypal payment provider parameters

You must:

  • Enter the username, password and signature associated with your account (API credentials)
  • In the Email ID field provide the email address associated with your Paypal account
  • Select, edit or create your error and cancel templates
  • Select a payment type:
    • Sale authorizes and captures payment immediately, and set s the capture state of the order to Captured. Not legal in all countries – some require you to capture only once the goods have been shipped
    • Authorization authorizes the transaction, requiring you to manually capture payment from your Ecommerce order list. An authorization puts a reservation on the amount from the buyers funding source for 3 + 3 days over a 29 day period. The amount can be captured at any time during this 29 day period.
  • Enable guest checkout - allows users with no PayPal account to check out & optionally create a PayPal account
  • Test - Check this when testing the provider. Uncheck before going live.

PayPal also stores user addresses – the following settings are related to handling addresses:

Setting Value Comments
Use PayPal shipping info True/False When enabled, the Delivery address fields on an order are filled with address information from PayPal. When disabled, they are taken from Dynamicweb.
Don’t override PayPal shipping address True/False Determines whether PayPal should show the shipping address set in DW or the one on file in PayPal. Use only when Use PayPal shipping info is unchecked.
No Shipping Select one: PayPal displays the shipping address on the PayPal pages PayPal does not display shipping address fields and removes shipping information from the transaction If you do not pass the shipping address, PayPal obtains it from the buyer’s account profile This controls if/how PayPal shows shipping address fields on PayPal pages. Option 2 and 3 should only be used when Use PayPal shipping info is checked.

Paypal provides test credit cards for testing card integration in the sandbox environment.

When going live, you should:

  • Replace the test credentials with the live credentials
  • Uncheck Test-mode in the checkout handler settings
To top