0 Votes

Create new payment profile through authCaptureTransaction for existing customer profile

Status: Delivered
by on ‎02-25-2016 03:27 PM

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.

Status: Delivered

This is now available through the API.

Comments
by Administrator Administrator
on ‎03-28-2016 02:31 PM

 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

by
on ‎03-28-2016 02:34 PM

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

 

Thanks,

Trevor

by Administrator Administrator
on ‎06-29-2016 06:08 AM
Status changed to: Accepted
 
by Administrator Administrator
on ‎12-16-2016 12:16 PM
Status changed to: Delivered

This is now available through the API.