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) »
  • Valid credit cards for payment processor
Pages: [1]

Author Topic: Valid credit cards for payment processor  (Read 1004 times)

Uros

  • I’m new here
  • *
  • Posts: 2
  • Karma: 0
  • CiviCRM version: 4.1.5
  • CMS version: Joomla, Wordpress
  • MySQL version: 5.5
  • PHP version: 5.3
Valid credit cards for payment processor
March 05, 2013, 02:23:14 am
Hi,

I'm working on Paymill payment processor, and came around one dilemma.

We will use Paymill for Visa/Matercard credit card types and another processor for Diners type.

In CiviCrm I can set valid credit card types, but as I understand this is valid for all payment processors. Now I'm looking for the way to set valid credit cards only for one payment processor.


Uros

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: Valid credit cards for payment processor
March 05, 2013, 09:08:36 am

You will need to extend the schema for this and/or do this via jQuery

for the short term i would do it via jQuery and hide the non-relevant options based on the PP selected

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

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Valid credit cards for payment processor
March 05, 2013, 09:24:04 am
Quote from: utement on March 05, 2013, 02:23:14 am
Hi,

I'm working on Paymill payment processor, and came around one dilemma.


Cool. Do you plan to release it under the (a)gpl? Got an eta?

Was discussing it with a user this morning, seems that it's a not too expensive alternative to paypal.

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Uros

  • I’m new here
  • *
  • Posts: 2
  • Karma: 0
  • CiviCRM version: 4.1.5
  • CMS version: Joomla, Wordpress
  • MySQL version: 5.5
  • PHP version: 5.3
Re: Valid credit cards for payment processor
March 05, 2013, 10:35:46 am
Quote from: Donald Lobo on March 05, 2013, 09:08:36 am

You will need to extend the schema for this and/or do this via jQuery

for the short term i would do it via jQuery and hide the non-relevant options based on the PP selected

lobo

Thank you for your replay. I'm very new in CiviCrm development, and I'm struggling with all kind ob beginner questions and dilemmas. I'm doing this project based on Stripe payment processor, and so far I'm doing quite good. But can you help me a bit more, maybe point me to some documentation or examples? Or maybe you can provide some more tips.

Yes, I'm also planing to release this project to community. I hope it will be in useful state soon, but I cant't asses eta yet.

Uros

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Valid credit cards for payment processor
March 05, 2013, 10:40:57 am
See

http://civicrm.org/blogs/hershel/how-customize-civicrm-pages-jquery
http://civicrm.org/blogs/dave-greenberg/now-its-easier-add-custom-behaviors-templates

http://book.civicrm.org/developer/current/techniques/templates/

to get started.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Valid credit cards for payment processor
March 06, 2013, 12:49:58 am
Hi,

You might as well look at the stripe extension, paymill seems to have a similar approach :
http://civicrm.org/extensions/stripe-payment-processor

And may I take this opportunity to mention a developer training in belgium we organise on the 27 and 28?
http://civicrm.org/civicrm/event/info?reset=1&id=287

Might help you finding your way faster in civi code and how to write extensions

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Valid credit cards for payment processor

This forum was archived on 2017-11-26.