cancel
Showing results for 
Search instead for 
Did you mean: 

Delete Customer Payment Profile Request Not Working

Hi

 

We are having a problem where the Delete Customer Payment PRofile Request is failing in the Production Region . THis is the Sequence of Workflow/API CALLS . We need to know why the Step 6 is failing . THis is affecting a number of merchant account in Auth.net

 

 

Step1 We ask Auth.net to Create a Credit Card with the Customer email/name / Account number etc , something unique .

Step 2 --- Auth.net responds stating , I do have a profile already existing for the information you just provided . They share the Profile

Step 3  We ask them give us the payment profile for this Profile and we will check if that can be reused

Step 4 -->Auth.net responds stating , here is the Payment Profile for this Customer Profile

Step 5 We determine that this Customer Profile and Payment Profile combination is no good for us , so request them to delete that combination (the one they just sent above)

Step 6 -->  Auth.net fails to delete that ---- Not giving any reason as why they failed ?

 

 

Can you please follow up with Auth.net and ask why the delete profile is failing  . You may mention the steps below

 

Here are the sequence of request and response  (XXXX/YYYY are masked values of Login id and transaction Key) AAAA/BBBB are customer names

 

STEP 1

 

<createCustomerProfileRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"><merchantAuthentication><name>XXXXXXX</name><transactionKey>YYYYYYYYYY</transactionKey></merchantAuthentication><profile><merchantCustomerId>Adhoc135674</merchantCustomerId><description>Patti A. Pfister</description><email></email></profile><validationMode>none</validationMode></createCustomerProfileRequest>"

 

STEP 2

 

<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>Error</resultCode><message><code>E00039</code><text>A duplicate record with ID 1915270541 already exists.</text></message></messages><customerPaymentProfileIdList /><customerShippingAddressIdList /><validationDirectResponseList /></createCustomerProfileResponse>"

 

 

 

STEP 3

 

<getCustomerProfileRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"><merchantAuthentication><name> XXXXXXX </name><transactionKey> YYYYYYYYYY </transactionKey></merchantAuthentication><customerProfileId>1915270541</customerProfileId></getCustomerProfileRequest>

 

 

STEP 4

 

<getCustomerProfileResponse 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><profile><merchantCustomerId>Adhoc135674</merchantCustomerId><description>Patti A. Pfister</description><email /><customerProfileId>1915270541</customerProfileId><paymentProfiles><billTo><firstName>AAAAAA</firstName><lastName>BBBBB</lastName><address>999 MCCLELLAND ST</address><city>WATERTOWN</city><state>NY</state><zip> 13601 </zip></billTo><customerPaymentProfileId>1933246505</customerPaymentProfileId><payment><creditCard><cardNumber>XXXX0187</cardNumber><expirationDate>XXXX</expirationDate><cardType>Visa</cardType></creditCard></payment></paymentProfiles></profile></getCustomerProfileResponse>

 

 

STEP 5

 

<deleteCustomerPaymentProfileRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"><merchantAuthentication><name> XXXXXXX </name><transactionKey> YYYYYYYYYY </transactionKey></merchantAuthentication><customerProfileId>1915270541</customerProfileId><customerPaymentProfileId>1933246505</customerPaymentProfileId></deleteCustomerPaymentProfileRequest>

 

 

STEP 6

 

<deleteCustomerPaymentProfileResponse 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>Error</resultCode><message><code>E00001</code><text>An error occurred during processing. Please try again.</text></message></messages></deleteCustomerPaymentProfileResponse>

 

 

We  were expecting a good response in STEP 6 , but not there. Can you please investigate as why Auth.net is not able to delete profiles that they only shared ?

 

debasishbose2k
Contributor
2 REPLIES 2

Would like to note that the same API call is working today (6/14) while it was not working yday(6/13). Was there a temporary glitch ? Or Some code changes made around that ? Can you please advise ?

debasishbose2k
Contributor

Hello Debasish,

 

Thanks for confirming "Delete Customer Profile" is working, we haven't made any code changes on our side in last 2days related to Customer Payment Profile.

 

Please revert if you encounter this issue again.