r101217 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r101216‎ | r101217 | r101218 >
Date:22:06, 28 October 2011
Author:kaldari
Status:ok
Tags:
Comment:
adding more cc options for globalcollect and fixing a typo
Modified paths:
  • /trunk/extensions/DonationInterface/globalcollect_gateway/globalcollect.adapter.php (modified) (history)

Diff [purge]

Index: trunk/extensions/DonationInterface/globalcollect_gateway/globalcollect.adapter.php
@@ -202,7 +202,7 @@
203203 // Credit Cards
204204 $this->payment_methods['cc'] = array(
205205 'label' => 'Credit Cards',
206 - 'types' => array( '', 'visa', 'mc', 'amex', 'discover', 'maestro', 'solo', 'laser', 'jcb,', 'cb', ),
 206+ 'types' => array( '', 'visa', 'mc', 'amex', 'discover', 'maestro', 'solo', 'laser', 'jcb', 'cb', ),
207207 );
208208
209209 // Direct Debit
@@ -630,9 +630,17 @@
631631
632632 $types = array(
633633 'visa' => '1',
 634+ 'american' => '2',
 635+ 'amex' => '2',
 636+ 'american express' => '2',
634637 'mastercard' => '3',
635 - 'american' => '2',
636 - 'discover' => '128'
 638+ 'mc' => '3',
 639+ 'maestro' => '117',
 640+ 'solo' => '118',
 641+ 'laser' => '124',
 642+ 'jcb' => '125',
 643+ 'discover' => '128',
 644+ 'cb' => '130',
637645 );
638646
639647 if ( $type === 'response' ) {

Follow-up revisions

RevisionCommit summaryAuthorDate
r101746MFT r101074, r101217, r101236, r101382, r101501, r101503, r101504, r101512, r...awjrichards23:23, 2 November 2011

Status & tagging log