Payment service
The Payment service is provided by the Sitecore.Commerce.Plugin.Payments
plugin.
The Payments plugin provides basic commands, pipelines, and policies to implement payment collection through integration with a third-party payment service.
Payment capabilities include:
-
Resolving a collection of payment options for a cart. Payment options allow the selection of a type of payment (credit card, PayPal, etc).
-
Resolving a collection of payment options for an individual line in a cart.
-
Resolving a collection of payment methods for a cart, based on a previously selected cart payment option. Some payment options allow further selection of a payment method, for example, selecting the shipping (ground, next day, etc).
-
Resolving a collection of payment methods for an individual line in a cart, based on a previously selected cart line payment option.
-
Sample integration with a third-party payment provider (BrainTree), integrated into a sample solution and provided as source code in the SDK.
For an overview of how to integrate the Braintree payment provider, see the Discover Sitecore channel.