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) »
  • Embed Contribution Form into Different Website
Pages: 1 [2]

Author Topic: Embed Contribution Form into Different Website  (Read 2843 times)

sougatab

  • I’m new here
  • *
  • Posts: 10
  • Karma: 0
  • CiviCRM version: 4.3
  • CMS version: Joomla 2.5
  • MySQL version: 5+
  • PHP version: 5.3
Re: Embed Contribution Form into Different Website
April 27, 2013, 02:23:19 am
Lobo,

That's definitely the long-term solution. We have discussed with Kurund and his team to help us with the payment processor.

However the current problem needs to be solved. We have tried multiple things, but still not getting a solution. Basically we need a simple HTML code (similar to the profile embed HTML snippet) that can create a contribution record. Is it possible to expand the contribution widget to collect fields (like donation amount, name and email) and store the information on CiviCRM via an AJAX post?

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: Embed Contribution Form into Different Website
April 27, 2013, 05:08:52 pm

It is possible, but u'll need to write the code to do so. I dont think it exists right now, but you should be able to use the CiviCRM API to store the necessary details

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

sougatab

  • I’m new here
  • *
  • Posts: 10
  • Karma: 0
  • CiviCRM version: 4.3
  • CMS version: Joomla 2.5
  • MySQL version: 5+
  • PHP version: 5.3
Re: Embed Contribution Form into Different Website
April 28, 2013, 03:29:39 am
Thanks Lobo. We will try the CiviCRM API. If any developer on this forum can help, please let me know.

When we work with Joomla + CiviCRM and place a profile form in another domain/hosting, we get a session error. Is there any documentation on how we can create a session for an user in another domain and hosting?

Pages: 1 [2]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Embed Contribution Form into Different Website

This forum was archived on 2017-11-26.