Reply
Member
Posts: 2
Registered: ‎12-06-2016

Apple Pay transaction error 513 on MasterCard and Amex only

Can someone please help me with a weird issue that I'm seeing in Apple Pay transactions. The "createTransactionRequest" function of Authorize.Net API returns the following error on MasterCard and American Express cards:
 
513: There was an error processing the payment data.
 
As I've mentioned above, this error is returned ONLY when American Express or MasterCard is used, Visa works perfectly with no issues. The problem is in both sandbox and production modes. Our processor is TSYS and I can confirm that our account is configured to accept American Express, MasterCard, Visa and Discover. Pasted below are request and response XMLs of successful (Visa) and failed (MasterCard and Amex) transactions made in production mode.
 
VISA (success)
 
<?xml version="1.0" encoding="UTF-8"?>
<createTransactionRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
   <merchantAuthentication>
      <name>XXX</name>
      <transactionKey>XXX</transactionKey>
   </merchantAuthentication>
   <transactionRequest>
      <transactionType>authCaptureTransaction</transactionType>
      <amount>0.01</amount>
      <payment>
         <opaqueData>
            <dataDescriptor>COMMON.APPLE.INAPP.PAYMENT</dataDescriptor>
            <dataValue>eyJkYXRhIjoiTncwZGVuRlhBSnJZUlZiQ0xTTUNjbVwvSDU0b2JFa2t5YWNraERKREZyK3QrNmozN1o2bGRFcnJ4UmY2YndVaXU2YmtlcGRTSHFwdDVLcTRWR0xwYmRJQzM4ZGV6b1l2eFlsbXBtUVdFZFN1ZHVqbFc5d05jYmt3b3RqQnlXdGEzQzRJXC9PNTBuOEVvSnd0ejRWR0hMRVFwakVrNnVWNEx3K0V2VG5DNDZ5ZXZzK2NLYjdqcTg2bXByVmthNmgxTzVJaG0yUXhWOHlET0FZekFzQVZcL2xNQXdpZncyd1pwQVB1N2FJaEhZYStpb2wxaGhcL1R6cnVcL1BIcmhhTWEzbG5wQVV3amJUaDl6bVdoeUZKVEVYME9pXC9VRmJjVHM5MGJ1VkVxbjN4NHVRUkVKYlVrMmQyT3I5Sndmczk0Mk9DYmRMNG5QR0JTUmxzV1dnT2ZDZE9vd3Z6OGNrZENUYUR4WEFcL0NwbCt1bEJO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cmFsUHVibGljS2V5IjoiTUZrd0V3WUhLb1pJemowQ0FRWUlLb1pJemowREFRY0RRZ0FFb043UjQ5dWdzcHozNlhsOHRQWmd0OVBTWjFTZ2syNU5nbjRWMDllRWg3YmZMQTVCMlh4d3pEenRHUW1yRHYzdGk4dDdoRDhtQmRGd0hXTXBqaHpDanc9PSIsInRyYW5zYWN0aW9uSWQiOiI4MmQ4MGIxNTRkMThjNmJjMDI3MzBkYzJiZTI5NDQxN2I0ZjVmM2JmNmQ4MjhjYjI5ZTg4M2RhOTM4NDRlZDFkIn0sInZlcnNpb24iOiJFQ192MSJ9</dataValue>
         </opaqueData>
      </payment>
      <order>
         <invoiceNumber>TEST-94736</invoiceNumber>
         <description><![CDATA[Test Product (qty: 1)]]></description>
      </order>
   </transactionRequest>
</createTransactionRequest>
<?xml version="1.0" encoding="UTF-8"?>
<createTransactionResponse xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <messages>
      <resultCode>Ok</resultCode>
      <message>
         <code>I00001</code>
         <text>Successful.</text>
      </message>
   </messages>
   <transactionResponse>
      <responseCode>1</responseCode>
      <authCode>929768</authCode>
      <avsResultCode>P</avsResultCode>
      <cvvResultCode />
      <cavvResultCode>2</cavvResultCode>
      <transId>20285636068</transId>
      <refTransID />
      <transHash>57A933CEDEF2A7F35224D3B6ECF50CDD</transHash>
      <testRequest>0</testRequest>
      <accountNumber>XXXX2313</accountNumber>
      <accountType>Visa</accountType>
      <messages>
         <message>
            <code>1</code>
            <description>This transaction has been approved.</description>
         </message>
      </messages>
      <transHashSha2 />
   </transactionResponse>
</createTransactionResponse>
 
MASTERCARD (failed)
 
<?xml version="1.0" encoding="UTF-8"?>
<createTransactionRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
   <merchantAuthentication>
      <name>XXX</name>
      <transactionKey>XXX</transactionKey>
   </merchantAuthentication>
   <transactionRequest>
      <transactionType>authCaptureTransaction</transactionType>
      <amount>0.01</amount>
      <payment>
         <opaqueData>
            <dataDescriptor>COMMON.APPLE.INAPP.PAYMENT</dataDescriptor>
            <dataValue>eyJkYXRhIjoiZHkzS3dyc2xhMThnUTF0U3kxV1dsMk9tMFoxc21rVkxFdFlLTTVQQm55b0ZFWmtwcWFEaFhVWGV4MHVEVHIxUE1UYnQ4WkhzNXVqMlAyVld3SU5KV1ErbllMU0NpQ0MrbmcxVHpxcFJqY2J4MFFFd2R5NnhYczFwOVl2cFFCQWJOYUtsQ2IxOFIxek9QNitWMTlmMlBRZ1VONTV2N0tDMFhjNVwvampQckhlXC9zRHQ3aDdudzkxYXpobk4yeFpPTVZKTDAwWE9KZkFkUUhGMnJhXC91U1E1bTAySm44V3hoRTNYZ2hZemdBcmQrRFVtQU5nVzJ2N0VJcE11cDUwbVA5ejdaZktpbDd1UU5wM1ZwcWN0U0gxNDZuUGVwd0VvQUt2MUVONGRGT3VHbFEzYXBpS0l6U3h5alV6NDBVNXRneXpnTW1IWjhqdDkzN0MzY29NQ3Q1SWFOVVp5NHVnUFdFRTNKZGtnMmphczcrcFRYSmQ5Y0k4aDhZN0M0c2JNRU1vQWV4RlwvdUtINFhvQjNxM3JQQzJyWHZKaFpxaWxnaXR3OThTaHQyK3BpTTU2QXhFQjkwRjBmWjc5cDY0cm9PVk00aUx3c21KOGlOWHpsSXRnTjlicHFDVzcxZEh6MmNEcXEyVk5DZEJWMDNYNDdQbnl1UUpQaTBJOUVMS3F0elFzN2wwNjhFMUNaaHB3bFpLRHpQVGhFUk1JeUJUb3JNVE5jZUdMQWNjcW1ncVJ5a24xMmg1cnhpRT0iLCJzaWduYXR1cmUiOiJNSUFHQ1NxR1NJYjNEUUVIQXFDQU1JQUNBUUV4RHpBTkJnbGdoa2dCWlFNRUFnRUZBRENBQmdrcWhraUc5dzBCQndFQUFLQ0FNSUlENGpDQ0E0aWdBd0lCQWdJSUpFUHlxQWFkOVhjd0Nn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NTliYzgwYzQ0Njk1NTZjZjMzZmQ5ZDhkOTFhNTkxZWEyOWQifSwidmVyc2lvbiI6IkVDX3YxIn0=</dataValue>
         </opaqueData>
      </payment>
      <order>
         <invoiceNumber>TEST-94735</invoiceNumber>
         <description><![CDATA[Test Product (qty: 1)]]></description>
      </order>
   </transactionRequest>
</createTransactionRequest>
<?xml version="1.0" encoding="UTF-8"?>
<createTransactionResponse xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <messages>
      <resultCode>Error</resultCode>
      <message>
         <code>E00027</code>
         <text>The transaction was unsuccessful.</text>
      </message>
   </messages>
   <transactionResponse>
      <responseCode>3</responseCode>
      <authCode />
      <avsResultCode>P</avsResultCode>
      <cvvResultCode />
      <cavvResultCode />
      <transId>0</transId>
      <refTransID />
      <transHash>BD8A78A4FD194D2EFFABB31F80771413</transHash>
      <testRequest>0</testRequest>
      <accountNumber />
      <accountType />
      <errors>
         <error>
            <errorCode>153</errorCode>
            <errorText>There was an error processing the payment data.</errorText>
         </error>
      </errors>
      <transHashSha2 />
   </transactionResponse>
</createTransactionResponse>
 
AMERICAN EXPRESS (failed)
 
<?xml version="1.0" encoding="UTF-8"?>
<createTransactionRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
   <merchantAuthentication>
      <name>XXX</name>
      <transactionKey>XXX</transactionKey>
   </merchantAuthentication>
   <transactionRequest>
      <transactionType>authCaptureTransaction</transactionType>
      <amount>0.01</amount>
      <payment>
         <opaqueData>
            <dataDescriptor>COMMON.APPLE.INAPP.PAYMENT</dataDescriptor>
            <dataValue>eyJkYXRhIjoiMW8wczVyRjlDYVdKQXhobTVZMDNzUCtXYnE4Y244c1BIbDd5QmVzVTNSMzNzMExvRGhkVkIwaTNSN1RzTHo1SXJHbnNKVzlibkJUTnRIeUJGb3hxODllclhVRUlTSnV4RXljcE9Na1BNU3llNXh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aGtqT1BRUURBakF2QmdrcWhraUc5dzBCQ1FReElnUWdMZExFRWgxdkYrckN6T1NnOGhUZ3hwXC9GMGxUcmxwXC9MQ1FiTkgxUlwvZTRjd0NnWUlLb1pJemowRUF3SUVSekJGQWlFQXRTa1lhWTJ5WGhEUkpKUFk3UFhwSWFaVm13UHlJMVwvVktSMXdZTWVFS09RQ0lCZHdudUpRcEJOM1BRTmdwT05xRDhTVGRyNkVQdVRDMk5WMXAxclwvaDIzUEFBQUFBQUFBIiwiaGVhZGVyIjp7InB1YmxpY0tleUhhc2giOiJ3eUlCOGU3cWFnVUJ1M29vYlJHc0FyRmdGNGtXMEgwdXlvNTZ3Q2hTVU1VPSIsImVwaGVtZXJhbFB1YmxpY0tleSI6Ik1Ga3dFd1lIS29aSXpqMENBUVlJS29aSXpqMERBUWNEUWdBRWhvWlc5MktvQVhESURleWtVMnRoWU5vM1Q3UkRTSFhnNUkzRWEzZUlSU1BoM1hjQlZaQW93dklNXC9Xb0tUQk1hRWpBMXk3R2U1bVhCMUVrZG1Ua3ZSZz09IiwidHJhbnNhY3Rpb25JZCI6IjM4YWExZTE5MjEwMmRhZmZhODdhZTdiOTZiMDI4MGY2YTc0MGNiYjI3NjE2ZTQ2NjFjNDc0ZmQ1NTIwOGUwM2UifSwidmVyc2lvbiI6IkVDX3YxIn0=</dataValue>
         </opaqueData>
      </payment>
      <order>
         <invoiceNumber>TEST-94735</invoiceNumber>
         <description><![CDATA[Test Product (qty: 1)]]></description>
      </order>
   </transactionRequest>
</createTransactionRequest>
<?xml version="1.0" encoding="UTF-8"?>
<createTransactionResponse xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <messages>
      <resultCode>Error</resultCode>
      <message>
         <code>E00027</code>
         <text>The transaction was unsuccessful.</text>
      </message>
   </messages>
   <transactionResponse>
      <responseCode>3</responseCode>
      <authCode />
      <avsResultCode>P</avsResultCode>
      <cvvResultCode />
      <cavvResultCode />
      <transId>0</transId>
      <refTransID />
      <transHash>BD8A78A4FD194D2EFFABB31F80771413</transHash>
      <testRequest>0</testRequest>
      <accountNumber />
      <accountType />
      <errors>
         <error>
            <errorCode>153</errorCode>
            <errorText>There was an error processing the payment data.</errorText>
         </error>
      </errors>
      <transHashSha2 />
   </transactionResponse>
</createTransactionResponse>
 
I will appreciate any kind of help.
 
Thank you!
Administrator Administrator
Administrator
Posts: 563
Registered: ‎08-03-2011

Re: Apple Pay transaction error 513 on MasterCard and Amex only

 

Hi kanoorani,

 

We are not sure what would cause this error you are getting that is only happening on MasterCard and American Express card tyoes but not with Visa. I highly recommend that you contact Client Services at 877-447-3938 so they can look at your account specifically and review it. 

 

Thanks,

Joy

Member
Posts: 2
Registered: ‎12-06-2016

Re: Apple Pay transaction error 513 on MasterCard and Amex only

Hi,

 

I've been in touch with people at Authorize.net Product Support from almost a week and they are "investigating" the problem but unfortunately there is no help so far.

New Member
Posts: 1
Registered: ‎02-18-2021

Re: Apple Pay transaction error 513 on MasterCard and Amex only

did you ever find a resolution? I too am having this exact issue. It works for VISA, but not American Express or MasterCard

New Member
Posts: 1
Registered: ‎02-19-2021

Re: Apple Pay transaction error 513 on MasterCard and Amex only

There are a few things that can cause this; first, if your Apply Pay supportted regions is set to the United States, then you will need to test with American Express. Second, if you are not signed into a testing device with an iCloud account that supports a sandbox user.

 

Matt Eaton

DTS Engineering, CoreOS

meaton3 at apple.com

 

Getmyoffer.capitalone.com access code