For credit cards, you'll probably need the following fields:
AmountAuthorized
AmountCharged
AmountRefunded (if it's not 0, which it usually is)
In BV, you can have it set to authorize payments when the user first places the order and capture them later. The only case where AmountAuthorized and AmountCharged will be different is when an order was placed, but not fully processed in BV.
You'll also need all of the CreditCard fields that you mentioned above. The CreditCardType field keeps track of what type of credit card was used (Visa, MasterCard, etc.) It uses a one-character code as follows (M=MasterCard, V=Visa, D=Discover, A=American Express). There are also some other options like JCB, Diner's Club, etc., but I don't remember those ones off the top of my head. Let me know if you need codes for anything other than the 4 major credit cards mentioned above. CreditCardExpMonth is simply an integer between 1 and 12, while creditCardExpYear is the entire year (i.e. 2014, not just 14). Credit card numbers that are stored in BV are automatically encrypted.
OrderID is necessary to connect the payment to a specific order. The PaymentMethodId field also must be filled in--this determines the payment type. There are a number of payment types built into BV, though it is also possible to add custom ones. You can retrieve all of the ID's for available payment methods by calling either Payment_AvailablePayments_EnabledMethods or Payment_AvailablePayments_CollectibleMethods. The difference is that the latter only returns payment methods that are collectible via BV (so, for instance, not purchase orders or phone payments).
AuditDate is automatically initialized to the current date, so you don't need to fill that in.
Here are some of the built in ID's for reference:
7FCC4B3F-6E67-4f58-86B0-25BCCC035A0E Cash
494A61C8-D7E7-457f-B293-4838EF010C32 Check
4A807645-4B9D-43f1-BC07-9F233B4E713C Credit Card
4B0A1BD7-1EE1-4BE0-87B4-E635F96442BF Offline
33eeba60-e5b7-4864-9b57-3f8d614f8301 Paypal Express
26C948F3-22EF-4bcb-9AE9-DEB9839BF4A7 Purchase Order
9FD35C50-CDCB-42ac-9549-14119BECBD0C Telephone
91a205f1-8c1c-4267-bed0-c8e410e7e680 Gift Certificate
For purchase orders, you'll also need to fill in purchaseOrderNumber
For gift certificates, you'll also need to fill in giftCertificateNumber
Edited by user Friday, January 16, 2015 10:55:37 AM(UTC)
| Reason: Not specified