cancel
Showing results for 
Search instead for 
Did you mean: 

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

 

zulfiqarali
Member
4 REPLIES 4

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
Anurag
Moderator Moderator
Moderator

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

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

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