Is it possible to store two types of payment in a CIM record? I would like to have setup a primary and a secondary form where either one could be a credit card or bank account. My initial read of the API lead me to believe this was possible but I'm wondering at this point if I was wrong.
Thanks,
Nate
06-24-2013 07:22 PM
Yes, each customer profile can have any type and any number of payment profile.
06-25-2013 09:24 AM
First create the customer profile (name, address, etc.). Then you can assign as many payment profiles to it as you want, of either credit card or bank account types (assuming you have support for both types of payment). I personally use a page that loads all the current profiles, displays the hashed info (************1234) for each payment profile, and has buttons next to each profile for edit (brings up the edit popup) and remove (assuming there is more than one payment profile), and a link for add (brings up the add a payment profile popup). Every time onPopupClosed() fires, it refreshes the page, so updates appear on the list.
06-27-2013 04:45 PM