Given that a basket can exist in a partially paid state (e.g. $100 basket has 2 $25 gift certificate payments applied), how does one get to those objects? CommerceBuilder.Orders.Basket class does not seem to have a property or method for obtaining that collection, and CommerceBuilder.Orders.Order instance does not yet exist?
-Nick
How to access GiftCertificate object in active basket?
Re: How to access GiftCertificate object in active basket?
Gift Certificate payments are basket items along with other basket items.
You identify gift certificate payment type basket items by their type
for gift certificate payment types
You identify gift certificate payment type basket items by their type
for gift certificate payment types
Code: Select all
item.OrderItemType == OrderItemType.GiftCertificatePayment