Menu Close
Knowledge Base

PayGoCC Integration Instructions

You are here:
< Back

PayGoCC was built to make it easy for you to integrate EMV credit card processing into your existing FileMaker Pro application. 

If you have intermediate to advanced FileMaker Pro knowledge, you should have no problem integrating to PayGoCC. If you use a FileMaker-based solution and want our assistance with integration, please contact our sales team here.

***IMPORTANT: PayGoCC is powered with the Paygistix payment system. You will need a merchant account provide by Payment Logistics. You can learn more about that here.

Step 1:

Place the PayGoCC.fmp12 file in the same directory as your FileMaker Pro 17, 18 or 19 solution. If you’re running on FileMaker Server, please follow FileMaker’s instructions on uploading PayGoCC to your server.

Step 2:

Login to your FileMaker Pro app and add PayGoCC as an External Data Source. PayGoCC will open using a general user name and password. If you’ve purchased PayGoCC with customization capabilities, you will receive a password which will give you access to edit layouts and various scripts.

Step 3:

You will want to prepare the payment table of our existing solution. We recommend that you add the following fields OR map these fields to fields in your system that have a similar function:

1. ccTransactionID [Number field]
2. datePosted [Date field]
3. paymentMethod [Text field]
4. ccLastFour [Number field]
5. ccResponseCode [Number field]
6. ccResponseReasonText [Text field]
7. amount (Optional. Note, we assume you probably already have an amount field in your existing FileMaker app)

Step 4:

Create a script in your current FileMaker Pro App to send your credit card transaction to PayGoCC. The script should resemble something like this:

IMPORTANT: The Perform Script on line 16 (newTransaction) is the script in PayGoCC that you want to call to start a transaction. It is important to send a parameter containing the details of your charge. The script parameter should be in JSON format. Here’s code you could copy and paste to use in your script. You just have to provide the variable values:

JSONSetElement ( "" ; ["invoice_id" ; $invoice_id ; JSONString ]; ["amount" ; $amount ; JSONNumber ]; ["payment_type" ; $payment_type ; JSONString ]; ["transaction_id" ; $transaction_id ; JSONNumber ]; // this is the PNRef ["tender_type" ; $tender_type ; JSONString ]; ["workstation_id" ; $workstation_id ; JSONString ]; ["phone" ; $phone ; JSONString ]; // provide this to send auto text receipts ["receipt_text" ; $receipt_text ; JSONArray ] // provide this to send text receipts )

Lines 27 – 57 show you how to parse the data returned from the payment processing machine.

IMPORTANT: A ccResponseCode of “0” (zero) means that the transaction was successful.

Still Stuck? We're Here to Help!

Next How to Setup Paygistix Cloud in Your PayGo Point of Sale Software
Table of Contents