iTransact is a 20 year old, full
service payment processing company powered by the largest processors on the
planet servicing millions, while at the same time providing personal,
world-class customer support and assistance. iTransact’s end-to-end merchant
solutions include mobile, internet, as well as traditional retail services from
virtually any legitimate industry within the United States. Other offerings
include custom gateway services with access to a virtual terminal, recurring
billing, all types of equipment and point of sale solutions, Applepay, EMV,
electronic check and ACH services, and much more.
For more details click
here - http://itransact.com
In this tutorial we will
learn how to integrate PHP application with iTransact payment
gateway.
First, download gateway
library from here -
Name
|
Url
|
itransact/api_examples
|
Basic Requirements
Title
|
Description
|
Payment gateway login details
|
To control the payment gateway.
|
Api key and api username
|
These are the secret credentials to
integrate the payment gateway with php or other languages
|
Library files
|
The itransact provides php library
files.
|
A form to get the details from the customer
|
A form should be there to be filled
by the user if they want to make any trasaction with the details they filled.
|
Process to integrate
payment gateway with wordpress:
1. Create
a php file with a form to get the details from customers and for processing by
gateway.
2. User
will add his basic details, billing address details, card details and go for
submit.
3. Form
must be validated.
4. If
fields are filled means then credit card details would be strictly checked
whether user enters the test credit card details or any wrong card number or
card type.
5. By
getting the result valid or error from point
4, the gateway integration starts by including library files.
FOR EXAMPLE:
require_once(
get_template_directory() . '/paymentgateway/XMLRequest.php' );
require_once(
get_template_directory() . '/paymentgateway/XMLResponse.php' );
require_once(
get_template_directory() . '/paymentgateway/CardAuthRequest.php' );
6. Payment
gateway library checks whether the given entries are genuine or not and it
generates a xml and payload signature as a request.
$xml_request = new CardAuthRequest($fields);
$xml = $xml_request->toXML();
7. Send
the request xml generated from point 6 on https://secure.paymentclearing.com/cgi-bin/rc/xmltrans2.cgi using gateway
function.
$response =
$xml_request->submit("https://secure.paymentclearing.com/cgi-bin/rc/xmltrans2.cgi",
$xml);
This is the phase where
payment transaction occurs.
8. It
produces a flag/status which can have two values either it can be “ok” or
“error”. If it is “ok” means payment is successful else it is failed.
9. Based
on the result of transaction success page or error page can be set.
For
any queries gateway ticket submission url -
Yup, you are accurate Google is the most excellent in support of blogging, Google’s webpage also appear fast in search engines too.
ReplyDeleteCredit card merchant account
I found some useful information in your blog, it was awesome to read, thanks for sharing this great content to my vision, keep sharing..
ReplyDeleteOnline Payment Gateway Qatar
Thanks for sharing this blog. This blog is so informative for providing a valuable information about sms api php integration.
ReplyDeleteThanks for your interesting ideas.the information's in this blog is very much useful for me to improve my knowledge.More PHP Development Services in Chennai Web Data Extraction Services | Digital Payment Platform | Green Pen
ReplyDeleteI am definitely enjoying your website. You definitely have some great insight and great stories. 소액결제현금화
ReplyDeleteUSeful information for us :How to integrate sms api in wordpress
ReplyDelete