GithubHelp home page GithubHelp logo

global-iris's Introduction

global-iris

Integration of Global IRIS (HSBC) payment in PHP

Friday, March 6, 2015 Integration of Global IRIS (HSBC) payment

Integration the Global IRIS (HSBC) payment system into your website can be kinda daunting, however following below steps may make your life easier.

In fact, I have recently went through the process and thought would be helpful if you looking to work on it as well.

  • First of all, please ask to Global IRIS (GI) technical team to configure the Sandbox account and live account into their system with below detail. You can contact them via direct number +44 845 702 3344 (Option 6)* or email;

Developer documention can be found here, pdf here.., I have found the documentation is bit outdated, but please contact & confirm with them if necessary.

In fact, you have to ask them to provide below details (including login info) for both environment (sandbox and live):

Modes Live/Production Test(sandbox)
Action URL https://hpp.globaliris.com/pay https://hpp.sandbox.globaliris.com/pay
Merchant ID: - -
Secret hash string: - -
Account: internet internet
Below is the login detail to for HSBC reporting system
Reporting URL: https://reporting.globaliris.com/login https://reporting.sandbox.globaliris.com/login
Username: - -
Password: - -

Please ask all the - bits to GI Team.

Next steps would be to create the request form page, response page and confirmation page.

  • So, create request form to connect to Global IRIS payment system, sample code can be found here

  • Next, please create a response page somewhere on your project folder, I would suggest to create on root folder, e.g. create a page 'http://www.your_domain.com/hsbc_reponse.php' OR ''http://www.your_domain.com/payment/reponse'. Response page sample code can be found here

NOTE: It is require to pass the RESPONSE PAGE URL to GI team by contacting them when you are deploying the payment function. The response url is the page which will display after clicking "Pay Now".

  • After clicking "Pay Now", the GI will access the RESPONSE PAGE URL and display on the page ( in fact, the visible URL would be their URL), which means GI indirectly access our response page and display it from their end.

In my case, I have written the resonse function which retain their payment reponses and auto post to your provided return url through the auto form submission script.

  • At last, you can access GI payment responses on $_POST variables from the provided return_url, where you can verify the payment and update your database/system accordingly.

In fact, the return_url can be passed via request from with MERCHANT_RESPONSE_URL parameter ( but do not include http://www.your_domain.com) while submitting the payment request form.

Please refer here to find a sample code to verify and confirm the payment.

global-iris's People

Contributors

rcadhikari avatar

Stargazers

Script avatar Kamil Dąbrowski avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.