The following table lists WebSphere Commerce payments commands used in standard order processing and describes replacements for those commands in an advanced orders environment.
The standard orders interface names listed are commands in API information package com.ibm.commerce.payment.commands.
Java classes
Standard orders Interface name |
Used in advanced orders/event-driven payments | Advanced orders Replacement command |
Comments |
---|---|---|---|
BalancePaymentCmd | No | None | For event-driven payments, payment is captured when shipment is confirmed using the FinalizePaymentCmd. Note: In a migration, this command is used for orders that were in fulfillment at the time of migration. |
CheckPaymentAcceptCmd | No | com.ibm.commerce.edp.commands. ReservePaymentCmd |
Payment reservation (authorization) is requested or checked as appropriate by event-driven payments during release to fulfillment. |
DoCancelCmd | No | com.ibm.commerce.edp.commands. CancelOrderCmd |
|
DoCancelPolicyCmd | No | None | Payment policies are used in advanced orders but do not have a payment policy implementation. Calls to event-driven payments are wrapped with task commands that use payment policy data as input. |
DoInventory | No | None | The advanced order function requires ATP inventory. |
DoPaymentCmd | No | com.ibm.commerce.edp.commands. PrimePaymentCmd |
|
DoPaymentMPFInternalCmd | No | com.ibm.commerce.edp.commands. PrimePaymentCmd |
|
DoPaymentPolicyCmd | No | com.ibm.commerce.edp.commands. PrimePaymentCmd |
Payment policies are used in advanced orders but do not have a payment policy implementation. Calls to event-driven payments are wrapped with task commands that use payment policy data as input. |
DoDepositCmd | No | com.ibm.commerce.epd.commands. FinalizePaymentCmd |
Note: In a migration, this command is used for orders that were in fulfillment at the time of migration. |
DoRefundCmd | No | com.ibm.commerce.returns.commands. PrimeRefundCmd com.ibm.commerce.returns.commands. FinalizeRefund |
|
PayCleanupCmd | No | None | |
PayResetPMCmd | No | None | |
PaySynchronizePMCmd | No | None | |
PaymentMethod | No | None | Schema and queries are used instead. |
PaymentStatus | No | None | Schema and queries are used instead. |
PaymentSynchronize | No | None |