|
Testing Credit Card Calls |
Top Previous Next |
|
Credit cards calls can be tested a couple of ways:
Simulating Credit Card calls
To test only the CC processing without doing any CC processing you can use the following Params:
CCTestApproval[Boolean] CCTestOnly[Boolean]
By using CCtestOnly you are telling the webportal to not submit the credit card for processing but to return an approval based on the value of the cctestapproval param. This allows you to test both approval and denial credit card calls so that you can have the user submit another card or change the values of the submission
cctestonly=true&cctestapproval=true
Using Credit Card guarantee calls
to test using an actual card but having the CC server only "authenticate the card" rather than doing any charge:
If you just add a param named guarantee=true the card will not be charged but only an authorization will be used. YOU MUST REMEMBER to remove this when going live!
guarantee=true
Remember to remove any of the test or guarantee params when you move to production deployment!!!
|