This is a discussion on Custom validator in an apex trigger to make an external web service call within the Salesforce APEX forums, part of the Salesforce category; I was wondering if anyone has ever made a custom validator in
-
Custom validator in an apex trigger to make an external web service call
I was wondering if anyone has ever made a custom validator in an apex trigger that makes an external web service call via SOAP or REST.
A real world scenario, my scenario, for this is you have a credit card field that you want to validate against your payment gateway in real time when saving an object.
I'm about to attempt it, it should be doable; just want to see if anyone else was successful with it.
Since my server interacts with my payment gateway already, I'll just have SF ping my server with the CC info (in batch of course) and I'll just return whether it's valid or not and fire 'addError()' within the trigger
Similar Threads
-
By mike in forum Tweets From Mike
Replies: 0
Last Post: 10-21-2010, 04:28 PM
-
By hjaffer2001 in forum Salesforce PHP Tutorials
Replies: 3
Last Post: 07-28-2010, 02:58 AM
-
By hjaffer2001 in forum Salesforce APEX
Replies: 2
Last Post: 07-20-2010, 02:11 AM
-
By quantentunnel in forum Salesforce Coding Discussions
Replies: 4
Last Post: 02-24-2010, 03:48 AM
-
By hemmeter in forum Salesforce Coding Discussions
Replies: 4
Last Post: 09-08-2008, 10:39 AM
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
Bookmarks