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) »
  • Need both Credit Card & Debit Card Methods on same/single contribution page
Pages: [1]

Author Topic: Need both Credit Card & Debit Card Methods on same/single contribution page  (Read 738 times)

zafar

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
  • CiviCRM version: 4.1
  • CMS version: Drupal 7.12
  • MySQL version: 5.0.7
  • PHP version: 5.3.5
Need both Credit Card & Debit Card Methods on same/single contribution page
April 26, 2012, 01:04:13 am
Hi guys!
I need to enable both Credit & Debit Methods on same contribution page.
I Enable them both on same page and apply javascript to show one at a time.
When i submit the form of course the second form is empty and through an error of as required field.
What i want is to validate only the form which is enable.
Ie : If credit card is enable the payment processor should be CREDIT CARD.
       AND if Debit Card then of course it should be Debit Card.

http://waqar.parlawatch.com/civicrm/contribute/transact?reset=1&id=4&action=preview

How can i do this.Please guide me to the right path.
Where the validation/submitting is applying so i add my logic in it.
Thanks in advance. :)
Here is the link for the page : http://waqar.parlawatch.com/civicrm/contribute/transact?reset=1&id=4&action=preview 


« Last Edit: May 02, 2012, 11:57:29 pm by zafar »

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: Need both Credit Card & Debit Card Methods on same page contribution page
April 26, 2012, 06:39:47 am

There is a Make It Happen for this:

http://civicrm.org/participate/mih#processorchoice

We hope it will be part of 4.2. Please do contribute to this MIH and help make it happen!

Note that Civi does not support debit cards as of yet

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Need both Credit Card & Debit Card Methods on same/single contribution page

This forum was archived on 2017-11-26.