- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What is the underlying purpose or realistic application of the "testMode" setting of the hostedProfileValidationMode. All it does is make sure the card number is valid, correct? If it were a canceled card,would it still be accepted as a valid payment profile?
Solved! Go to Solution.
โ02-11-2015 06:59 AM
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Or, yeah testmode on the hosted form and do livemode on ValidateCustomerPaymentProfile
โ02-11-2015 12:12 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yes, it only check for Luhn algorithm, so canceled card, or test card# would be valid, with "testmode"
โ02-11-2015 09:01 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks.
I am using CIM XML with iFrame hosted form.
If my application needs to verify that the credit card is valid upon closing of the hosted form, is the only way to do that to send a ValidateCustomerPaymentProfile in liveMode? I want to use liveMode in the getHostedProfilePageRequest to have AuthNet verify the card is valid before the hosted form is closed. By doing this, there are two $.01 charges generated.
Is the only way to avoid the two charges to use testMode in the getHostedProfilePageRequest and leave the responsibility of validating the card to my application (using ValidateCustomerPaymentProfile)?
โ02-11-2015 09:32 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Or just use livemode on getHostedProfilePageRequest and skip the ValidateCustomerPaymentProfile
โ02-11-2015 11:04 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If I skip the ValidateCustomerPaymentProfile, how can my application know if a valid credit card was entered when the payment form popup closes? I use that info to determine wether or not to reactivate their subscription.
โ02-11-2015 11:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ValidateCustomerPaymentProfile mean you need to have a payment profile ID. Where are you going to get that?
โ02-11-2015 11:43 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Or, yeah testmode on the hosted form and do livemode on ValidateCustomerPaymentProfile
โ02-11-2015 12:12 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I guess that is the answer although there just seems to be something wrong about letting someone enter invalid card info and saving it as a Payment Profile and then validating it after the fact.
โ02-11-2015 02:36 PM

