ShoppingCartServiceCheckout(CreditCardPayment, Decimal, CheckoutOptions) Method

Places an order, specifying a fixed payment amount

Definition

Namespace: Ignition.Commerce.Shopping
Assembly: CatalystFire.Ignition (in CatalystFire.Ignition.dll) Version: 12.0.3454
C#
public IReceipt Checkout(
	CreditCardPayment creditCard,
	decimal paymentAmount,
	CheckoutOptions checkoutOptions = null
)

Parameters

creditCard  CreditCardPayment
New 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