CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Help Needed For New Payment Processor For ICICI Bank Payement Gateway
Pages: [1]

Author Topic: Help Needed For New Payment Processor For ICICI Bank Payement Gateway  (Read 6112 times)

robezy

  • Guest
Help Needed For New Payment Processor For ICICI Bank Payement Gateway
February 26, 2009, 12:25:45 am
Hi,

 I am trying to implement a new payment processor for ICICI bank payment gateway.

The payment gateway works  this way.

 When the user/customer is ready to  make the payment, he/she is redirected to a page in the payment gateway server where the credit card information is entered. When the payment is done, a response(success/failure etc.) is sent from the payment gateway server,

When we redirect the user to payment gateway server, we need to specify where the user should  be redirected after transaction.

From what i read from this page http://wiki.civicrm.org/confluence/display/CRMDOC/Creating+Additional+Payment+Processor+Plugins, i think i need to use button billing method. Am i correct?.
 
I  am also confused about the functions i need to use. Is  setExpressCheckout/getExpressCheckoutDetails/doExpressCheckout functions  useful for paypal like payment gateway only.

could some please tell me what these functions do ??

And how do  i  redirect  the user  to payment gateway server(in which function??).  how can i capture the response(which function??).

 :( :(

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Help Needed For New Payment Processor For ICICI Bank Payement Gateway
February 26, 2009, 06:28:01 am

the below seems more like paypal standard / google checkout (notify method). So use those payment processors as a sample

the button method is a very paypal centric method (IMO)

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

robezy

  • Guest
Re: Help Needed For New Payment Processor For ICICI Bank Payement Gateway
February 26, 2009, 06:52:31 am
Thanks for the reply..  :)
 
 
 


 

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Help Needed For New Payment Processor For ICICI Bank Payement Gateway
February 26, 2009, 10:36:08 am
PaymentExpress is a good starting point for basing this on
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

robezy

  • Guest
Re: Help Needed For New Payment Processor For ICICI Bank Payement Gateway
February 26, 2009, 11:02:02 pm
Ohh..

 then i think this node will be useful for me..
 
  http://forum.civicrm.org/index.php/topic,6212.0.html

Quote from: Eileen on February 26, 2009, 10:36:08 am
PaymentExpress is a good starting point for basing this on

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Help Needed For New Payment Processor For ICICI Bank Payement Gateway
February 27, 2009, 12:57:37 am
Feel free to PM me directly if you want help. Also, please consider contributing the finished code back to civiCRM
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

robezy

  • Guest
Re: Help Needed For New Payment Processor For ICICI Bank Payement Gateway
February 27, 2009, 03:06:33 am
Quote from: Eileen on February 27, 2009, 12:57:37 am
Feel free to PM me directly if you want help. Also, please consider contributing the finished code back to civiCRM

 Thanks For the offer.. I wil definitely contribute it once i finish it...

robezy

  • Guest
Re: Help Needed For New Payment Processor For ICICI Bank Payement Gateway
February 27, 2009, 06:52:06 am
hi...
 i need a little help ... 

  i modified the templates/CRM/Contribute/Form/Contribution/Confirm.tpl:  to  display ICICI payment processor option.. everything is fine except for the chekout button image... do i need to edit some other template to display the image. the button image url is already entered in the payment  processor  setting..

... intially i was trying with button billing mode... the image was dispalyed then...

n i don't remeber editing any other files... wht could the reason....

any ideas??

thanks with regard

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re Help Needed For New Payment Processor For ICICI Bank Payement Gateway
February 27, 2009, 09:40:08 am
You are correct - only button mode shows a button. Button mode uses doExpressCheckout function
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

robezy

  • Guest
Re: Help Needed For New Payment Processor For ICICI Bank Payement Gateway
March 02, 2009, 05:46:35 am
hi,

  my payment gateway needs a url to be specified where the payment gateway will post the result of the reponse .. for this url  should i specify the ipn.php url??

wht does ipn do exactly... where can  i find info regarding this??

thanks....

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Help Needed For New Payment Processor For ICICI Bank Payement Gateway
March 02, 2009, 02:49:02 pm

IPN == the callback that the processor calls to let u know what happened with the payment

you will need to create a new ipn.php file (iciciIPN.php) and model it after paypal / google / payment express. tell the icici gateway to call this script on "completion" of a payment

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

robezy

  • Guest
Re: Help Needed For New Payment Processor For ICICI Bank Payement Gateway
March 20, 2009, 01:34:19 am
Hi,
 after getting a successful transaction reply from payment processor what all  tables i need to modify. which function i should use. i'm using notify method.

Also, what are DAO & BAO ?

thank you,

robert george

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Help Needed For New Payment Processor For ICICI Bank Payement Gateway
March 20, 2009, 03:19:03 am
Base it on the function starting on line 91 of PaymentExpressIPN.php


   function newOrderNotify( $success, $privateData, $component,$amount,$transactionReference )

$success = outcome
$privateData is an array of other data returned from the processor
$component should be event or contribute
$amount
$transactionReference = some unique transaction

The tricky thing with the notify method is that you need to get the processor to pass you back enough information to completely identify the transaction - you'll see the list of IDs are ones that are passed through to PaymentExpress & then passed back again

 
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

robezy

  • Guest
Re: Help Needed For New Payment Processor For ICICI Bank Payement Gateway
March 20, 2009, 03:28:53 am
Hi,

thanks for reply. But i'm little confused about the payment express. I am using civicrm 2.0.0. Under /CRM/Core/Payment directory i see following files.

AuthorizeNet.php  BaseIPN.php  Dummy.php  Form.php  GoogleIPN.php  Google.php  IATS.php   Moneris.php  PayJunction.php  PayPalImpl.php  PayPalIPN.php

which one is paymentExpress implementation.??

am i missing it in my installation??
 ???
thanks,

robert george
Quote from: Eileen on March 20, 2009, 03:19:03 am
Base it on the function starting on line 91 of PaymentExpressIPN.php


   function newOrderNotify( $success, $privateData, $component,$amount,$transactionReference )

$success = outcome
$privateData is an array of other data returned from the processor
$component should be event or contribute
$amount
$transactionReference = some unique transaction

The tricky thing with the notify method is that you need to get the processor to pass you back enough information to completely identify the transaction - you'll see the list of IDs are ones that are passed through to PaymentExpress & then passed back again

 

robezy

  • Guest
Re: Help Needed For New Payment Processor For ICICI Bank Payement Gateway
March 20, 2009, 06:47:00 am
Hi i downloaded the paymentExpress code  from the following link

http://issues.civicrm.org/jira/browse/CRM-3428

i ll take a look at it and try to finish my work

thanks

robert george :)

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Help Needed For New Payment Processor For ICICI Bank Payement Gateway

This forum was archived on 2017-11-26.