Exemple de code pour initier un paiement sans 3D Secure

Exemple de code pour initier un paiement sans 3D Secure

<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:v5="http://v5.ws.vads.lyra.com/">
   <soap:Header xmlns:soapHeader="http://v5.ws.vads.lyra.com/Header">
      <soapHeader:shopId>12345678</soapHeader:shopId>
      <soapHeader:requestId>9a4bf6ef-af95-4078-b791-4e9e87888eaa</soapHeader:requestId>
      <soapHeader:timestamp>2015-04-01T12:07:34Z</soapHeader:timestamp>
      <soapHeader:mode>TEST</soapHeader:mode>
      <soapHeader:authToken>OWXz7lNdyoaQInKJcDxaKA/djtx6lk7RbaMTgwPhFVo=</soapHeader:authToken>
   </soap:Header>
   <soap:Body>
      <v5:createPayment>
         <commonRequest>
            <paymentSource>EC</paymentSource>
            <submissionDate>2015-04-01T12:05:42Z</submissionDate>
         </commonRequest>
         <threeDSRequest>
            <mode>DISABLED</mode>
         </threeDSRequest>
         <paymentRequest>
            <amount>1</amount>
            <currency>978</currency>
         </paymentRequest>
         <orderRequest>
            <orderId>TEST-01</orderId>
         </orderRequest>
         <cardRequest>
            <number>4970100000000000</number>
            <scheme>VISA</scheme>
            <expiryMonth>12</expiryMonth>
            <expiryYear>2015</expiryYear>
            <cardSecurityCode>123</cardSecurityCode>
            <cardHolderBirthDay>1976-04-18</cardHolderBirthDay>
         </cardRequest>
         <customerRequest>
            <billingDetails>
               <email>mail@example.com</email>
            </billingDetails>
            <extraDetails>
               <ipAddress>127.0.0.1</ipAddress>
            </extraDetails>
         </customerRequest>
      </v5:createPayment>
   </soap:Body>
</soap:Envelope>