Hey Rick,
I sent you an email but perhaps it was swallowed up in some junk filter. Since others might find this useful, I'll post it here...
I put Justin's code in a complete workflow task (attached to this post). To use this on your site do this:
<OL>
* Copy RemoveCreditCardNumber.vb to the App_Code directory of your BVC5 web site.
<LI>
open App_Code/TaskLoader.vb in an editor and find this line:
Dim result As New Collection(Of BusinessRules.OrderTask)
</LI>
<LI>Add this line right after the line above:
result.Add(New RemoveCreditCardNumber)
</LI>
* Save the file.
* Launch the BVC5 Admin Pages for your site in a browser.
* Click on the Options tab and then select Workflows from the menu right below the tabs.
* Edit the Payment Changed workflow.
* Select "Remove Credit Card Number" from the list on the left and click on the New button.
* Verify that the Remove Credit Card Number appears at the bottom and then click on the OK button.
* Edit the Process New Order workflow.
* Repeat steps 8 and 9.
</OL>
That's it. This will remove the credit card number after it has been captured for new orders and if you add a credit card charge later.
You will probably need to repeat steps 2 and 3 each time you apply a BVC5 Service Pack. Please let me know if you have any questions.
Andy Miller
Princeton '82
P.S. I'm often amazed at the small world I live in...I think we may have been on on OA trip together at one time.
File Attachment(s):
RemoveCreditCardNumber.vb
(2kb) downloaded 109 time(s).You cannot view/download attachments. Try to login or register.