cancel
Showing results for 
Search instead for 
Did you mean: 
unitedu
Contributor
Status: Delivered

I need to be able to create new payment profiles on existing customer profiles at the same time as a transaction is being done, so I can skip the test transaction step. Currently, I can create new payment profiles with an authCaptureTransaction only if I also want a new customer profile. I am getting lots of complaints about the test transactions, and this would solve the problem.

4 Comments
brianmc
Administrator Administrator
Administrator

 Hi @unitedu, we absolutely plan to add this support in the coming months.  You can see we recently added similar support to the createProfileFromTransaction method http://developer.authorize.net/api/reference/#customer-profiles-create-a-customer-profile-from-a-tra...

 

So the idea would be that createTransaction request made would be something like this: 

 

<createTransactionRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
<merchantAuthentication>
<name></name>
<transactionKey></transactionKey>
</merchantAuthentication>
<refId>123456</refId>
<transactionRequest>
  <transactionType>authCaptureTransaction</transactionType>
  <amount>5</amount>
  <profile>
    <createProfile>true</createProfile>
    <customerProfileId>4343434</customerProfileId>
  </profile>
  <payment>
    <creditCard>
    <cardNumber>5424000000000015</cardNumber>
    <expirationDate>1220</expirationDate>
    <cardCode>999</cardCode>
  </creditCard>
</payment>
</transactionRequest>
</createTransactionRequest>

 

Does that look about right?

 

Thanks for your feedback and suggestion,

 

Brian

unitedu
Contributor

Yes, I think that looks exactly like what I would like to be able to do.

 

Thanks,

Trevor

Status changed to: Accepted
RichardH
Administrator Administrator
Administrator
 
Status changed to: Delivered
RichardH
Administrator Administrator
Administrator

This is now available through the API.