Template:Getting information

From 360Works Product Documentation Wiki
Revision as of 19:35, 3 June 2013 by Sarah (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Plastic includes a number of helper functions that allow users to retrieve data from the gateway or Plastic.

Simply set a variable or a field to use the calculation.

  • CCGetCardIssuer(cardNumber) - returns the card issuer for a given card number.
  • CCGetLast (name) - returns a value from the most recent transaction response that corresponds with the name parameter
  • CCLastAVS- returns the gateway's Address Verification System Response for the last payment which was processed. This response is typically a one letter indicator, meaning the following:
    • M- CVV2/CVC2 Match - Indicates that the card is authentic. Complete the transaction if the authorization request was approved.
    • N- CVV2 / CVC2 No Match – May indicate a problem with the card. Contact the cardholder to verify the CVV2 code before completing the transaction, even if the authorization request was approved.
    • P- Not Processed - Indicates that the expiration date was not provided with the request, or that the card does not have a valid CVV2 code. If the expiration date was not included with the request, resubmit the request with the expiration date.
    • S- Merchant Has Indicated that CVV2 / CVC2 is not present on card - May indicate a problem with the card. Contact the cardholder to verify the CVV2 code before completing the transaction.
    • U- Issuer is not certified and/or has not provided visa encryption keys
  • CCLastChargeResult - returns the gateway's result code for the last operation
  • CCLastPaymentAuthCode - returns the gateway's approval code for the last payment which was processed with CCProcessPayment.
  • CCLastPaymentTransactionID- returns the gateway's transaction ID for the last payment which was processed with CCProcessPayment.
  • CCLastRawResponse- returns the gateway's raw text response for the most recent transaction.
  • CCValidateCardNumber (cardNumber) determines if a card number is valid.
  • CCLastError - returns the text of the last error triggered by a plugin function.
  • CCLicenseInfo - returns information about the license used.
  • CCRegister ( licenseKey, registeredTo) - registers Plastic using the license key and registered to name found in the receipt email. Plastic will run for 2 hours in demo mode before FileMaker Pro will need to be restarted.
  • CCSetTestMode - Tells the gateway to run in test mode, which will not let any real charges occur but allow for testing and viewing responses.
  • CCVersion - returns the version of the credit card plugin which is installed
Personal tools
Namespaces

Variants
Actions
Plug-in Products
Other Products
Navigation
Toolbox