Difference between revisions of "Template:Payment profiles"

From 360Works Product Documentation Wiki
Jump to navigation Jump to search
m
 
Line 23: Line 23:
 
|expirationDate
 
|expirationDate
 
|}
 
|}
 +
 +
'''Returns''': CCProfileCreatePayment or CCProfileCreatePaymentACH returns the payment profile ID used to reference the newly created profile if successful, or "ERROR" if there was a problem.
 +
 +
'''Returns''': CCProfileUpdatePayment returns a 1 on success, or ERROR if there was a problem.
 +
 
After creation, payments can be retrieved with '''CCProfileGetPayment'''. Certain gateways can validate a payment with '''CCProfileValidatePayment'''. Payments can be deleted with '''CCProfileDeletePayment'''.
 
After creation, payments can be retrieved with '''CCProfileGetPayment'''. Certain gateways can validate a payment with '''CCProfileValidatePayment'''. Payments can be deleted with '''CCProfileDeletePayment'''.
  
Line 48: Line 53:
 
|paymentProfileId
 
|paymentProfileId
 
|}
 
|}
 +
 +
'''Returns''': CCProfileValidatePayment and CCProfileDeletePayment return a 1 on success, or ERROR if there was a problem.

Latest revision as of 18:30, 4 November 2013

Payment profiles allow you to save payment information straight to the gateway for future use. To create a payment profile, call either CCProfileCreatePayment or CCProfileCreatePaymentACH, depending on whether the payment profile is a credit card or ACH. Credit cards are created with CCProfileCreatePayment and updated with CCProfileUpdatePayment.

CCProfileCreatePayment CCProfileUpdatePayment
merchantAccount merchantAccount
transactionKey transactionKey
customerProfileId customerProfileId
cardNumber paymentProfileId
expirationDate cardNumber
expirationDate

Returns: CCProfileCreatePayment or CCProfileCreatePaymentACH returns the payment profile ID used to reference the newly created profile if successful, or "ERROR" if there was a problem.

Returns: CCProfileUpdatePayment returns a 1 on success, or ERROR if there was a problem.

After creation, payments can be retrieved with CCProfileGetPayment. Certain gateways can validate a payment with CCProfileValidatePayment. Payments can be deleted with CCProfileDeletePayment.

CCProfileGetPayment CCProfileValidatePayment CCProfileDeletePayment
merchantAccount merchantAccount merchantAccount
transactionKey transactionKey transactionKey
customerProfileId customerProfileId customerProfileId
paymentProfileId paymentProfileId paymentProfileId

Returns: CCProfileValidatePayment and CCProfileDeletePayment return a 1 on success, or ERROR if there was a problem.