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) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • How to create a contribution manually
Pages: [1]

Author Topic: How to create a contribution manually  (Read 289 times)

ashok

  • I’m new here
  • *
  • Posts: 28
  • Karma: 0
  • CiviCRM version: 4.3.3
  • CMS version: Drupal 7
  • MySQL version: 5.5.24
  • PHP version: 5.3.10
How to create a contribution manually
February 10, 2014, 03:37:14 am
Hi,
I am integrating a payment gateway called Juspay (For any queries related to Juspay refer to https://docs.juspay.in) on a site. The functionality of this gateway is such that we have to completely bypass the submit handler (which gets called when user clicks the CONTRIBUTE button on the donation confirmation page and I am forced to remove the CONTRIBUTE button).

This payment gateway gives me an iframe which collects credit / debit card details and it has a SUBMIT PAYMENT button, payment happens when this button is clicked (and it bypasses the submit handler which is called when CONTRIBUTE button on donation confirmation is clicked). But no contribution record is created in CiviCRM since no submit handler was called (my assumption).

The payment gateway hits the return_url once payment is done and gives me the order status and if it is successful I have to create a contribution Manually. My question here is "What all db queries need to be written in order for CiviCRM to record the contribution correctly?"

Or if anyone cares to study the Juspay payment gateway, any clue as to how to do the Iframe based integration with civicrm?

Hope my question is clear enough, any clues will be very very helpful.

Thanks,
Negi

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • How to create a contribution manually

This forum was archived on 2017-11-26.