A Canadian routing number must be created from the financial institution's Magnetic Ink Character Recognition (MICR) code. For example, if a bank's MICR code is BBBBB-AAA, then it's routing number in Forte's system would be 0AAABBBBB. The leading digit should always be zero. The three-digit code (AAA in our example) represents the financial institution, while the five-digit code (BBBBB) identifies the branch. For a directory of Canadian financial institutions, click here. For more information on the Canadian routing number system, click here.
When using SWP and SOAP/REST web services, a UTC time in ticks since 01/01/0001 00:00:00A may be required to compute the hash value. In cases such as with the integrated cart payment modules, the UTC time in tickets can be computed in seconds using PHP time() function since 01/01/1970 00:00:00AM UTC. The following code may be helpful in computing the UTC time in PHP:
$time = time() + 62135596800;
'UTC now ticks= echo ' . $time . '0000000';
In addition, you can use the following code to generate the UTC time in tickets value in PERL.
#!/usr/bin/perl
# generate UTC time stamp since 01/01/0001 in tics
my $time = (time + 62135596800) . "0000000";
To request a 60-day test account prior to enrollment of your production account, please email your sales organization a request with the following information:
If you are not currently working with the Forte Sales Team, please email your request to [email protected].
Upon submitting a transaction with a duplicate amount, Forte returns the following response:
U10:DUPLICATE TRANSACTION - Transaction has the same attributes as another transaction within the time set in the merchant configuration. The default is five minutes but can be disabled or changed upon request.
This issue can be resolved by either of the following methods:
Merchants who want to quickly and efficiently reverse transactions can do so using the Virtual Terminal's Reverse button. To do so, complete the following steps:
The following table displays which shopping cart brands Forte supports:
Shopping Cart | Website | Integration Method | Credit Cards | Electronic Checks |
AsecureCart | www.asecurecart.com | AGI | + | – |
Comersus | www.comersus.com | SWP | + | + |
CartManager | www.cartmanager.com | SWP | + |
+ |
DesignCart | www.designcart.com | AGI | + | + |
Fortune3 | www.fortune3.com | AGI | + | + |
VeraCart | www.veracart.com | AGI | + | – |
ShopSite | www.shopsite.com | AGI | + | + |
UltraCart | www.ultracart.com | AGI | + | – |
3DCart | www.3dcart.com | SWP | + | + |
WHMCS | www.whmcs.com | SWP | – | + |
If your FrankIT printer is connected using a serial-to-USB conversion cable, the driver for the converter may have to be downloaded and installed. Visit the manufacturer's website for the latest versions of these drivers.
Status | Description |
Authorized
|
The customer's payment was authorized. To complete the sale, the item must be captured from the transaction's detail page. |
Complete
|
eCheck verification was performed and the results were positive (POS) or unknown (UNK). |
Declined
|
Transaction was declined for reasons detailed in Response Code and Response Description. |
Failed
|
eCheck verification was performed and the results were negative (NEG) or the transaction failed for reasons detailed in the Response Code and Response Description. |
Funded
|
eCheck item was funded to or from the merchant's bank account. |
Ready
|
Transaction was received and is awaiting origination (echeck) or settlement (credit card). |
Rejected
|
eCheck item has been rejected or returned by the client's financial institution. Merchant will not be funded for the item. |
Review
|
Transaction was unable to be settled due to a merchant configuration issue. Please contact Customer Service to resolve (1-469-675-9920 x1). |
Settled
|
Credit Card itme has been funded to the merchant's bank account. |
Settling
|
eCheck item has been originated and Forte is awaiting the settlement results. |
Unfunded
|
Previously funded eCheck itme has been returned and funding was reversed. |
Voided
|
Transaction was voided and item will not be originated or settled. |
Upon receipt of the signed request and the required documents, our Risk Department will review your merchant account to determine the reserve and/or the per transaction price increase required. These figures are typically based on the current approved limits as well as the return ratios, including charge-backs, and the financial stability of the company.
Timeouts generally occur because the entire transaction message is not making it to Forte's servers. Use the following troubleshooting techniques to address timeout errors:
Checking the Sent String
Check that the string your application is generating and sending. It should look something like the following:
pg_password=password&
pg_transaction_type=20&
pg_total_amount=10.00&
pg_billto_postal_name_company=Company&
ecom_billto_postal_name_first=Test&
ecom_billto_postal_name_last=Customer&
ecom_billto_postal_street_line1=2350+Date+Palm&
ecom_billto_postal_city=Cathedral+City&
ecom_billto_postal_stateprov=CA&
ecom_billto_postal_postalcode=92234&
ecom_payment_check_account_type=C&
ecom_payment_check_account=1234567891&
ecom_payment_check_trn=111000614&
pg_avs_method=00000&
ecom_walletid=walletid&
endofdata&
Note the ampersand at the end of the string. If the message is properly terminated and still times out, check for additional issues.
Wait Time Too Short on the Merchant Side
The merchant's system should wait at least 60 seconds for a response. The Forte platform will wait 60 seconds for a response from external vendors (credit card processors, verification services, etc.). During the busiest times, there may be some internal queue time as well, so Forte recommends a 90 second wait time. Through the average processing time is 2–3 seconds, an extended (maximum) timeout period will ensure the merchant loses no transactions in the worst case scenario.
Firewall Blocking at the Merchant's Site
This would need to be looked into by the merchant's IT staff. Generally the following ports need to be opened:
Direct Socket Integration
Com Object, PHP Curl, T-SQL, or the POST Method
General Connectivity Problems
If the merchant's internet connection is not down, the merchant should be able to browse to other sites from the machine sending the transactions.
DNS Failures
DNS failures can be checked with the ping command. The Forte platform does not return pin packets but the first thing "ping www.paymentsgateway.net" will do is attempt to resolve the name via DNS. If it says something like "Pinging <site> [<IP addr>]" then DNS is not a factor. If it hangs, the program cannot resolve the name via DNS, which would indicate a connectivity or DNS issue.
If the merchant's timeouts are not explained by any of the above, more troubleshooting by Forte will be required. For each timed-out transaction (up to a maximum of ten), please submit the following information:
ecom_consumerorderid
Valid inputs for pg_schedule_quantity
begin at zero. Specifying zero indicates a transaction is to be processed until canceled. Recurring transactions must have both pg_schedule_quantity
and pg_schedule_frequency
, but pg_schedule_recurring_amount
and pg_schedule_start_date
are optional. The following is an example message for a continuous monthly recurring EFT sale transaction:
pg_merchant_id=111111
pg_password=merchant's processing password
pg_transaction_type=20
pg_total_amount=100.00
ecom_billto_postal_name_first=John
ecom_billto_postal_name_last=Smith
ecom_payment_check_account_trn=021000021
ecom_payment_check_account=1234567
ecom_payment_check_account_type=C
pg_schedule_frequency=20
pg_schedule_quantity=0
endofdata
Complete the following steps:
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 1); // verifying the peer's certificate is completely optional.
curl_setopt($ch, CURLOPT_CAINFO, 'c:\php\ca-bundle.crt'); // specificy path to ca-bundle.crt in 3rd parameter.
NOTE: Messages delivery securely to Forte use SSL v3 and/or TLS v1.0 protocols.
Below is an example response:
pg_response_code=E10 pg_response_description=INVALID PASSWD pg_trace_number=76D30BF7-C574-4F9A-AA65-7DF9E58FA0B0 pg_merchant_id=2000 pg_transaction_type=13 pg_total_amount=110.00 ecom_billto_postal_name_first=John ecom_billto_postal_name_last=Smith endofdata * About to connect() to www.paymentsgateway.net port 443 * Trying 10.10.1.102... * connected * Connected to www.paymentsgateway.net (10.10.1.102) port 443 * successfully set certificate verify locations: * CAfile: c:\php\ca-bundle.crt CApath: none * SSL connection using RC4-MD5 * Server certificate: * subject: /C=US/ST=California/L=Palm Springs/O=ACH Direct, Inc./OU=Terms of use at www.verisign.com/OU=Terms of use at www.verisign.com/rpa (c)05/CN=www.paymentsgateway.net * start date: 2007-01-09 00:00:00 GMT * expire date: 2008-02-06 23:59:59 GMT * common name: www.paymentsgateway.net (matched) * issuer: /O=VeriSign Trust Network/OU=VeriSign, Inc./OU=VeriSign International Server CA - Class 3/OU=www.verisign.com/CPS Incorp.by Ref. LIABILITY LTD.(c)97 VeriSign * SSL certificate verify ok. > POST /cgi-bin/posttest.pl HTTP/1.1 Host: www.paymentsgateway.net Accept: */* Content-Length: 307 Content-Type: application/x-www-form-urlencoded pg_merchant_id=2000&pg_password=password&pg_transa ction_type=13&pg_total_amount=110.00&ecom_billto_p ostal_name_first=John&ecom_billto_postal_name_last =Smith&ecom_payment_card_type=VISA&ecom_payment_ca rd_number=4111111111111111&ecom_payment_card_expda te_month=12&ecom_payment_card_expdate_year=2020&en dofdata< HTTP/1.1 200 OK < Date: Wed, 26 Sep 2007 21:29:00 GMT < Server: Apache/2.2.3 (Debian) mod_ssl/2.2.3 OpenSSL/0.9.8c mod_perl/2.0.2 Perl/v5.8.8 < Transfer-Encoding: chunked < Content-Type: text/html; charset=UTF-8 < Set-Cookie: BIGipServerCGIPost=687999498.47873.0000; path=/ * Connection #0 to host www.paymentsgateway.net left intact * Closing connection #0
Forte loves working with a variety of merchants; however, we cannot process payments for businesses on our Prohibited Merchant list. We derive this list both from our banking partners and our own experience with losses in certain industries. The list below displays the types of businesses that Forte will not work with regardless of their use of services (e.g., payroll, service fees, etc.). If you have additional questions about this list, contact Forte Sales.
Prohibited Merchant List
To resolve a perpetual spinner when accessing the Virtual Terminal in Internet Explorer, enable the ActiveX Filtering option under the Tools menu by clicking on it. When enabled, IE displays a check mark next to the option (see the figure below). Alternatively, you can attempt to log in from another browser, such as Google Chrome.
To enable Compatibility Mode, complete the following steps:
Currently, Microsoft Edge does not support the scripting requirements of Virtual Terminal and requires the user to revert back to Internet Explorer 11 and turn on compatibility mode. A message displays indicating when the user should do this:
To revert to Internet Explorer 11 and turn on compatibility mode, complete the following steps:
Forte is dedicated to protecting the confidentiality and integrity of your customers' information by providing the highest levels of security. We are certified fully compliant with the PCI Data Security Standard. PCI covers twelve major categories of information security including network design, data storage, intrusion monitoring and the use of security-aware IT policies. Our compliance meets and exceeds these industry standards as an integral part of our commitment to end-to-end security.
All merchant communications uses high-grade 128-bit SSL to protect your information as it passes through the Internet.
We also encrypt all sensitive information before placing it onto any storage device. We encrypt sensitive information using RSA public/private 1024-bit key technology with a proprietary cryptographic server infrastructure. Our system uses a split-knowledge unlock procedure that ensures no single person within Forte has access to your customers' sensitive information.
Click here to see a listing of PCI-DSS compliance service providers as provided by Visa.
The NACHA file does not need to be balanced.
Enter your Merchant ID assigned by Forte in the Company Identification field. This value may be referenced from the new merchant's welcome letter or package. The Company Identification is an alphanumeric field found in both the batch header and batch control records:
Numeric text (i.e., 0–9 with no period) must be right justified with no padding and zero filling any empty positions. For example, the variable, COMPANY IDENTIFICATION
must be formatted in this manner for the Forte platform to accept the file.
Alphabetic/alphameric text must be left justified with space padding for unused positions.
The Immediate Destination field is not necessary.
Click here to see a list of supported check and credit card readers.
Click here to download the necessary drivers for USB MagTek readers. The MagTek USB driver is necessary to use the APTM USB, CAPS4USB, IntelliPINUSB, MiniMICRUSB, or MICRImageUSB models with a Windows operating system. These devices can be installed on the same PC if required. After you unzip the files to a folder on your hard disk, attach the device to the PC. In order to install them on a 32-bit system, select the USB-332 folder; to install them on a 64-bit system, select the USB-64 folder.
Click here to download the MagTek MICR Configuration Tool with Device Loads. MICR readers can be configured using the MICRbase program. Included as part of the download are commonly used device loads for supported MagTek products.
To reconfigure your Magtek credit card swiper (Model #21040107 and #21040145) to factory defaults, complete the following steps:
*Readers purchased by Acclivity/MYOB merchants will use the following messages in lieu of those detailed in steps 9 and 11:
Refer to the Readme.txt for additional information on the Magtek USB MSR appliction.
[DEVICE1]
Name=EXCELLA_ETHER
Transport=ETHERNET
ConnectionString=192.168.10.100
SimulatorFile=c:\program files\magtek\Excella Demo\Script\Device1.ini
ScriptFile=c:\program files\magtek\Excella Demo\Script\Script1.ini
[DEVICE2]
Device=Excella
Name=EXCELLA_USB
Transport=ETHERNET
ConnectionString=192.168.99.100
SimulatorFile=c:\program files\magtek\Excella Demo\Script\Device1.ini
ScriptFile=c:\program files\magtek\Excella Demo\Script\Script1.ini
*Verify the ConnectionString contains the correct IP Address(s); If ok, restart the computer.
If you are a merchant experiencing difficulties accepting HSA cards from your clients and Forte sends you your monthly credit card merchant services statement, click here to register to accept HSA cards. Upon completion, contact Forte to update your merchant credit card processing account. Contact information for Forte should be printed at the top of your monthly credit card merchant services statement.
A "SERV NOT ALLOWED" message usually indicates that the merchant account with the credit card processor may not be set up for a specific card type. Note this message is returned by Vital. Vital can inform you as to why the transactions were declined by contacting them directly.
To resolve this issue, verify the merchant ID/transaction ID (MID/TID) have been entered on your account at Forte by calling your Sales Representative. For support with Vital merchant accounts, contact Vital; otherwise, contact Forte's Customer Service Department at 469-675-9920 x1.
For the latest version of the ABA database, see the following third-party resources:
No. With a less day hold, Forte is basically advancing the money into your account without confirmation that the funds are available in your customer’s accounts. Forte also has to wait the standard hold time to determine if the funds are available in your customer’s accounts. On less than a standard hold time, every return you receive from your customer’s accounts (e.g., NSF, Stop Payment, Unauthorized, etc.), Forte will have to debit your settlement account for the previously funded transactions that were rejected (PFs). This may cause reconciliation difficulties simply because you will be receiving funds for transactions that you're not sure have successfully cleared your customer's accounts.
You can go to a less day hold; however, any merchant who wants a less day hold on his/her merchant account is required to send in the following documentation:
Also, you may be required to provide an up front or fixed reserve and/or the possibility of a per transaction price increase.
The following pair (trn: 987654321
, acct: 987654321
) will always yield a declined U02:ACCOUNT NOT APPROVED response on test. To receive a TEST APPROVAL response, please use another account number such as 8484848484
.
Generally prior bank authorization is not required to initiate debits or credits. Some situations (e.g., corporate credit card or debit transactions) may require entities notify their financial institution or else risk the item being returned.
Forte's system flags transactions as R51 when transaction items or volume exceed certain thresholds that Forte has established for a particular Merchant ID. Many times items that are initially flagged as an R51 are allowed to be processed if a Risk Manager can approve the items, but if a Risk Manager is not able to approve the transactions before the end-of-day process, the items will reject. Merchants who are concerned with the future items rejecting as R51 should contact Risk Management and let them know that they had some items reject as R51 and would like to have an account review. Risk will evaluate the thresholds that have been established for the merchant for a potential increase. In the meantime, the merchant should resubmit the items rejected R51 for processing. Optionally, Forte will resubmit the R51 transactions on their behalf. To speak with Risk Management, call 469-675-9920 x8603.
Depending on how Forte receives the transactions, various response codes may be returned for EFT account on the "known bad" list:
Real-Time Integrations (AGI, SWP, or Virtual Terminal) and ATMVerify Transactions via Batch File Transmission
Transaction will be declined with a U02: ACCOUNT NOT APPROVED error message.
Batch File Transmission (Direct Billing, Transporter, or any software uploading a file containing a transaction)
Transaction will be approved for processing and returned on the origination date with one of the following error messages:
Forte recommends building a file containing a small quantity of debit (i.e., charge) or credit (i.e., refund) transactions each valued at ≤ $2.00. Prior to the first formal transmittal, upload the file to the root ("/") of your user account on ftp.paymentsgateway.net and request [email protected] review your file. After this initial preparation, complete the following steps:
Click here to download Batch Transmission sample batch files.
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQGiBDnTWtgRBADRPX9RN8MZSlNRyoAKaxOYgTsKgauYNer1d3 X9Q7O0awzrKfES
CnhUw95LDvwaGjj58DjUZDrDkW2N5S1WjXpPJepqA28zxQyrWB tvxtqRVpcEewiD
6ZUO8S+YGrvMvpfUwLuKUWkjxEMbX6ofXxooO00t6UZk8hUah1 DQVXGlBwCg/92U
DUldiy/X92QNDtIetmP7m90EAMoIb45c+G/UhTQCfhq8U7RmrEpx0xxdvdHoV344
gZRzF5pNnh5zbyW3onQjpH+ti7v58hYzcy1yNuPJLcY+T5jBe0 eCQ1PrkYhLmfSS
iAAd5Be+YgCGcb0KX0ku87dMgHRhmgjM3a8YrmJ/yxEsAA84SPOAtDC0tYJHOIzv
Ob+8BAC10ZZEpIYvqBMfmH+0e4I/7riBDowzVY4n7SAIbA/4qHo4lmzCBjJ7vpg6
0fSUbbEpdOrHKIQHTzGCeFWLdxxNzXedQh/tZYYACYPkpFxiVyi8bZqsDrbBiRku
rDogLDM5uwF61fCJ1k/x7IlxeL3jORJygLqbjqK+qfUFE7mxWLQwUGF5bWVudHNH
YXRld2F5IDxQcm9jZXNzaW5nQFBheW1lbnRzR2F0ZXdheS5uZX Q+iQBOBBARAgAO
BQI501rYBAsDAgECGQEACgkQUaPpPpkZVFzGHACcCA8ZypVyeW iZnmFovsOVa+gc
YrUAn1HmqQhPiVlKFO9Wo6Wmv76GcOQQuQINBDnTWtgQCAD2Ql e3CH8IF3Kiutap
QvMF6PlTETlPtvFuuUs4INoBp1ajFOmPQFXz0AfGy0OplK33TG SGSfgMg71l6RfU
odNQ+PVZX9x2Uk89PY3bzpnhV5JZzf24rnRPxfx2vIPFRzBhzn zJZv8V+bv9kV7H
AarTW56NoKVyOtQa8L9GAFgr5fSI/VhOSdvNILSd5JEHNmszbDgNRR0PfIizHHxb
LY7288kjwEPwpVsYjY67VYy4XTjTNP18F1dDox0YbN4zISy1Kv 884bEpQBgRjXyE
pwpy1obEAxnIByl6ypUM2Zafq9AKUJsCRtMIPWakXUGfnHy9iU siGSa6q6Jew1Xp
Mgs7AAICB/4qadF3lHmqtLlAci1FXs4TRTKRCHOVvZJ1tVOFcIv58bdQSFB0 yYxu
zu5bINDc9FJmeHo/AyVO1c+ureVp8cYcjqbu/v77yBLQegNalEvkiQw5vbHqE637
VnbFgDztw9vQ6JBEHl3iYcfy14hc09QwtxMo7jYa2204jokZG5 1+ZfeMICeijZjf
yNPAIU3jWsUfBOgPWBtTR8xNbvyCoJjWRX/dvl70mcPCXomyN/r5EgfJtOB75VM6
OJ5U79bCdHIWhPnIZ+C5lxo7wsKbmkezTxUfMknD+K/lYyexVg7cczrCwUBUjrDw
MdKn4uTozixpB/2zoLpd/il/GHaggzaxiQBGBBgRAgAGBQI501rYAAoJEFGj6T6Z
GVRcowUAoKXG5vrlZec+4R/JdqXTTfHOFLWwAJ9XWtTpbTdbeTEyT7SQ1ItpULNp
4A==
=bA9r
-----END PGP PUBLIC KEY BLOCK-----
Yes, you can send debits and credits in the same file for both NACHA type files and our file specification v3.0 or greater.
Viewing files from the FTP server requires a zip application, preferably WinZip, which you can download for free here. Once you've downloaded the file, change the name of the extension to .zip. Double click on the file and the WinZip dialog will display. Enter the processing password listed on your welcome letter and view the now readable file.
Refer to the Batch Transmission File Specification and the sample files for help building and sending transaction files. The following methods can be used to deliver your batch transmission file(s) to Forte:
This issue can be caused by improper file name format. Make sure that the file is named properly according to the Batch Transmission File Specification.
javax.net.ssl.SSLHandshakeException:sun.security.v alidator.ValidatorException: No trusted certificate found
. What's going on?
The cause of this issue may be from the Class 3 and Class 2 Verisign PCA root certificate included in various releases of the SDK and JRE that expired on January 7, 2004. To solve this issue, import the Verisign Class 3 and Class 2 PCA root certificates into the J2SE certificates file (<java-home>/lib/security/cacerts):
For more detailed instructions, click here.
To process a transaction between two clients, two transaction messages must be submitted in either of the following scenarios:
When you have composed AGI transaction messages you wish to enter into the Forte system, you will need system sign-on credentials. This consists of a Merchant ID and a processing password that should have been included in the new merchant's approval letter or package. To resolve any Merchant ID and password issues, please contact our Customer Service Department at 800-337-3060 x1 or [email protected].
Use the following test plan in the sandbox environment with AGI/SPOT messaging:
If the final response is positive, UNK
, or the account is not found, the transaction will be approved. If the final response has negative reports, the transaction will be declined. Transactions with a UNK
response cannot be declined. If you do decline transactions with a UNK
response, you run the risk of being able to use Check Verification.
Use the following AVS testing data in the Sandbox testing environment only. AVS testing in the Sandbox environment can only simulate the following results:
Y
= Match: Street Address and 5-digit Zip Code both matchN
= No Match: Street Address, 5-digit Zip Code, and 9-digit Zip Code all do not match.CVV testing in the Sandbox environment can only simulate the following following results:
M
= MatchN
= No MatchCredit Cardaccount_number
|
authorization_amount
|
sales_tax_amount
|
AVS/CVV Result
( avs_result , cvv_result ) |
4111111111111111 | 0 | 0 | N, N |
4111111111112101 | 0 | 0 | N, N |
4111111111111111 | 1 | 1 | Y, M |
4111111111112101 | 1 | 1 | Y, M |
4012888888881881 | 1 | 1 | Y, M |
4012888888881881 | 0 | 0 | N, N |
4003030000000006 | 1 | 1 | Y, M |
4003030000000006 | 0 | 0 | Y, M |
Typically, the merchant includes the service fee in the transaction by specifying the service_fee
field and including the amount of the service fee in the total amount of the transaction, or the authorization_amount
field. For example, if a taxi company charges a $100 fare with a $3.00 service fee, the transaction request would include the following parameters:
{
"service_fee":3.00,
"authorization_amount":103.00
}
NOTE: Forte must configure a location to allow service fees.
Merchants using the 3DCart integrated shopping cart with Secure Web Pay should configure SWP with the following permissions:
Permission/Field | Value | Location |
Accept Unsigned Transactions? | Yes | Virtual Terminal > GatewaySettings menu > SecureWebPay option > Main tab > select MERCHANT > Settings section |
Return Page | https://yourdomain.3dcartstores.com/paymentreceive.asp?gw=paymentsgatewayswp | Virtual Terminal > Gateway Settings menu > Secure Web Pay option > Main tab > select MERCHANT > Settings section > click +/- to expand or collapse return page collection (any empty return page may be used) |
Consumer Order ID |
Complete the following fields:
NOTE: Click the Update button to save your changes before navigating to a different tab category. |
Where: VirtualTerminal > GatewaySettings menu > SecureWebPay option > FieldSettings tab > select MERCHANT> Merchant Defined Fields section > check the Show Legacy Settings option |
When troubleshooting signed SWP request messages, forward the following elements (with sensitive values like account numbers and passwords masked) to [email protected] along with a description of the issue for review:
Element | Example |
Exact URL where you're sending the SWP request message | SWP-Redirect URL: https://sandbox.paymentsgateway.net/SWP/Redirect/default.aspx |
Exact SWP request message you're sending to the URL referenced above |
SWP-Redirect Request message (example with sensitive data replaced):
|
Exact message string you're encrypting using an HMACMD5-compatible algorithm | SWP-Redirect message string to encrypt using HMACMD5(..) : "r2A8X5V2fj|10,20|2.0|1.00-5.00|634444442150000000|237938||insert||insert" |
Merchant ID | Merchant ID (example): 123456 |
External IP address of server submitting the SWP request message | External IP address of server submitting the SWP-Redirect request message (example): 10.100.11.101 |
Exact SWP response message when your experienced the difficulties | SWP-Redirect Response message (example):
|
Secure Web Pay Checkout request parameters may be passed in the browser as part of the URL string:
Live:
https://swp.paymentsgateway.net/co/default.aspx?request_parameter_1=value&request_parameter_2=value&......&request_parameter_xx=value
Sandbox:
https://sandbox.paymentsgateway.net/swp/co/default.aspx?request_parameter_1=value&request_parameter_2=value&......&request_parameter_xx=value
Most Popular Usage Examples:
https://swp.paymentsgateway.net/co/default.aspx?pg_api_login_id=abcdefgh
(live)
https://sandbox.paymentsgateway.net/swp/co/default.aspx?pg_api_login_id=ijklmnop
sandbox)
The wsdl below is generated in the ObjectFactory class:
createTransactionResponse(TransactionResponse), for complexType Transaction, element Response (Line 122),
createTransactionResponse(TransactionResponse), for complexType TransactionResponse (Line 172)
These two methods have a name conflict. As a workaround, use a JXB file to change the name of the complexType "Transaction" to "Trans" in the JXB file as shown below and save it (e.g., cust.xjb). To import the file, use the following command:
wsimport -s . -b cust.xjb https://sandbox.paymentsgateway.net/WS/Transaction.wsdl
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<jaxb:bindings version="2.0" xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc" xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<jaxb:bindings schemaLocation="https://sandbox.paymentsgateway.net/WS/Transaction.wsdl#types?schema1" node="/xs:schema">
<jaxb:bindings node="//xs:complexType[@name='Transaction']">
<jaxb:class name="Trans"/>
</jaxb:bindings>
</jaxb:bindings>
</jaxb:bindings>
You can arrange for clients to be returned to a custom page after a transaction in one of the following two ways:
pg_continue_url
: After any payment has been completed Pass
or Fail
, Forte will direct the client to this URL after he/she clicks the Continue button. If the merchant has specified a valid return URL, this field is ignored.
<html>
<form method='post' action= 'https://swp.paymentsgateway.net/default.aspx'>
<table cellSpacing='0' cellPadding='0' border='0'><tr><td align='right' width='300'></td>
<td align='left' width='200'><input type='hidden' name='pg_api_login_id' value='b743eomgg5'/></td>
</tr><tr><td align='right' width='300'></td>
<td align='left' width='200'><input type='hidden' name='pg_continue_url' value='http://www.somewebsite.com/page.aspx'/></td>
</tr><tr><td align='right' width='300'></td>
<td align='left' width='200'><INPUT TYPE=SUBMIT value='Pay Now'>
<br>
</td>
</tr>
</table>
</form>
</html>
pg_return_url
: This is the page Forte will return the customer to after a transaction has completed. This page should contain a server-side script to parse the data being posted to it; however, it can be a static HTML page as well. If this field is not set or is invalid, the entire transaction is done on the Payments Gateway. In order to be a valid return url, the value sent must match at least one of the values in the Virtual Terminal.
<html>
<form method='post' action= 'https://swp.paymentsgateway.net/default.aspx'>
<table cellSpacing='0' cellPadding='0' border='0'><tr><td align='right' width='300'></td>
<td align='left' width='200'><input type='hidden' name='pg_api_login_id' value='b743eomgg5'/></td>
</tr><tr><td align='right' width='300'></td>
<td align='left' width='200'><input type='hidden' name='pg_return_url' value='http://www.somewebsite.com/page.aspx'/></td>
</tr><tr><td align='right' width='300'></td>
<td align='left' width='200'><INPUT TYPE=SUBMIT value='Pay Now'>
<br>
</td>
</tr>
</table>
</form>
</html>
When debugging an application using web services, it's useful to look to the SOAP XML that is transmitting the request and response messages. A tool such as HTTP Analyzer (or a tool that you may already have in your library) can be used to view request and response messages. For your reference, the messages are encapsulated between <s:Envelop
... ...</s:Envelop>
tags.
If additional troubleshooting is required, forward the messages (with sensitive field value masked) to [email protected] along with your merchant ID and a description of the issue.