Click or drag to resize

ShoppingCartServiceCheckout(SavedCreditCard, Decimal, CheckoutOptions) Method

Places an order, specifying a fixed payment amount

Namespace: Ignition.Commerce.Shopping
Assembly: CatalystFire.Ignition (in CatalystFire.Ignition.dll) Version: 12.0.28229
Syntax
public IReceipt Checkout(
	SavedCreditCard savedCreditCard,
	decimal paymentAmount,
	CheckoutOptions checkoutOptions = null
)

Parameters

savedCreditCard  SavedCreditCard
A previously saved credit card to use for this purchase
paymentAmount  Decimal
The amount of money to pay towards this purchase. Note that if this number is either less or greater than the total cost of the cart, you should pass in a CheckoutOptions to tell Ignition how to handle overpayment and/or underpayment
checkoutOptions  CheckoutOptions  (Optional)
Additional options used during checkout processing

Return Value

IReceipt
A receipt for the transaction, based on the final state of the shopping cart after checkout
See Also