Hide menu Last updated: May 29 2017
Area: Episerver Commerce Applies to versions: 10 and higher
Other versions:

Payment providers

This topic introduces payment providers and payment options available for Episerver Commerce.

During checkout, a payment type is passed for processing through a payment gateway to a payment provider. Episerver provides code samples for some common third-party payment providers like PayPal. 

The Episerver Commerce sample site also includes these payment options by default:  

  • Pay with gift card
  • Pay by credit card
  • Pay by Phone
  • Cash on delivery
  • Credit on account - credit payment option for a company account

Third-party payment provider code samples

Code samples are available for the payment providers listed below. See also the Episerver Add-ons section for additional payment provider solutions.




Built-in payment options

Gift card payment

The Commerce sample site has functionality for managing gift cards during checkout. You can create gift cards for different amounts, define a card's validity period, and combine gift card payments with other payment methods.

The sample site has a page template that enables the customer to enter gift card information during purchasing. Gift cards are administered from the Customers management sub-system.

The gift card payment gateway is implemented in EPiServer.Business.Commerce.Enoteca\GiftCard and added to the sample site during installation and initialization. To learn more, see GiftcardPaymentGateway.cs in the sample package. See also: Creating a gft card payment provider.

Pay by credit card

Pay by Credit Card, a built-in feature of Commerce Manager in the Commerce sample site, manages payments for the major credit card providers. The customer enters credit card details, such as card number, expiration date, card name and Card Verification Value number. The system verifies the information and executes the payment transaction.

Pay by phone

Pay by Phone, another built-in Commerce Manager feature in the Episerver Commerce sample site, manages telephone payments. 

Cash on delivery

Cash on delivery is another built-in Commerce Manager feature of the Commerce sample site.

Credit on account

The Commerce sample site contains B2B features that let businesses purchase using associated company accounts. Company account users automatically get the Credit on Account payment option when they check out purchase orders.

Credit on Account is an existing payment method in Commerce Manager, but is not added by default. The sample site uses the code in EPiServer.Business.Commerce.Enoteca\Initialization\DataInitialization.cs to add this.

The credit on account payment method is implemented in EPiServer.Business.Commerce.Enoteca\CreditOnAccount, and is added to the sample site during installation and initialization. To learn more about crediting on account, see the CreditOnAccountPaymentGateways.cs in the Episerver Commerce sample package.