ShoppingCartServiceCheckout(CreditCardPayment, Decimal, CheckoutOptions) Method
Places an order, specifying a fixed payment amount
Namespace: Ignition.Commerce.ShoppingAssembly: CatalystFire.Ignition (in CatalystFire.Ignition.dll) Version: 12.0.3454
public IReceipt Checkout(
CreditCardPayment creditCard,
decimal paymentAmount,
CheckoutOptions checkoutOptions = null
)
Public Function Checkout (
creditCard As CreditCardPayment,
paymentAmount As Decimal,
Optional checkoutOptions As CheckoutOptions = Nothing
) As IReceipt
public:
virtual IReceipt^ Checkout(
CreditCardPayment^ creditCard,
Decimal paymentAmount,
CheckoutOptions^ checkoutOptions = nullptr
) sealed
abstract Checkout :
creditCard : CreditCardPayment *
paymentAmount : decimal *
?checkoutOptions : CheckoutOptions
(* Defaults:
let _checkoutOptions = defaultArg checkoutOptions null
*)
-> IReceipt
override Checkout :
creditCard : CreditCardPayment *
paymentAmount : decimal *
?checkoutOptions : CheckoutOptions
(* Defaults:
let _checkoutOptions = defaultArg checkoutOptions null
*)
-> IReceipt
- 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
IReceiptA receipt for the transaction, based on the final state of the shopping cart after checkout