Template:Getting information

From 360Works Product Documentation Wiki
(Difference between revisions)
Jump to: navigation, search
(Added information about SSL)
Line 21: Line 21:
 
* '''CCSetTestMode''' - Tells the gateway to run in test mode, which will not let any real charges occur but allow for testing and viewing responses.
 
* '''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
 
* '''CCVersion''' - returns the version of the credit card plugin which is installed
 +
 +
====Additional Information about Plastic====
  
 
If you would like to use an emulator with Plastic, you can pass in an additional parameter that will forward the request as to the URL provided instead of directly to the gateway. To do so, simply add url= to the list of parameters when calling a function:
 
If you would like to use an emulator with Plastic, you can pass in an additional parameter that will forward the request as to the URL provided instead of directly to the gateway. To do so, simply add url= to the list of parameters when calling a function:
Line 34: Line 36:
 
"url=http://merchantparneturl.com/")]
 
"url=http://merchantparneturl.com/")]
 
</pre>
 
</pre>
 +
 +
Please note that Plastic processes secure, encrypted payments. Plastic supports SSL encryption with 3.0 and TLS 1.0. It does not support SSL version 2.0.

Revision as of 16:30, 27 June 2013

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

Additional Information about Plastic

If you would like to use an emulator with Plastic, you can pass in an additional parameter that will forward the request as to the URL provided instead of directly to the gateway. To do so, simply add url= to the list of parameters when calling a function:

Set Variable [$result Value:
CCProcessPayment(
merchantAccount, 
transactionKey;
chargeAmount;
cardNumber;
expDate;
"url=http://merchantparneturl.com/")]

Please note that Plastic processes secure, encrypted payments. Plastic supports SSL encryption with 3.0 and TLS 1.0. It does not support SSL version 2.0.

Personal tools
Namespaces

Variants
Actions
Plug-in Products
Other Products
Navigation
Toolbox