Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Payments are central to an e-commerce system. EPiServer Commerce offers both default payment options as well as flexible possibilities to create your own payment solutions. The sample package contains example integrations with various payment providers.
Classes referred to here are available in the following namespaces:
When creating and configuring payment methods in ECF, there are three components that need to be created or re-used as well as configured: Payment Types, Payment Gateways and Payment Methods.
Payment types are classes which contain the properties of a particular payment type. For example, a credit card payment type contains credit card number, card expiration date, card type, etc. All payment types inherit from the abstract class Payment. The most common payment types are already built-in to EPiServer Commerce: Credit card, cash card, gift card, and invoice. In addition, a generic OtherPayment type is included. Payment types are meta classes as part of Meta Data Plus.
Payment gateways provide an interface to the system which provides payment processing. A payment type is passed to the payment gateway and the gateway executes the payment transaction with the payment system, for instance PayPal. One payment type is associated with each payment gateway.
These are some of the gateway properties:
Payment methods contain information about the way the customer views a payment option and has a payment gateway associated with it.
There are several alternatives when setting up payment options for your site:
Refer to Payment gateways for more information on how to create and customize payment gateways.
Last updated: Oct 21, 2014