Click or drag to resize

IUCServiceOrderUpdatePayment Method

Update payments for Customer Order

Namespace: LSOmni.Service
Assembly: LSOmni.Service (in LSOmni.Service.dll) Version: Commerce Service for LS Central 2026.8.0
Syntax
C#
bool OrderUpdatePayment(
	string orderId,
	string storeId,
	OrderPayment payment
)

Parameters

orderId  String
Customer Order Id
storeId  String
payment  OrderPayment

Return Value

Boolean
webPreAuthNotAuthorize
Remarks
LS Central WS2: COUpdatePaymentV2 (LS Central 28.0+), COUpdatePayment (earlier)
Example
This Sample request can be used in SOAP UI application to send request to LS Commerce.

Update the pre-authorized card payment on an existing Customer Order

SOAP Sample Request
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://lsretail.com/LSOmniService/EComm/2017/Service" xmlns:ns="http://lsretail.com/LSOmniService/Base/2017" xmlns:ns1="http://lsretail.com/LSOmniService/Loy/2017">
 <soapenv:Header/>
 <soapenv:Body>
    <ser:OrderUpdatePayment>
       <ser:orderId>CO000123</ser:orderId>
       <ser:storeId>S0013</ser:storeId>
       <ser:payment>
          <ns1:Amount>160.00</ns1:Amount>
          <ns1:AuthorizationCode>123456</ns1:AuthorizationCode>
          <ns1:CardNumber>45XX..5555</ns1:CardNumber>
          <ns1:CardType>VISA</ns1:CardType>
          <ns1:CurrencyCode></ns1:CurrencyCode>
          <ns1:CurrencyFactor>1</ns1:CurrencyFactor>
          <ns1:ExternalReference>My123456</ns1:ExternalReference>
          <ns1:LineNumber>1</ns1:LineNumber>
          <ns1:PaymentType>PreAuthorization</ns1:PaymentType>
          <ns1:PreApprovedValidDate>2030-01-01</ns1:PreApprovedValidDate>
          <ns1:TenderType>1</ns1:TenderType>
          <ns1:TokenNumber>123456</ns1:TokenNumber>
       </ser:payment>
    </ser:OrderUpdatePayment>
 </soapenv:Body>
</soapenv:Envelope>
See Also