I'm finding I can create a CC payment profile without billTo information, but then if I try to update that same profile and again do not include billTo I get "There is one or more missing or invalid required fields." The documentation appears to list this field as not required in both create and update, I'm looking for clarification on this.
Thanks in advance
Solved! Go to Solution.
12-03-2021 07:05 AM - edited 12-03-2021 07:06 AM
Under liveMode validation, same requirements applies on all requests (e.g. CreatePaymentProfile, UpdatePaymentProfile), I assume validationMode is set to testMode in your createCustomerPaymentProfileRequest, while it is set to liveMode in your updateCustomerPaymentProfileRequest.
validationMode can either be set to testMode or liveMode:
I hope this helps.
Mansour
12-06-2021 11:54 AM
12-03-2021 09:09 AM
This largely answers my question, but why can I create and not update with the same info / cards? These are btw the test visa cards from Authorize.net. What is best practice, should I just require address info? How much of this address info is required specifically, I'm not sure where this is documented or how to test it quickly.
12-04-2021 10:32 AM
Whats confusing me is I updated from v1 to v2 api. Previously I did not require this info to update credit card payment information. Now it appears I must include a bill to, and the entire bill to object first/last/address/city/stawte/zip/country/phone number. Otherwise its saying missing info.
12-04-2021 12:54 PM
Under liveMode validation, same requirements applies on all requests (e.g. CreatePaymentProfile, UpdatePaymentProfile), I assume validationMode is set to testMode in your createCustomerPaymentProfileRequest, while it is set to liveMode in your updateCustomerPaymentProfileRequest.
validationMode can either be set to testMode or liveMode:
I hope this helps.
Mansour
12-06-2021 11:54 AM
Great, this is helpful, as you mentioned I'm in testMode on create, and liveMode on update, I can now fix my problem. One small question that I couldn't find in the docs, is the benefit / reason to do liveMode lower fees for some cards / processing? Otherwise I wouldn't see the benefit of providing address / zip information.
Thank you
12-07-2021 02:35 AM
The main benefit of using liveMode validation is to only store customer payment profiles that were validated (i.e. only store valid payment card details), this is achieved by submitting the smallest supported amount for authorization ($0 or $0.01) and only store the data if and only if the request has been authorized by the cardholder issuing bank.
If you wish to only use testMode validation at profile creation/update, you can always at a later date validate the details of a given customer payment profile if needs be, by calling validateCustomerPaymentProfileRequest.
Mansour
12-07-2021 09:49 AM - edited 12-08-2021 05:49 AM