Ви знаходитеся тут: Головна / Подключение Ecommerce / ApplePAY, GooglePAY Authorization

ApplePAY, GooglePAY Authorization

створив(ла) Igor Uleschenko Востаннє змінено: Чер 03, 2020 12:25

Payments applepay, googlepay (using cryptogram)

 

Request
Test URL -   https://ecg.test.upc.ua/go/service/02
PROD URL -  https://secure.upc.ua/go/service/02

 

 Response

 

 Result

<ECommerceConnect xmlns:xenc="http://www.w3.org/2001/04/xmlenc#"
xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://secure.upc.ua/go/pub/schema/xmlpay-1.8.xsd">

<Message id="2" version="1.0">
    <XMLPayRequest>
        <RequestData>
            <MerchantID>1752739</MerchantID>
            <TerminalID>E7880539</TerminalID>
          <Transactions>
    <Transaction id="asda3dads">
            <Authorization>
                 <PayData>
                   <Invoice>
                       <OrderID>11223345</OrderID>
                       <Date>091112174516</Date>
                       <TotalAmount>100</TotalAmount>
                       <Currency>980</Currency>
                       <Description>Test</Description>
                 </Invoice>
                      <Card>
                         <CardNum>******</CardNum>
                         <ExpYear>1234</ExpYear>
                         <ExpMonth>01</ExpMonth>
                         <CVNum>***</CVNum>
                               <ExtDataToken>
                                    <TAVV>AKJd0G39PgmtABw5Jp2CAoABFA==</TAVV>
                               </ExtDataToken>
                      </Card>
                 </PayData>
           </Authorization>
          </Transaction>
         </Transactions>
       </RequestData>
   </XMLPayRequest>
</Message>
</ECommerceConnect>
<?xml version="1.0" encoding="UTF-8"?>
<ECommerceConnect xmlns:xenc="http://www.w3.org/2001/04/xmlenc#"
xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://secure.upc.ua/go/pub/schema/xmlpay-1.7.xsd">
<Message id="2" version="1.0">
  <XMLPayResponse>
      <ResponseData>
                <MerchantID>1752739</MerchantID>
                <TerminalID>E7880539</TerminalID>
                      <TransactionResults>
                        <TransactionResult>
                             <TranCode>000</TranCode>
                             <ApprovalCode>157861</ApprovalCode>
                             <Rrn>518412161083</Rrn>
                             <Comment>Approved</Comment>
                             <CVResult>M</CVResult>
                             <HostCode>000</HostCode>
                        </TransactionResult>
                      </TransactionResults>
      </ResponseData>
  </XMLPayResponse>
</Message>
</ECommerceConnect>

 

 

 

 

 

 

 

 

 

<TranCode>000</TranCode>
<Comment>Approved</Comment>

 

Note:
<ExtDataToken><TAVV>Cryptogram</TAVV></ExtDataToken>