There doesn't seem to be a full picture of the payment process. The API documentation shows sample code for Auth and Capture, but that code requires the CustomerPaymentProfileId (I am using CIM). In order to know that PaymentProfileID value, you must present payment options to the user and let them select which option they wish to use. But this step is not described anywhere in the documentation. I assume there is a function to grab these payment options so I can display them to the user, but I don't see an example of the entire process.
I guess I am looking for a flow chart or example checkout process.
04-12-2014 10:08 AM
04-12-2014 01:31 PM
Thank you, that code review was useful. I don't use any of those programming languages, but I could follow the logic.
However, all of the CIM samples assumed that the PaymentProfielD and also the PaymentAddressID were known at the time the function was called. This means the user had to have made the selection to Buy by clicking on a particular record containing the PaymentProfileID they wanted to use. That means I have to ensure I always collect and store any changes they make to their PaymentProfile (adding or deleting PaymentProfileIDs or AddressProfileIDs, etc.) and present those options to the buyer in a grid. I am just suprised this fact is not in a flowchart, sample code or in the official documentation (unless I missed it.)
Thanks again.
04-12-2014 09:16 PM
Try the C# one, it show the CreateCustomerProfile, GetCustomerProfile, CreateCustomerPaymentProfile, UpdateCustomerPaymentProfile, GetCustomerProfile, CreateTransaction, and DeleteCustomerProfile.
You will have to stored at the least the customer pofile id, then use it on GetCustomerProfile, where it return the paymentprofileid or the address one.
04-13-2014 04:04 AM
Thanks. That is what I am doing, using getCustomerProfile to get the PaymentProfiles to present payment options to the user to select which one they want to use. I am used to PayPal which is a lot easier.
I find this CIM to be lacking features:
It seems for the CIM to be fully effective, it wants me to manage the account from my application, have them enter the credit card details on MY application and then push that information to Authorize.net. But that defeats the purpose, requires me to install SSL, which I was trying to avoid in this situation.
04-13-2014 02:36 PM