cancel
Showing results for 
Search instead for 
Did you mean: 

CIM CreateCustomerProfile Issues

Can somebody please advise to me on why the CreateCustomerProfile required banking or credit card information. I have been told from a few different people that I can create a Customer Profile without having to pass in Credit Card information or Banking information. 

 

Whenever, I have tried to remove financial information, all requests fail and I am prompted to add the information. Once the information is entered, the request passes.

 

Is creating Customer Profiles allowable without passing financial information? Please advise

 

Thanks,

 

John

JoMo1970
Member
4 REPLIES 4

Can you show us how are you doing the createCutomerProfile without the payment information, so we can see what might be the issue? What is the error you are getting?

RaynorC1emen7
Expert

Hello,

 

We've encountered the same issue. We are trying to do everything using Authorize's Hosted forms.

 

The "createCustomerProfileRequest" requires a "<creditCard>" to go through successfully. However, we would like to create a Customer Profile without a "<payments>" block, and just get back the new CIM Profile ID, then make a call to "getHostedProfilePageRequest" to "addPayment" using CIMs hosted form (https://test.authorize.net/profile/addPayment)

 

Our use case is when a brand new user creates an account, goes to their account settings and wants to Add a Payment for the first time.

 

But to get to the hosted "Add Payment" form, using the "getHostedProfilePageRequest" requires a "<customerProfileId>".

 

Is it possible to create a customer profile id only using the createCustomerProfileRequest API call without providing (http://developer.authorize.net/api/reference/index.html#customer-profiles-create-customer-profile)?

 

Thank you

md_dev
Member

Hello @md_dev

 

Try creating a profile without payment or validationMode, then use the resulting customer profile with the hosted add payment form.  You can try this in the API Reference Try It tab

 

Richard

 

<?xml version="1.0" encoding="utf-8"?>
<createCustomerProfileRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">  
   <merchantAuthentication>
     <name>***</name>
     <transactionKey>****</transactionKey>
    </merchantAuthentication>
   <profile>
     <merchantCustomerId>123456</merchantCustomerId>
     <description>Profile description here</description>
     <email>customer-profile-email@here.com</email>
     </profile>
  </createCustomerProfileRequest>

 

 

<?xml version="1.0" encoding="utf-8"?> 
<createCustomerProfileResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
  <messages>
    <resultCode>
      Ok
    </resultCode>
    <message>
      <code>
        I00001
      </code>
      <text>
        Successful.
      </text>
    </message>
  </messages>
  <customerProfileId>
    39425240
  </customerProfileId>
  <customerPaymentProfileIdList />
  <customerShippingAddressIdList />
  <validationDirectResponseList />
</createCustomerProfileResponse>

Fantastic and thank you!

 

I appreciate your quick reply as well!

 

Sincerrely,

Tim