Migrate > Take the first steps after WebSphere Commerce migration > Migrating from a previous payment implementation > Migrating from WebSphere Commerce Payments Multipayment Framework to a payment plug-in > Convert custom V5.x payment task or policy command implementations to a payment plug-in
Replacement commands for WebSphere Commerce Payments Multipayment Framework commands
The payments commands interface names are in API information package com.ibm.commerce.payment.commands. If you customized or extended a WebSphere Commerce Payments Multipayment Framework command do not move the customized code to the replacement command.
The following table lists WebSphere Commerce Payments commands used in previous release and describes replacements for those commands.
WebSphere Commerce Payments Multipayment Framework Replacement command BalancePaymentCmd com.ibm.commerce.ordermanagement.commands.OrderCloseCmd For payment rules, payment is captured when shipment is confirmed using the FinalizePaymentCmd.
In a migration, this command is used for orders that were in fulfillment at the time of migration.
CheckPaymentAcceptCmd com.ibm.commerce.edp.commands. ReservePaymentCmd Payment reservation (authorization) is requested or checked as appropriate by payment rules during release to fulfillment.
DoCancelCmd com.ibm.commerce.edp.commands.CancelOrderCmd DoCancelPolicyCmd com.ibm.commerce.payment.actions.commands.DoPaymentActionsPolicyCmd DoInventory None DoPaymentCmd com.ibm.commerce.edp.commands.PrimePaymentCmd DoPaymentMPFInternalCmd com.ibm.commerce.edp.commands.PrimePaymentCmd DoPaymentPolicyCmd com.ibm.commerce.payment.actions.commands.DoPaymentActionsPolicyCmd DoDepositCmd com.ibm.commerce.epd.commands.FinalizePaymentCmd During migration, this command is used for orders that were in fulfillment at the time of migration.
DoRefundCmd com.ibm.commerce.returns.commands.PrimeRefundCmd com.ibm.commerce.returns.commands.FinalizeRefund
PayCleanupCmd None PayResetPMCmd None PaySynchronizePMCmd com.ibm.commerce.order.commands.OrderPaymentSynchronizeCmd PaymentMethod None Schema and queries are used instead.
PaymentStatus None Schema and queries are used instead.
PaymentSynchronize None
Related concepts
Related tasks
Migrate from WebSphere Commerce Payments Multipayment Framework to a payment plug-in
Convert custom V5.x payment task or policy command implementations to a payment plug-in