cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

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

 

Transapp_20
Member
2 ACCEPTED SOLUTIONS

Accepted Solutions

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

ElaineM
Moderator Moderator
Moderator

Thanks,

 

I added              

	createRequest.setValidationMode(ApiContracts.ValidationModeEnum.LIVEMODE);

 

 

to my nodejs backedend and it worked like a charm.

View solution in original post

4 REPLIES 4

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

ElaineM
Moderator Moderator
Moderator

Thanks,

 

I added              

	createRequest.setValidationMode(ApiContracts.ValidationModeEnum.LIVEMODE);

 

 

to my nodejs backedend and it worked like a charm.

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

i wonder here and there on google but i can't find proper discussion solution but here i got it and my problem solved. thanks all buddy. check here for more details about card related information. 

margeritalove
Member