Integration and Testing

Authorize.Net API questions and help with your payment integration.

Reply
Member
Posts: 2
Registered: ‎02-11-2019

Create transaction with merchant oauth accessToken and shared CIM vault

I am getting E00001 error when I try to make a payment transaction using shared vault payment profile nonce and merchant access token authorization method. The transaction is successful if I try with payment nonce and merchant name/key authentication method. And the transaction is also successful if I try with card details (number, expiry and code) and merhcant access token authorization.

 

<?xml version="1.0" encoding="UTF-8"?>
<createTransactionRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
  <merchantAuthentication>
    <accessToken>******</accessToken>
  </merchantAuthentication>
  <clientId><![CDATA[sdk-php-1.9.9]]></clientId>
  <refId><![CDATA[ref1545156017]]></refId>
  <transactionRequest>
    <transactionType><![CDATA[AuthCaptureTransaction]]></transactionType>
    <amount>12</amount>
    <payment>
      <opaqueData>
        <dataDescriptor><![CDATA[COMMON.CIM.INAPP.PAYMENT]]></dataDescriptor>
        <dataValue><![CDATA[eyJ0b2tlbiI6Ijk1NDUxNTYwMjE3NTIyNTkyMDQ2MDQiLCJ2IjoiMS4xIn0=]]></dataValue>
      </opaqueData>
    </payment>
    <order>
      <invoiceNumber><![CDATA[6]]></invoiceNumber>
      <description><![CDATA[2--New Auction aff1]]></description>
    </order>
    <customerIP><![CDATA[0.0.0.0]]></customerIP>
  </transactionRequest>
</createTransactionRequest>

<?xml version="1.0" encoding="utf-8"?>
<createTransactionResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
  <refId>ref1545156017</refId>
  <messages>
    <resultCode>Error</resultCode>
    <message>
      <code>E00001</code>
      <text>An error occurred during processing. Please try again.</text>
    </message>
  </messages>
  <transactionResponse />
</createTransactionResponse>

Thanks

 

Posts: 333
Kudos: 73
Solutions: 36
Registered: ‎03-13-2017

Re: Create transaction with merchant oauth accessToken and shared CIM vault

[ Edited ]

Hi @zulfiqarali

 

When doing the payment with the shared payment nonce , you only need to pass the connected merchant api credentials . 

  

if any other questions please reach out at developer_feedback@authorize.net 

 

Thanks

Anurag





Send feedback at developer_feedback@authorize.net
Highlighted
Member
Posts: 2
Registered: ‎02-11-2019

Re: Create transaction with merchant oauth accessToken and shared CIM vault

Hi @Anurag,

 

Thank you for such a quick response. I thought that with OAuth integration, connected merchant access token can be used instead of connected merchant API credentials. So that we don't have to ask for API credentials from a connected merchant. Please let me know if there are plans for adding support for payments with the shared payment nonce and connected merchant access token. If so, is there any timeline for that?

 

 

Thanks

Posts: 333
Kudos: 73
Solutions: 36
Registered: ‎03-13-2017

Re: Create transaction with merchant oauth accessToken and shared CIM vault

Hi @zulfiqarali 

 

Need to understand your use case for using shared profile . 

 

Can you email me on  developer_feedback@authorize.net ?

 

Thanks

Anurag





Send feedback at developer_feedback@authorize.net
Member
Posts: 6
Registered: ‎08-12-2019

Re: Create transaction with merchant oauth accessToken and shared CIM vault

Hi everyone.

 

I've faced the same problem. Seems like after half of a year issue still exist.

Maybe somebody has a solution how to deal with this? 

 

I will appreciate any help

Member
Posts: 4
Registered: ‎03-04-2021

Re: Create transaction with merchant oauth accessToken and shared CIM vault

As for tracking transaction statistics - you could get a whole lot of specifics on transactions by way of the usage of the Transaction Details API in aggregate with transaction ID's.