Configuring a payment connector with supported Payment Gateways should take a few minutes. The Payment Connector package was developed to handle all transactions with the payment gateway. Only client-specific information is needed to configure a payment connector in your CRM.
Note: Only one Secure Key and Response Handler link is needed when configuring multiple payment connectors.
You will need to configure SecureKeys for the following gateways:
To set up SecureKey:
Note: The Secure Key is a value you or your Payment Vendor determine. It should be a unique, alphanumeric key no more than 75 characters. It is recommended that keys be at least 12 characters and should include a combination of letters (both upper and lowercase) and digits.
Note: Nelnet has a stand-alone key that needs to be configured in the Payment Connector itself in the Nelnet Shared Secret field. This key is provided by Nelnet.
A Site is needed for payment gateways that send Asynchronous confirmation/rejection details to TargetX after the purchaser finishes the process on their site. These details are sent to the responseHandler visualforce page, which needs to be hosted on a site.
Note: Anytime a site is created, the Time Zone must be updated.
You will need to configure the responseHandler site if you are configuring any of the following gateways:
Follow these steps to configure a NEW site:
5. Save your changes.
6. In the site’s Public Access settings, under Enabled Visualforce Page Access add the following Visualforce pages:
Note: Grant access to any other Profiles your institution uses.
7. To make sure the site is working, navigate to Setup and search for Sites, locate your newly-configured responseHandler site, and copy the link under the column titled ‘Site URL’, then append /targetx_payment__responseHandler. The website should open in a new tab / window with with the word placeholder in the contents. Anything else is wrong.
Note: In PRODUCTION Orgs, if you use a Custom domain you MUST use ‘secure’ in your url. In Sandbox Orgs, do NOT include 'secure'.
Production Org example:
Note: This site MUST HAVE ACCESS to Read/Create/Edit/Delete on the TargetX Logs object BEFORE you test for the PLACEHOLDER message.
A Postback URL must be defined to receive a payment confirmation from your vendor. Constructing this URL will vary across vendors, but it will always start with your Base URL
BASEURL refers to the full url of the site itself (often times this will include /something at the end). For example: https://myclientsite.secure.force.com/responseHandler.
KEYVALUE refers to the Secure Key.
Sites that need the Asynchronous URL should use:
BASEURL/targetx_payment__responseHandler
Sites that need Keys should append:
?secureKey=KEYVALUE
You will need to provide this URL to your vendor or enter it into the configuration for your account.
The Salesforce setting, Lightning Features for Guest Users, is enabled by Default. TargetX products do not require Lightning features, so we recommend you turn this setting OFF to limit access to your Sites:
Using the table below, create Sharing Rules for each object. Replace the items in < > below with the information listed in the table:
<Object> | Step 1: Rule Name <Label> |
Step 2: <Rule Type> |
Step 3: <Records to be Shared> | Step 4: <Users to Share With> | Step 5: <Level of Access> |
---|---|---|---|---|---|
Pending Cart | Payment ResponseSite Users | Guest User Access, Based on Criteria | Created by ID starts with 005 | Payment ResponseSite Users | Read Only |
The required information for each supported payment connector is listed in Configuring Payment Connector Vendors - Transact Payments (CASHNet), Converge, CyberSource, Nelnet, OPC, Paypal, RTS, TouchNet, WPM, and Nelnet Campus Commerce.
Follow the steps below to create your payment connector:
Note: Institutions using Nelnet can also configure a confirmation message or the 'redirect time.'
If you are using Events, you must update the Payment Gateway Custom Setting to specify which connector should be used by Events.
Note: All other fields in the default custom setting have no functionality in the payment connector package. These fields were used to set up payment connectors prior to version 1.22. All payment connectors are now created and configured in the “Payment Connectors” tab.
Many gateways require remote site settings to be configured to allow the connection to the gateway to be established. Follow the steps below to add the payment gateway’s URLs to your CRM’s Remote Site Settings:
Remote Site Settings only need to be configured for the following:
Example: Touchnet
Example: https://test.secure.touchnet.net
4. Click Save.
Payment Vendor | Remote Site Name | Remote Site URL |
---|---|---|
Converge | Converge sandbox | https://api.demo.convergepay.com https://demo.convergepay.com |
Converge | Converge production | https://api.convergepay.com https://www.convergepay.com |
Touchnet | Varies by client... you will need to add one for sandbox and a different one for production. This will be the same as the server url saved in the payment gateway. | |
Note: TargetX uses TLink to connect to uPay payment pages and is TLink compatible. |
||
Paypal | Paypal Sandbox | https://www.sandbox.paypal.com |
Paypal | https://www.paypal.com | |
Nelnet HPP | NelnetHPPUAT | https://portal.uat.cryptpay3.com/ |
NelnetHPP | https://portal.cryptpay3.com/ | |
RTS | RTS | <provided by RTS> |
Nelnet Campus Commerce |
Nelnet CampusCommerceCheckout |
|
NelnetCampusCommerceCheckout2 |
Notes: You can obtain ‘fake’ Payment Cards/Accounts to test your payment gateways from each vendor.
Notes about Remote Site Settings:
Notes:
Note: If you are using Decision/App Reader DO NOT set Require HttpOnly attribute to “true.”
For additional information, see Salesforce Help & Training article Modify Session Security Settings.
In the Clickjack Protection section:
For additional information, see Salesforce Help & Training article Enable Clickjack Protection in Site.com.
In the HSTS for Sites and Communities section:
Set Enable HSTS for all Sites and Communities with the default force.com subdomain that require a secure connection (HTTPS) to “true”
For additional information, see Salesforce Help & Training article Enable Browser Security Settings.
In the Identity Verification section:
Set Require identity verification for change of email address to “true”
For additional information, see Salesforce Help & Training article Configure When Users are Prompted to Verify Identity.
Save your changes.
<Object> | Step 1: Rule Name <Label> |
Step 2: <Rule Type> |
Step 3: <Records to be Shared> | Step 4: <Users to Share With> | Step 5: <Level of Access> |
---|---|---|---|---|---|
Payment Connector | Payment ResponseSite Users | Guest User Access, Based on Criteria | Created by ID starts with 005 | Payment ResponseSite Users | Read Only |
Pending Cart | Payment ResponseSite Users | Guest User Access, Based on Criteria | Created by ID starts with 005 | Payment ResponseSite Users | Read Only |
Example: https://targetxuniversity.force.com/apply/apex/targetx_payment__confirm