The applyMultiplePaymentGroups actor-chain is used to apply multiple payment groups to a customer’s order. Once the payment groups are applied, the process continues on to Order Review.

Parameter

Description

listId

The ID of the order.

cipicount

The size of the cipiList array.

cipiList.amount

Amount that is being applied to the payment group.

cipiList.creditCardVerificationNumber

The credit card verification number.

Apply Multiple Payment Groups Example
curl -L -v -b agent_cookies.txt -H "Content-Type: application/json" -d "{
\"listId\" : \"o40003\", \"cipicount\" : \"2\", \"cipiList\" :
{ \"atg-rest-class-type\":\"java.util.ArrayList\", \"atg-rest-values\":
[{\"atg-rest-class-type\"
:\"atg.commerce.order.purchase.CommerceIdentifierPaymentInfo\",
\"amount\" : \"0.00\",\"creditCardVerificationNumber\" : \"1234\"},
{\"atg-rest-class-type\":
\"atg.commerce.order.purchase.CommerceIdentifierPaymentInfo\",
\"amount\" : \"5.00\", \"creditCardVerificationNumber\" : \"1234\"}]}}"
"http://localhost:8280/rest/model/atg/commerce/custsvc/order/PaymentGroupActor/
applyMultiplePaymentGroups"

Copyright © 1997, 2017 Oracle and/or its affiliates. All rights reserved. Legal Notices