SimulatePayment



<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cdis="http://www.cdiscount.com" xmlns:cdis1="http://schemas.datacontract.org/2004/07/Cdiscount.Framework.Core.Communication.Messages" xmlns:sys="http://schemas.datacontract.org/2004/07/System.Device.Location" xmlns:cdis2="http://schemas.datacontract.org/2004/07/Cdiscount.Service.MarketplaceSandbox.API.External.Contract.Data.Filter" xmlns:cdis3="http://schemas.datacontract.org/2004/07/Cdiscount.Service.MarketplaceSandbox.API.External.Contract.Data.Order">
  <soapenv:Header/>
  <soapenv:Body>
    <cdis:SimulatePayment>
      <cdis:headerMessage>
        <cdis1:Context>
          <cdis1:CatalogID>1</cdis1:CatalogID>
          <cdis1:CustomerID>123</cdis1:CustomerID>
          <cdis1:CustomerPoolID>1</cdis1:CustomerPoolID>
          <cdis1:SiteID>100</cdis1:SiteID>
        </cdis1:Context>
        <cdis1:Localization>
          <cdis1:Country>Fr</cdis1:Country>
          <cdis1:Currency>Eur</cdis1:Currency>
          <cdis1:DecimalPosition>2</cdis1:DecimalPosition>
          <cdis1:Language>Fr</cdis1:Language>
        </cdis1:Localization>
        <cdis1:Security>
          <cdis1:DomainRightsList xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />
          <cdis1:IssuerID xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
          <cdis1:SessionID xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
          <cdis1:TokenId>${#Project#token}</cdis1:TokenId>
          <cdis1:UserName xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
        </cdis1:Security>
        <cdis1:Version>1.0</cdis1:Version>
      </cdis:headerMessage>
      <cdis:paymentRequest>
        <cdis2:PayOrder>
          <cdis3:OrderLineList>
            <cdis3:PayOrderLine>
              <cdis3:AcceptationState>AcceptedBySeller</cdis3:AcceptationState>
              <cdis3:ProductCondition>New</cdis3:ProductCondition>
              <cdis3:SellerProductId>SKU-Standart1</cdis3:SellerProductId>
              <cdis3:Sku>SKU-Standart1</cdis3:Sku>
            </cdis3:PayOrderLine>
          </cdis3:OrderLineList>
          <cdis3:OrderNumber>1704181628O16MS</cdis3:OrderNumber>
          <cdis3:OrderState>WaitingForShipmentAcceptation</cdis3:OrderState>
        </cdis2:PayOrder>
      </cdis:paymentRequest>
    </cdis:SimulatePayment>
  </soapenv:Body>
</soapenv:Envelope>

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <SimulatePaymentResponse xmlns="http://www.cdiscount.com">
         <SimulatePaymentResult xmlns:a="http://schemas.datacontract.org/2004/07/Cdiscount.Service.MarketplaceSandbox.API.External.Contract.Data.Order" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
            <ErrorMessage i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/Cdiscount.Framework.Core.Communication.Messages"/>
            <OperationSuccess xmlns="http://schemas.datacontract.org/2004/07/Cdiscount.Framework.Core.Communication.Messages">true</OperationSuccess>
            <a:ErrorList/>
            <a:SellerLogin i:nil="true"/>
            <a:TokenId i:nil="true"/>
            <a:PaymentOrderResults>
               <a:PaymentOrderResult>
                  <a:Errors/>
                  <a:OrderNumber>1704181628O16MS</a:OrderNumber>
                  <a:Paid>true</a:Paid>
                  <a:PaymentOrderLineResults>
                     <a:PaymentOrderLineResult>
                        <a:Errors/>
                        <a:SellerProductId>SKU-Standart1</a:SellerProductId>
                        <a:Updated>false</a:Updated>
                     </a:PaymentOrderLineResult>
                  </a:PaymentOrderLineResults>
                  <a:Warnings/>
               </a:PaymentOrderResult>
            </a:PaymentOrderResults>
         </SimulatePaymentResult>
      </SimulatePaymentResponse>
   </s:Body>
</s:Envelope>