Reply
Highlighted
Member
Posts: 2
Registered: ‎02-24-2020
Accepted Solution

Validate Cards details on create customer payment profile request

Hi,

 

I'm trying to add multiple cards for a customer on a payment page.

but create customer payment profile API is not validating card details like

1)card number,

2)expiry date

at the same time, update customer payment profile seems to validate everything.

the setting is set to live mode in authorize.

could you please help me with this issue and i need to know how to validate card details on create API

 


Accepted Solutions
Highlighted
Solution
Accepted by topic author Transapp_20
‎02-24-2020 09:09 PM
Moderator
Posts: 102
Registered: ‎06-26-2018

Re: Validate Cards details on create customer payment profile request

Hi Transapp_20

 

Make sure you are including <validationMode>liveMode</validationMode> in your request to create the profiles. This is the indicator that validates the payment data included in your createCustomerProfileRequest. 

 

I hope this is helpful.

 

Regards,

Elaine

View solution in original post

Highlighted
Solution
Accepted by topic author Transapp_20
‎02-24-2020 09:10 PM
Member
Posts: 2
Registered: ‎02-24-2020

Re: Validate Cards details on create customer payment profile request

Thanks,

 

I added              

	createRequest.setValidationMode(ApiContracts.ValidationModeEnum.LIVEMODE);

 

 

to my nodejs backedend and it worked like a charm.

View solution in original post


All Replies
Highlighted
Solution
Accepted by topic author Transapp_20
‎02-24-2020 09:09 PM
Moderator
Posts: 102
Registered: ‎06-26-2018

Re: Validate Cards details on create customer payment profile request

Hi Transapp_20

 

Make sure you are including <validationMode>liveMode</validationMode> in your request to create the profiles. This is the indicator that validates the payment data included in your createCustomerProfileRequest. 

 

I hope this is helpful.

 

Regards,

Elaine

Highlighted
Solution
Accepted by topic author Transapp_20
‎02-24-2020 09:10 PM
Member
Posts: 2
Registered: ‎02-24-2020

Re: Validate Cards details on create customer payment profile request

Thanks,

 

I added              

	createRequest.setValidationMode(ApiContracts.ValidationModeEnum.LIVEMODE);

 

 

to my nodejs backedend and it worked like a charm.
Highlighted
Member
Posts: 1
Registered: ‎06-27-2020

Re: Validate Cards details on create customer payment profile request

It's really helpful because it solved my problem related to the payment profile. Thanks for solving my problem.